aspose file tools*
The moose likes JSP and the fly likes Relative path in JSP for Servlets Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Relative path in JSP for Servlets" Watch "Relative path in JSP for Servlets" New topic
Author

Relative path in JSP for Servlets

K Aditi
Ranch Hand

Joined: Mar 17, 2008
Posts: 89
How to specify relative path in the <form> tag so that the jsp page goes to the required servlet? I know how to call a servlet from a jsp, but being new to jsp and servlets my 'relative path' concept is really muddled


Aditi
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

"Aditi K",
Please check your private messages.
-Ben


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

This is a common issue here.
We have a FAQ entry that covers it in detail.
It can be read here:
http://faq.javaranch.com/java/ResourceUrls
 
 
subject: Relative path in JSP for Servlets