|
Re: JSP and Servlets Question?
Hi Radhika,
U can pass parameters from jsp to servlet or servlet to jsp using hidden fields concept.
For example,
Sample.jsp
---------
Sample.java(servlet file)
-----------------------
String msg=request.getParameter("msg");
out.println(msg);
This is the one way of passing value from jsp to servlet.
If it is wrong please correct me.
Regards,
R.P.Karunakaran.
Last edited by writetokaruna@yahoo.com; 24-03-08 at 06:16 PM.
Reason: Jsp code is not displaying
|