Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

sessions problem..urgent..

 
prasad bhn
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all
i am accessing servlets/jsp files in Netscape 4.61. i disabled cookies in the browser.
my servlets/jsp files are not working.
i read that when cookies are disabled, server will fall back to URL Rewriting...
i am using Tomcat 4.0.1. whats wrong??
thanks a lot for ur help.
prasad.
[ July 25, 2003: Message edited by: prasad bhn ]
 
bharat nagpal
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't think Server will take care of URLRewriting. you will have to check this thing in your code only.
Is it working fine if cookies are enabled?
 
Ron Newman
Ranch Hand
Posts: 1056
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
URL rewriting will only work if you take care to make it work in all of your code.
In a JSP, use the JSTL <c:url> tag to create all URLs.
In a Servlet, use response.encodeURL() to create all URLs.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic