You didn't set the par's right..
int j = (Integer)(session.getAttribute("something")).intValue;
|-----Original Message-----
|From: D Arun [mailto:darun@l...]
|Sent: woensdag 28 maart 2001 14:03
|To: Pro_JavaServer_Pages
|Subject: [pro_jsp] Re: help on session
|
|
|Use the following code snippet at appropriate places..
|Integr i = whateverInteger
|session.setAttribute("something", i);
|
|
|while retrieving use
|
|int j = (Integer)session.getAttribute("something").intValue);
|
|hope this helps..
|arun
|
|
|