This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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.

I agree. Here's the link:
subject: url rules
Similar Threads
start a struts application from its root folder
Class path errors
Class path errors
Configuring app url with welcome-file
Can't find class