File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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.
 
 
subject: Bean values are null