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 Relative path in JSP for Servlets Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Relative path in JSP for Servlets
 
Similar Threads
Dispatcher Relative Path
RequestDispatcher, relative and absolute path
.jsp file becomes .jsf file?
Pathing problem between JSP and Servlet
How to use Relative path for a servlet (Using Tomcat server)