I don't have answers to your specific questions, but I did do a similar
migration recently. I encountered one fairly significant hidden issue that
I'll warn you about. When you migrate, you can leave your xml on the
xworks dtds. It works, but as you migrate up the struts2 versions, there's
a poi
> So, it seems like the RestActionMapper needs to be injected with the
> > struts.rest.namespace so it can be knowledgeable aobut this when building
> > the actionmapping namespace . . .
>
> But I thin it's rather how you name your action packages:
> - com.demo.action.rest.RestAction
> - com.demo.a
> So, I can't get this to work when using with convention/rest plugin
> > combination. I did NOT try to use it with a xml/rest plugin combo.
>
> You can combine convention/xml/rest together - in struts.xml you can
> define constants or even a new stack which is simpler than use
> annotations
>
Ye
Did you try to use the new REST plugin without Convention plugin ?
> REST plugin can work with XML based configuration as well and it has
> support for namespace prefix - struts.rest.namespace
So, I can't get this to work when using with convention/rest plugin
combination. I did NOT try to use i
On Mon, Dec 10, 2012 at 9:30 AM, Lukasz Lenart wrote:
> > I'm adding the convention/rest plugin combo to our existing app right
> now.
> > It's not well documented, but I think it's going to work out. I'll
> write
> > up a blog entry and post it to the list when I'm finished with my spikes.
>
>
On Sun, Dec 9, 2012 at 6:09 AM, Antonios Gkogkakis wrote:
> another issue, was that every time we had a non REST action
> being called. the RestActionMapper, would find it in the configuration and
> would treat it as a rest action with no method, so it would try to guess
> the method and fail be
On Sun, Dec 9, 2012 at 3:24 AM, Antonios Gkogkakis wrote:
> Had we wanted to use the more modern REST plugin, we would have to refactor
> the app to use the convention plugin. I'm not sure whether
> that's a straightforward task, but back then we encountered a few issues
> and gave up.
>
I'm ad
There are (from 2.3):
>
> 79:dtdMappings.put("-//Apache Software Foundation//DTD Struts
> Configuration 2.0//EN", "struts-2.0.dtd");
> 80:dtdMappings.put("-//Apache Software Foundation//DTD Struts
> Configuration 2.1//EN", "struts-2.1.dtd");
> 81:dtdMappings.put("-//Apache S
Why aren't there mappings for the struts-xxx.dtd's?
On Mon, Dec 3, 2012 at 1:20 AM, Lukasz Lenart wrote:
> 2012/12/1 ChadDavis :
> > Thanks Lukasz. This is very useful information. I think this clearly
> fixes
> > my problem, but I still have some questions.
> &
So, it seems like this should be added to the wiki on the webworks to
struts 2 migration page . . . I'm more than willing to do provide the text.
what do you think?
On Mon, Dec 3, 2012 at 1:20 AM, Lukasz Lenart wrote:
> 2012/12/1 ChadDavis :
> > Thanks Lukasz. This is very usef
Thanks!
On Mon, Dec 3, 2012 at 1:20 AM, Lukasz Lenart wrote:
> 2012/12/1 ChadDavis :
> > Thanks Lukasz. This is very useful information. I think this clearly
> fixes
> > my problem, but I still have some questions.
> >
> > 1) when was xwork moved to ASF?
>
&
> > But what do you think needs to match the jar file? I mean,
> struts2-core.jar doesn't contain xwork-1.1.1.dtd, but the xwork jar does .
> . . so why wouldn't it find it if it was just taking the xwork-1.1.1.dtd
> and checking the classpath.
>
> When XWork was moved to ASF, we changed all the D
Found a minor bug in the docs that is kind of troublesome on the user,
but easy to fix I'm sure . . .
http://struts.apache.org/2.3.4/docs/convention-plugin.html#ConventionPlugin-Introduction
The convention plugin points to an older version, which is actually
not compatible with the 2.3.4 struts
On Thu, Mar 19, 2009 at 11:12 AM, Wes Wannemacher wrote:
> In theory, an app should work on any app server, but from time to time
> I've found out about incompatibilities the hard way. For instance,
Similarly, I found incompatibility in JSP parsers in the past. My
issue was moving from TC to Web
I'd be more than happy to fix this kind of thing. How would I do that?
On Mon, Mar 2, 2009 at 2:17 PM, Musachy Barroso wrote:
> That should be "default.properties"
>
> On Mon, Mar 2, 2009 at 4:14 PM, ChadDavis wrote:
>> On the page that explains the struts.prop
On the page that explains the struts.properties, the documentation says:
" the list of properties can be found in struts-default.properties
(inside struts2.jar). "
Shouldn't that just be "default.properties" or is there another
properties file called "struts-default.properties"?
Is there one of these for 2.1 yet? When I follow the links I end up
at a 2.0.11 version. I'm just wondering if the docs are behind or
this just isn't available yet.
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
Fo
> Its good to hear... Is there any possibility of getting video of the session
> or the presentations.. this will be useful for the developers who are not
> able to come to the conference, at least for the developers in other
> countries...
They don't publish the trainings like that. I'm not sure
You want this one:
http://www.imdb.com/title/tt0042546/
On Thu, Feb 5, 2009 at 3:14 PM, Musachy Barroso wrote:
> Ah, now you made curious...
>
> musachy
>
> On Thu, Feb 5, 2009 at 5:13 PM, David C. Hicks wrote:
>>
>> ChadDavis wrote:
>>>
>>> &quo
case the path was actually hard-coded in a JSP. Ugh! We also had
> not provided a namespace for our struts package, and so apparently it was
> defaulting to the package name. Just little details that get left until the
> last minute.
>
> ChadDavis wrote:
>>>
>>> 2)
> 2) Is it possible to not have to have the base path defined in Struts at
> all? It seems to me that this would be the ideal solution.
If you deploy the app as the root app in the servlet container, then
your struts namespaces are essentially doing this. I think the net
effect is what you are
Custom tag? Is this a custom JSP tag?
On Thu, Feb 5, 2009 at 2:21 AM, Dominik Fischer wrote:
> Hello folks,
>
> how can i access a property (i.e. data) of a class like
>
> public class BabyAction extends ActionSupport implements RequestAware {
>private List data;
>
>public Li
Hello. I'm Chad Davis, one of the authors of Struts 2 in Action.
I'll be teaching a one day training on Struts 2 Ajax at the ApacheCon
Europe ( http://eu.apachecon.com/c/aceu2009/ ). This course will work
for Struts 2 newbies as well as Struts 2 developers wanting to see how
the framework plays
23 matches
Mail list logo