File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes URL rewriting for the links Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "URL rewriting for the links" Watch "URL rewriting for the links" New topic
Author

URL rewriting for the links

sreenath reddy
Ranch Hand

Joined: Sep 21, 2003
Posts: 415
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

Joined: Aug 11, 2004
Posts: 48
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

Joined: Sep 21, 2003
Posts: 415
Hi adrian

Exactly .....u got my problem .Now u can tell me something
Adeel Ansari
Ranch Hand

Joined: Aug 15, 2004
Posts: 2874
This will definitely help.
Vijay Kumar
Greenhorn

Joined: Dec 20, 2004
Posts: 1
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: URL rewriting for the links