|
thank
for all who answered my queestion on JSP session
U can create session variables by
create a session variable.
HttpSession session = req.getSession(true);
Put the Employee_id on aession object as emp_id
session.putValue("emp_id", Employee_id);
Get that if from session object
Integer l_id=(Integer)session.getValue("emp_id");
use this for later coding.
Try and see
Dais
----- Original Message -----
Sent: Thursday, November 04, 1999 2:08
PM
Subject: RE: jsp session
I
very sorry for sending this to this ID.
How can I create session variables. Pl help
me if you can
thank you jose
rajesh
U can inmport any classes into JSP.May be
classpath pble.Just set the classpath to ur JSP directory and Servelets
jar directory
Dais
----- Original Message -----
Sent: Thursday, November 04, 1999
12:36 PM
Subject: jsp session
hai
experts
I am on NT4 IIS using JRUN
Can
any one help me in getting the complete information how can I create a
session and use session variable.
secondly can I import javax.servlet.* in to JSP , I am get the error
saying that package is not found what the problem.
I deep
trouble pl help me asap
thanks in
advance
rajesh
|