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
Register / Login


JavaRanch » Java Forums » Java » JSP
Reply 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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Relative path in JSP for Servlets
 
Similar Threads
Pathing problem between JSP and Servlet
RequestDispatcher, relative and absolute path
.jsp file becomes .jsf file?
How to use Relative path for a servlet (Using Tomcat server)
Dispatcher Relative Path