Darren Govoni writes (3/6/2005 7:16 AM):

Hi,
 I tried adding.

<error-page>
 <error-code>401</error-code>
 <location>/error.jsp?type=401</location>
</error-page>

to my web.xml page (it was in the proper location, etc.) but my server still 
produces the default error
page. When I tried on my earlier 5.0.25 tomcat, it wouldn't even bring up my 
resources, which was weird.

Anyway, I tried various codes and locations. Nothing worked.

Any tips on this?


As location takes a war-path and not a url, I suspect the "?type=401" is your problem. This mechanism works fine for me when just using paths in the war file.

Chuck


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



Reply via email to