File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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
It's not a secret anymore!