wood burning stoves 2.0*
The moose likes Struts and the fly likes Bean values are null Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Bean values are null" Watch "Bean values are null" New topic
Author

Bean values are null

Tom Rader
Greenhorn

Joined: Jan 23, 2010
Posts: 5
Hello All,

I am developing a small spring+hibernate_struts 2 application. I am using login interceptor. But my bean values are null in action class.
Here is the interceptor code



My Action Class method. The value are null here





my JSP


David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

The code baffles me; could you post just the relevant parts? It's not clear to me how the interceptor is relevant to an issue with form parameters.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Bean values are null
 
Similar Threads
struts2 login interceptor not finding session attribute of user details.
Logout is not properly working in struts2 please help me
Struts 2 addActionError problem
Problem with the "where" query.