dcsimg
JBoss 401 error
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Wednesday, May 17, 2006 02:10 AM

hi,
I want to catch error code 401 in web.xml. I have specified it as follows in web.xml:


404
/forms/message.html


But, it is unable to catch it.

Specifically, I am using the basic login feature of JBoss.
When the user doesn't want to log in to the application, he clicks on 'cancel' button. Since, this is under the control of JBoss it is throwing the following error:
HTTP Status 401
This request requires HTTP authentication ().

How to handle the above error ..

thanks..
Manu

Re: JBoss 401 error

Posted By:   Christopher_Koenigsberg  
Posted On:   Sunday, May 21, 2006 08:56 AM

well, if what you wrote here is really what you have in your web.xml, no wonder it doesn't work -- you have 404, not 401, in your error-code.
About | Sitemap | Contact