File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes DispatchAction coding problem ~~mod pls check this thread, display problem,tq Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "DispatchAction coding problem ~~mod pls check this thread, display problem,tq" Watch "DispatchAction coding problem ~~mod pls check this thread, display problem,tq" New topic
Author

DispatchAction coding problem ~~mod pls check this thread, display problem,tq

Alvin chew
Ranch Hand

Joined: Jan 08, 2004
Posts: 834
hi, good day, i having problem in configuration of DIspatchAction

html form link :



ProductAllAction.java :


[ September 09, 2004: Message edited by: Alvin chew ]
John Smith
Ranch Hand

Joined: Sep 02, 2004
Posts: 61
You do your returns like this:



No need for the extra set of brackets
Sheldon Fernandes
Ranch Hand

Joined: Aug 18, 2004
Posts: 157
Hi Alvin,

Some more description of the problem would be helpful (maybe a stacktrace). Also, a look at some action-mappings in the configuration file would be nice.

Sheldon
Alvin chew
Ranch Hand

Joined: Jan 08, 2004
Posts: 834
sorry, it work but actually because my netbeans ide having problem, it doesn't save my configuration for actionmapping , anyway, below is my action mapping code

struts-config.xml


program description:
i have 10 html page, each of it contains 1 form, every form contain single "summit" button, when user click button , the form will send and data will save into database

- the solution for this scenario is using DispatchAction (am i using the right way?)

- is that means i have to come out 10 same action PATH with each of it attached a own actionForm, and different parameter for each action path ?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: DispatchAction coding problem ~~mod pls check this thread, display problem,tq