This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes Servlets and the fly likes jsp-servlet error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "jsp-servlet error " Watch "jsp-servlet error " New topic

jsp-servlet error

anita dhar
Ranch Hand

Joined: May 24, 2007
Posts: 34
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

Joined: Jan 10, 2002
Posts: 63542

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.

[Asking smart questions] [About Bear] [Books by Bear]
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63542

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

Joined: Aug 12, 2005
Posts: 9
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.
I agree. Here's the link:
subject: jsp-servlet error
It's not a secret anymore!