This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
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.
 
Don't get me started about those stupid light bulbs.
 
subject: Bean values are null