struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sachi N <>
Subject [DispatchAction] no handler parameter
Date Tue, 20 Oct 2009 05:39:29 GMT

I posted this question 9months ago but could not get any solutions.
I wonder if anyone can give me some clue now.


My client reported that they have received this error only once.
Request[/app/Keyword] does not contain handler parameter named 'command'.
at org.apache.struts.actions.DispatchAction.unspecified(

They tried to replicate the error to find the cause by doing the exact same operation that
the user did, but they were unable.
I've been trying too but I can't figure it out.

I have the following code within a jsp:


    var loadingflg = false;
    function submitExecute(mode, frm, message)
        if (loadingflg == false) {
            if (message != "") {
                if (!window.confirm(message)){
                    return false;
            eval("document.forms[0]." + mode).value = frm;
            loadingflg = true;
        return false;
<html:form action="/app/Keyword" onsubmit="return false">
<html:hidden property="command" />

<html:button property="regist" onclick="return submitExecute('command', 'regist', 'Regist?');">Regist</html:button>


When you click the 'Regist' button it goes off and registers the data on the screen.
I didn't use LookupDispatchAction but DispatchAction.

My struts-config.xml is as follows

        <action path="/app/Keyword"
              <forward name="success" path="/app/Keyword.jsp" redirect="false"/>

Struts ver is 1.2.9 and the user is using FireFox2.0.
I wonder why this happened?
The client has not gotten the same error since they reported it a couple of weeks ago.
Just to avoid that the error happens again, I can override "unspecified" method.
But they wants to know the cause more than countermeasures.

Does anybody have suggestions?



GyaO! - Anime, Dramas, Movies, and Music videos [FREE]

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message