wood burning stoves
The moose likes JSP and the fly likes url rules Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "url rules" Watch "url rules" New topic

url rules

Ashwin Sharma

Joined: Nov 03, 2006
Posts: 28
Can some one tell me how to set url path starting from home directory. I have home/html and home/WEB-INF/jsp but I have to give the url with reference to the last page that was called. But I want all url in my pages to start from home. I tried searching it on net, and some body told me to set my context path but still its not working.
K Aditi
Ranch Hand

Joined: Mar 17, 2008
Posts: 89
You can check this FAQ to clear your confusion about building URLs in JSPs.
Also you may want to refer to this post.

It is sorta covered in the JavaRanch Style Guide.
subject: url rules
It's not a secret anymore!