Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

URL rewriting for the links

 
sreenath reddy
Ranch Hand
Posts: 415
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I have my webapplication which is running on tomcat ....and as of now i havent encoded any of my links in the web application ...they are like
<a href='/action.do?id=1'></a>

Is it my duty to keep all the URLs encoded so that if the client diables the browser this would be helpful ??

Currently then if a client disables the cookies my application should not work properly right ??

Can any one enlighten this
 
Adrian Enns
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm not sure I understand the question. I take it you're asking whether or not it is your responsibility to rewrite URLs should cookies not be enabled by someone's browser?
 
sreenath reddy
Ranch Hand
Posts: 415
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi adrian

Exactly .....u got my problem .Now u can tell me something
 
Adeel Ansari
Ranch Hand
Posts: 2874
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This will definitely help.
 
Vijay Kumar
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can JSTL <c:url> tag for each of urls in your page to make sure that url-writting is done if cookies are not enabled.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic