Nov 8th, 2012, 04:01 AM
print session value in index.jspx of spring roo application
I am very new in spring roo application.For my app i am using hibernate and MySQL database.I also implemented log in using "security setup" command customized log in using my own authentication provide.Everything worked correctly.I have a table called "user-details"(having fields uname,pword and address.) from which I am taking user credentials for authentication.
Now i want to set the user address in session at the time of login and to display it in home page.I am confused here.
1)From where can i set the user address into session and how?
2)How can I retrieve and display the address stored in home.jspx?
If anyone could show me a good tutorial for this,or some sample codes , that will be highly appreciable