• Post Reply Bookmark Topic Watch Topic
  • New Topic

error-page related  RSS feed

 
Brijesh shah
Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
One doubt regarding error-page is

>>The error-page tag must point to an html or JSP page, not a servlet
and is error-page tag can point to servlet ??

Please explain me on this..

Thanks;
Brijesh Shah
 
Mihai Radulescu
Ranch Hand
Posts: 918
IntelliJ IDE Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

The whole stuff is logic, you can use the error-page tag to point to a a jsp which has the page directive attribute isErrorPage. This stuff can not be done on a servlet.

Regards,
M
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!