Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Relative path in JSP for Servlets

 
K Aditi
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic