• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

error-page with tomcat 4.1

 
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 !
 
Ranch Hand
Posts: 173
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Regarding the error page you referred to which appeared, is this your errorpage.jsp?
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic