-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Muralidhar,

On 7/22/15 11:08 AM, Yaragalla Muralidhar wrote:
> My web application is deployed in "webapp" folder. context path is 
> "zedlabs".

Since the URL you presented will not be mapped to your /zedlabs
application, you'll have to make a custom error page in the ROOT web
application to do this for you.

Specifically:

1. Ensure that webapps/ROOT exists (or that a ROOT web application is
otherwise deployed)

2. Create your custom 404 error page in the ROOT context, for example
   under ROOT/errors/404.jsp

3. In ROOT/WEB-INF/web.xml, define a custom <error-page> for 404,
   and point it to the resource you created in step #2 above

Hope that helps,
- -chris
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org

iQIcBAEBCAAGBQJVr9s4AAoJEBzwKT+lPKRYJvEQAIUvswX11ulgydvcTVjd6tm3
kAC4o2eQRGOQ4uoxY6F7HG+qgu6UeDaYVrNWo9SQLeV6W6MkL6fH6VrYIiSJHz4D
+KdVDIqorSPZXkVWkLeIrK1a2pBf4wqEcJRxyGeb8mY+4u+HVOOfHEWOG2pM2kFA
MRBCPgSzecKooUWcuFUI+xtFjwMDRnHzZ2r4kg9/Ueax8e5GwIcmnuRNprDENyQs
hg4/AkyADjc6vNGYk+MI7HOroi1+MDfVD/2fboR9MNrt0OzUMudkW/EvPYnmVbcI
w15hHz9ssXhQjajYUpGp7uW3hwBPmMHeE05lgQ+vnZmDixLMLTnVJzAKKGg7hwzD
sUPdpnKWNXuzbXDQKkm7vDRXF6mVa9Tc+dQ+Uqq/+g1aCh2f2UnKEyQbMX8rfTnl
RUpaVN7q94tppC1XLyGkUCpW0bCxIFrCVQKjcCIsRAqxS28mkrXt9hr3M3217XO6
P0qJQN9HjBKD4QROpBpueyhrfz8ZiOZdXziMwmAipBjpeb4G2DA+1Z4usSWGjOHZ
v7ym3zYD9Swuh1NPYaAjojaivomZcuYQTq3k9L9WQ+GJeq55nlNvnRothTqLjULB
a7eutD5UHIQ/IGVsmmOPTxiMgkAk9I2ldonBJGEJFaYEHFVOCMetDD3KQuZN0UUp
+Ik5/lgx/SlJaTHEyGsn
=ydHs
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to