Thank you for your reply,

The <error-page> is configured in a web.xml inside my webapp. As for the
tomcat version it is Tomcat 7.0.21.

Before adding the <error-page> inside my webapp i was seeing -
 
<body><h1>HTTP Status 501 - Method METHOD is not is not implemented by this
servlet for this URI </h1><HR size="1" noshade="noshade"><p>type Status
report</p><p>message <u>Method METHOD is not is not implemented by this
servlet for this URI </u></p><p>description <u>The server does not support
the functionality needed to fulfill this request (Method METHOD is not is
not implemented by this servlet for this URI ).</u></p><HR size="1"
noshade="noshade"><h3>Apache Tomcat/7.0.21</h3></body>

After adding the <error-page> inside my webapp i am see nothing.


n828cl wrote:
> 
>> From: kkrikor [mailto:krikor.kruml...@gmail.com] 
>> Subject: 501 error not going to location
> 
>> I have set up an error page for the 501 error code.
> 
> Where did you configure the <error-page>?  (Be precise.)
> 
>> Testing with Tomcat 7. 
> 
> Tomcat 7.what.what?  (Be precise.)
> 
> Since error pages are specific to individual webapps, Tomcat cannot honor
> such configuration if the request is so malformed that it's impossible to
> select a webapp to which to give the request.
> 
>  - Chuck
> 
> 
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
> MATERIAL and is thus for use only by the intended recipient. If you
> received this in error, please contact the sender and delete the e-mail
> and its attachments from all computers.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/501-error-not-going-to-location-tp32466722p32475425.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


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

Reply via email to