jQuery in Action, 2nd edition
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes errorPage attribute in page directive Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Professional Certification » Web Component Certification (SCWCD/OCPJWCD)
Reply Bookmark "errorPage attribute in page directive" Watch "errorPage attribute in page directive" New topic
Author

errorPage attribute in page directive

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
JSP.2.2.1
say I have under
WEB-INF
JSP
ERRORJSP
a.jsp under JSP is calling aerror.jsp under ERRORJSP
what is the path I have to specify
/ERRORJSP/aerror.jsp
or
ERRORJSP/aerror.jsp
I am not sure when I have to use a forward slash and when not. can anyone explain me
Carl Trusiak
Sheriff

Joined: Jun 13, 2000
Posts: 3340
I hate these, The real answer is "It depends" It depends on your system setup and the position of the pages in relation to the servers root and the request url. The best thing to do is try it under your conditions and see.


I Hope This Helps
Carl Trusiak, SCJP2, SCWCD
 
 
subject: errorPage attribute in page directive
 
Threads others viewed
JSP Directory Structure
Struts Survey - Please respond
Restrict JSP Page
JSp - Servlet - Tomcat/GlassFish
Can't run JSP
MyEclipse, The Clear Choice

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture