File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Dispatcher Relative Path

 
Jayant Kaushal
Greenhorn
Posts: 6
Hibernate Java Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I seem to be in confusion about in request dispatcher and redirect's relative path.
how can i use a jsp with relative path when it is in WEB-INF and out side WEB-INF using relative path.
 
Piyush Joshi
Ranch Hand
Posts: 207
Eclipse IDE Firefox Browser jQuery
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Relative and absolute paths are related to the request URL, not to the actual location of that resource in the web application.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic