Maybe it's something wrong with your runtime environment. Try setting your project up on a different fresh app server (or maybe try the maven jetty plugin) and see if you get the same behaviour there.
Nils-H On Thu, Nov 27, 2008 at 11:58 AM, Tomi21 <[EMAIL PROTECTED]> wrote: > > 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 > set. > > 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. > > Thanks!!. > > > newton.dave wrote: >> >> --- On Wed, 11/26/08, Tomi21 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> >> > > -- > View this message in context: > http://www.nabble.com/Struts2-2.0.11-problem-with-url-and-parameters-tp20577582p20717192.html > Sent from the Struts - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]