This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "LookupDispatchAction -- Interesting Question" Watch "LookupDispatchAction -- Interesting Question" New topic

LookupDispatchAction -- Interesting Question

Andrew Symantec

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?
It is sorta covered in the JavaRanch Style Guide.
subject: LookupDispatchAction -- Interesting Question
Similar Threads
html:Submit with more properties
validator in LookupDispachAction
problem with LookupDispatchAction
handle many actions from one jsp page in struts
Problem with LookupDispatchAction