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 use dispatchaction in struts 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 "use dispatchaction in struts" Watch "use dispatchaction in struts" New topic

use dispatchaction in struts

Ashutosh kumar singh

Joined: Feb 27, 2008
Posts: 26
Whenever i am using dispatchaction and call multiple action on multiple button then we can't get form value on action class. this is always showing null value. so any body can help me.
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
The subject heading for this thread is "dispatchaction in struts" but in your post, you talk about using multiple actions? Which is it? Are you using a single DispatchAction with multiple methods, or are you calling different actions? If you're using a DispatchAction, check to make sure that the form bean is defined properly for the action. If you're using multiple actions, they should each be using the same form bean.

Consultant, Sima Solutions
I agree. Here's the link:
subject: use dispatchaction in struts