• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jsp-servlet error

 
anita dhar
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
from jsp apge i want to invoke servlet error page
for that what are the neccesaar steps and pls give example code
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64718
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You'll have to be more explicit by what you mean by "invoke the servlet error page".

And "pls" is not a word. Please be sure to use real words such as "please" when posting to the forums.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64718
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
my question is i am having one jsp page
and through this request i have to send control
to the servlet page like error page but that page should be servlet that is from jsp


Which error page are you speaking of?
 
Sutham Rojanusorn
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I guess that he want to use error page through servlet
before to actual jsp error page if errors occured.
(normally declared by <%@page ... errorPage="xxx.jsp">

by this means you have to capture all error from your selvlet
then use dispatcher to error page you want.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic