Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

error-page with tomcat 4.1  RSS feed

 
Sam Furtado
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi !
<error-page>
<error-code>401</error-code>
<location>/errorpage.jsp</location>
</error-page>
Trying to display an error page when an un-authorised access or 401 status code is been generated.
However, on accessing that application it just displays the error page rather than providing with a dialog and furthur after 3 trials then displaying the error page.
Also, note that if this error-page tag is removed from web.xml it displays the login dialog(BASIC AUTHENTICATION) properly.
What should be done to rectify this problem ??? Where does the actual problem lie ???
Pls suggest
Thanks Guys !
 
boyet silverio
Ranch Hand
Posts: 173
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Regarding the error page you referred to which appeared, is this your errorpage.jsp?
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!