Dear All,
Well i had a Loginaction.java(controller) and a Loginform.java(bean) and one login.jsp page and one invalid.jsp page and the corresopnding web.xml,strust_config.xml files, so from this i have to use sessions. my question is where i have to create sessions either in Loginaction.java or some where else, and how to implement them, and how to retrive them, and i have to validate them with database values and if true then mainpage will be visible if not invalid page and if session expires then another page for session expired?
Can any one please send me the code necessary for this purpose.
regards,
sasi.

