jQuery in Action, 2nd edition*
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 Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "jsp-servlet error " Watch "jsp-servlet error " New topic
Author

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
Marshal

Joined: Jan 10, 2002
Posts: 60072
    
  65

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
Marshal

Joined: Jan 10, 2002
Posts: 60072
    
  65

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

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: http://aspose.com/file-tools
 
subject: jsp-servlet error
 
Similar Threads
ways to send error page to another Jsp or servlet
servlet
jsp:usebean
Unable to compile class for JSP
inbuild jstl examples for tomcat 5.0