I have just tested this and don't see the difference with/without <default-action-ref/> - maybe a browser is cheating you?
on FF and Ch is the same <form id="testform" name="testform" action="/formtest/TestPage.action?field1=111&amp;field2=222" method="post"> Regards -- Ćukasz + 48 606 323 122 http://www.lenart.org.pl/ 2014/1/19 [email protected] <[email protected]>: > Appreciate the responses but perhaps I wasn't clear. > > What I'm trying to research is why if using a default-action-ref statement > in struts.xml the query string parameters and values are included in the > form action attribute (although with an incorrectly encoded &) but if no > default-action-ref statement is in struts.xml then no query string > parameters and values are included (e.g. action="TestPage.action"). > > I've studied ServletUrlRenderer and DefaultUrlHelper but cannot figure it > out. > > Bruce > > > > -- > View this message in context: > http://struts.1045723.n5.nabble.com/Possible-Bug-When-Using-default-action-ref-tp5715093p5715103.html > Sent from the Struts - Dev 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]
