aspose file tools*
The moose likes Servlets and the fly likes calling Jsp from servlet 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 "calling Jsp from servlet" Watch "calling Jsp from servlet" New topic
Author

calling Jsp from servlet

Vasantha Prabha
Ranch Hand

Joined: Oct 02, 2003
Posts: 108
Can any one tell my or give me samples code to pass the request or call the Jsp from servlet
Regards,
Vasantha


Regards,Vasantha<p>Great minds discuss ideas. Average minds discuss events. Small minds discuss people.
Anand Ko
Ranch Hand

Joined: Dec 03, 2003
Posts: 79
Create the RequestDispatcher and forward it to jsp.
I don;t remember the code. It's been 5 months wrote my last java line.


Anand<br />SCJP 1.4, SCWCD 1.4, SCEA 5.0(1/3)
Sekhar Kadiyala
Ranch Hand

Joined: Feb 17, 2004
Posts: 170
Assume that you have called a logon sesrvelet from logon.jsp and after verification you want to show AfterLogin.jsp.


PMP CSQA SCJP SCWCD SCBCD INS 21 INS 23
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: calling Jsp from servlet
 
Similar Threads
how to redirect from a single servlet to more than one jsp's?
JSP to Servlet call
OutputStream irritates
session variable
Attributes sent from JSP wont show in Servlet