jsessionid appended to URL and page not found` 2007-02-07 - By Joe Germuska
Back What is handling the basic HTTP service for your application? If it is not a servlet container, but rather an HTTP server which proxies certain requests to a servlet container, then there is probably just a configuration problem.
The scenario you describe is standard. A Servlet Container (or maybe it's the JSP engine) is supposed to encode the session ID in URLs unless it knows that the client accepts cookies, which it can only know if the client already presented a cookie with a session ID in it (as on reload or later clicks through the application.)
If you don't have an HTTP proxy in the middle, then what servlet container are you using? I do local development with Tomcat and have for years with it being the HTTP server, and have never had this problem.
joe
On 2/7/07, Vinod Kumar <vkmatri@(protected)> wrote: > > Hi All, > I have a link to a struts web application in one of > existing website like start.jsp?cntry_cd=US > > start.jsp is in struts application and contains the > following line > <jsp:forward page="/setup.do" /> > > setup action does some pre-setup stuff and forwards to > home page. The home page displays well with all > navigation links. But, when I click on any of the > navigation links (which are actions and their URL > looks like status.do;jsession=jfdkfdkfdk ..jsessionid > appened only initially ) , I get error message that > page cannot be found. > > If before clicking on any of the links, I do refresh > on the home page and then click on any links, then it > works fine. > > My question is, why it cannot find actions, when > jsessionid is appended to URL. What can i do to fix > this issue. > > Thanks for your help. > > Vinod > > > > > > __ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ __ ____ > Don't pick lemons. > See all the new 2007 cars at Yahoo! Autos. > http://autos.yahoo.com/new_cars.html > > -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ > To unsubscribe, e-mail: user-unsubscribe@(protected) > For additional commands, e-mail: user-help@(protected) > >
-- Joe Germuska Joe@(protected) * http://blog.germuska.com
"The truth is that we learned from Jo?o forever to be out of tune." -- Caetano Veloso
|
|