Hi,
I just guess your problem. If you have used struts 2.x, you can easily get
credential information via Action POJO. In your case, creating a new Action
named LoginAction with 2 properties username, password, then create a new
User class. In the LoginAction, get username and password passed in U
In my Struts based J2EE application, I need to get user's login
information (user principal), and based on the login id, I will create
the user object and then put it into the session. I am wondering where
is the best place to put this code in.
I read some info and it sounds like I should put this
2 matches
Mail list logo