Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   Java (http://www.velocityreviews.com/forums/f30-java.html)
-   -   Fetch session info (http://www.velocityreviews.com/forums/t621904-fetch-session-info.html)

teser3@hotmail.com 06-23-2008 11:39 PM

Fetch session info
 
For the below bean object in JSP how would I do the same in a Java
class?

<jsp:useBean id="age" class="packOne.UserData" scope="session"/>



Here is my attempt but it didnt work. Please advise because I think I
need to fetch session info?

String age = new UserData();
....
out.write(age.getName());





All times are GMT. The time now is 07:20 PM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.