A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
calling Jsp from servlet
Joined: Oct 02, 2003
Mar 07, 2004 02:40:00
Can any one tell my or give me samples code to pass the request or call the
Regards,Vasantha<p>Great minds discuss ideas. Average minds discuss events. Small minds discuss people.
Joined: Dec 03, 2003
Mar 07, 2004 03:45:00
and forward it to jsp.
I don;t remember the code. It's been 5 months wrote my last
Anand<br />SCJP 1.4, SCWCD 1.4, SCEA 5.0(1/3)
Joined: Feb 17, 2004
Mar 07, 2004 17:01:00
Assume that you have called a logon sesrvelet from logon.jsp and after verification you want to show AfterLogin.jsp.
String temp="AfterLogin.jsp"; getServletContext().getRequestDispatcher(temp).forward(request,response);
PMP CSQA SCJP SCWCD SCBCD INS 21 INS 23
I agree. Here's the link:
subject: calling Jsp from servlet
JSP to Servlet call
how to redirect from a single servlet to more than one jsp's?
Attributes sent from JSP wont show in Servlet
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014