Session value in java

Hi ,

I'm now doing a project, which is making use of jsp as well as java files associated with it. While during user login, i'm setting the username as a session value.

Next the java file will be called and I need to retrieve the session value in that java file . Is there any way for me to get the value over there. Can I make use of any class to get the value.

Please help me. I'm in real trouble

Thanks in advance

[451 byte] By [BENQa] at [2007-11-27 4:05:25]
# 1

[url]http://www.jsptut.com/Forms.jsp[/url]

This is a good tutorial in how to make a JSP page that automatically sets its form values to a bean.

Bean values can be later retrieved using getter methods in scriptlets or you can pass the bean object to another Java object to continue processing in other Java classes.

maple_shafta at 2007-7-12 9:10:24 > top of Java-index,Java Essentials,Java Programming...