This week's book giveaway is in the General Computing forum. We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line! See this thread for details.
I have used tuckey urlrewrite for my web application which is working fine on my local system but when I upload files into the server I get a jsessionid appended to my url and it is displaying as page not found.
Once I manually remove the jsessionid from the address bar it is then displaying my webpages. This is happening only for the first time when I enter the URL in a browser. How do I remove the jsessionid that is getting appended to my url.
This is happening only for the first time when I enter the URL in a browser.
That's because cookies are enabled for the browsers & it (app-server, is it tomcat?) uses cookies when it is sure that cookies are enabled (it can only know cookies are enabled for certain, if it put the jsessionid in the URL for the first request). The jsessionid only goes in if you enable URLRewriting in the code (happens automatically in most frameworks)