• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

errorPage attribute in page directive

 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3341
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic