File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Bean values are null" Watch "Bean values are null" New topic

Bean values are null

Tom Rader

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

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.
Consider Paul's rocket mass heater.
subject: Bean values are null