23 August 2010

0 How to get data from session Java

How to Extract data from session in Java?

Get the session

request.getSession

Extract data from session

session.getAttribute
• Do typecast and check for null
• If you cast to a generic type, use @SuppressWarnings


0 comments:

Feeds Comments

Please give your valuable comments.