struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tomi21 <>
Subject Re: Struts2 2.0.11 problem with url and parameters
Date Thu, 27 Nov 2008 10:58:04 GMT

I know, but I did it just in case I found something out.
In my previous example the println it is being execute but the value of test
is NULL.In other words, the action gets executed but the parameter is not

Now, as you said in your post, I've changed the link to:
http://localhost:8888/TestWeb/Test.action?test=something CLICK ON 
But I'm obtaining the same result: the actions gets executed but the
parameters is not set.
Of course I've configured again the default interceptors.

I've also tried taking out .action extension but with the same result.


newton.dave wrote:
> --- On Wed, 11/26/08, Tomi21 <> wrote:
>> What I've done next is changing 'struts.xml' so
>> there are no interceptors configured.
>> The packagedoes not extend struts-default anymore.
>> The action is still being executed but the parameter is not
>> being set anyway.:(
> Well that's hardly surprising, it's an interceptor that sets parameters.
> On your previous example the test println isn't even being executed, so
> there's something else wrong, no? What if you use the url tag's "action"
> attribute w/o the ".action" extension? Is the link rendering properly?
> In general we don't use the <s:a...> tag for non-Ajax URLs, too--what if
> you use a plain HTML <a...> tag with the generated URL?
> Dave
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

View this message in context:
Sent from the Struts - User mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message