This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 Android Security Essentials Live Lessons this week in the Android 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: 60785

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] [Bear's FrontMan] [About Bear] [Books by Bear]
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 60785

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
Similar Threads
inbuild jstl examples for tomcat 5.0
Unable to compile class for JSP
ways to send error page to another Jsp or servlet