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 LookupDispatchAction -- Interesting Question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "LookupDispatchAction -- Interesting Question" Watch "LookupDispatchAction -- Interesting Question" New topic
Author

LookupDispatchAction -- Interesting Question

Andrew Symantec
Greenhorn

Joined: Apr 24, 2003
Posts: 15
Hi all,

Our web application using LookupDispatchAction to handle different user submit actions. It works well.

Suddenly, a new requirement comes in. When an input field changes, the application need to call a JavaScript function to submit the form and does some backend work.

We tried to write a new handling method in the action class, and set a new hidden field in the JSP so it can be submitted to invoke the handling method.

However, this cause problem with the original handling methods. The JavaScript submit can not be handled correctly.

Can someone give me some advices on this problem?
 
Consider Paul's rocket mass heater.
 
subject: LookupDispatchAction -- Interesting Question