struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Omkar Patil <ospa...@gmail.com>
Subject Re: Not finding action because of jsessionid
Date Tue, 20 Nov 2007 06:54:12 GMT

There is an issue for it already logged in JIRA(WW-2328) and the fix version
is 2.1.1
So, you can expect the solution sooner.

-Omkar


Vineeth Varghese-2 wrote:
> 
> Hi Folks,
> 
> I am facing this odd issue with Struts2.0.9 on jetty. I specify a form
> using
> the s:form tag like:-
> <s:form action="addOfferPackage" method="POST">
> 
> but when the html get render what i get is :-
> <form id="addOfferPackage" name="addOfferPackage" onsubmit="return true;"
> action="/addOfferPackage.action;jsessionid=1tblvfupwshge" method="POST">
> 
> This happens only on the first page so I guess whats happening is when my
> browser makes a request the first time the server can't figure whether I
> support cookies or not. So it will go ahead and attach session id via url
> rewriting but after the first page once my browser starts sending things
> via
> cookies I am fine. But the problem is the action url with the jsessionid
> doesn't match to an action I have. For eg I have a action addOfferPackage
> but the url generated has the jsessionid attached to it, so I keep getting
> action not found errors. I have seen many people talk about this issue on
> the mailing list but didn't see any solutions. How do I resolve this
> issue?.
> Is there a configuration where I can disable this behavior.  Shouldn't
> Struts code handle this without me being aware of these aspects (in say (
> DefaultActionMapper.java)?.
> 
> 
> Thanks,
> Vineeth.
> 
> 

-- 
View this message in context: http://www.nabble.com/Not-finding-action-because-of-jsessionid-tf4838564.html#a13851792
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message