Hi All, I am devolping an application in
struts 2 ver 2.0.11. I have created a login screen and back end validation of Username and password. When the user gets validated, I set his username and password in a
java bean. Which I want to display on the home screen. But I am unable to do so. My code is given below.
Here is my action class loginCheck.java :
My Business class 'loginVal' :
java bean class 'setUserPass.java' :
And finally my Home page 'home.jsp' :
In the home page if I use 'var' attribute it gives me an error. so I'm bound to use 'Id' tag here. But its still not working with that.
Thanks in advance.