Hi,

>I have following code in my web.xml to redirect when ever I get 404
error.
>But I don't know where I have to create error folder (relative path)
and
>put 404.html. Is it under /WEB-INF of application ?
>
><error-page>
>      <error-code>404</error-code>
>      <location>/error/404.html</location>
></error-page>

This location, like url-pattern for servlets, is relative to the
docBase.  So it's not under WEB-INF.  With the above, error is a
directory on the same level as WEB-INF.

Yoav Shapira



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to