Hello,

I use Struts 1.1 and WSAD 4.
I have a BASIC authentication defined in my web.xml

When I open the restricted page, I can see the window pop up authentication.
If I enter the correct login&pass, I'm forwarded to the good page.
But if I click the "cancel" button, I get a white page. I'd like to go to my
error page defined for http 401 error!

The page "/error.jsp" is not in a restricted area.

Do you have an idee???

Thanks in advance.

julien



In my web.xml :

<error-page>
<exception-type>401</exception-type>
<location>/error.jsp</location>
</error-page>
<error-page>
<error-code>403</error-code>
<location>/error.jsp</location>
</error-page>

Reply via email to