jQuery in Action, 2nd edition*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Dispatcher Relative Path Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Dispatcher Relative Path" Watch "Dispatcher Relative Path" New topic

Dispatcher Relative Path

Jayant Kaushal

Joined: Nov 21, 2011
Posts: 6

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

Joined: Jun 10, 2011
Posts: 207

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.
subject: Dispatcher Relative Path