aspose file tools*
The moose likes Struts and the fly likes Request[/searchAction] does not contain handler parameter named 'method' Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Request[/searchAction] does not contain handler parameter named Watch "Request[/searchAction] does not contain handler parameter named New topic
Author

Request[/searchAction] does not contain handler parameter named 'method'

Smita Ahuja
Greenhorn

Joined: Sep 23, 2013
Posts: 28
Hi,

i developed an application in struts 1.3, I am facing above mentioned issue whenever user clicks on button (<input TYPE="button" name="method" value="<bean:message key="old_button"/>" ALT="BTN_SUBMIT" onclick='javascriptnOldClick()'> , on its function call:

function onOldClick(){
document.searchForm.action.value = "searchAction.do?parameter=OldDocuments";
document.forms[0].submit();
}
I am getting Request[/searchAction] does not contain handler parameter named 'method'

Please help,
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8910
    
    8

Is this the same problem the same question more than once. It causes confusion and duplication of effort as the community tries to help everyone.]as in your other post?[/url] Is the error occurring in Javascript or in your Struts app?


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
Smita Ahuja
Greenhorn

Joined: Sep 23, 2013
Posts: 28
this is next when I changed document.forms[0].action to document.searchForm.action.value, its going ahead and fails to read the parameter.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Request[/searchAction] does not contain handler parameter named 'method'