This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread 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 Murach's Java Servlets and JSP this week in the Servlets 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.
I agree. Here's the link:
subject: Bean values are null
Similar Threads
Struts 2 addActionError problem
Problem with the "where" query.
Logout is not properly working in struts2 please help me
struts2 login interceptor not finding session attribute of user details.