Like this?  <s:submit type="button"
action="CityCountryLevelQueryAction!getMhtTrend">


Getting a 'Could not find action or result' error...   

Code Snippet
    public String getMhtTrend() throws Exception 
    {
        System.out.println( " getMhtTrend here " );
        
        return SUCCESS;
    }



Struts.xml snippet
<action name="CityCountryLevelQueryAction"
class="icisweb.query.web.QueryAction">        
            <result name="SQLException"
type="chain">SQLExceptionAction</result>                        
            <result>jsp/query_city_countrylevel.jsp</result>            
        </action>

-----Original Message-----
From: Dave Newton [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 13, 2007 1:26 PM
To: Struts Users Mailing List
Subject: Re: S:SUBMIT action usage

--- "King, Leon C" wrote:
> How do you utilize the s:submit tag in
> conjunction with 'Action Wildcards'.
> [...]
> <s:submit type="button" action="%{'queryResult'}"...

<s:submit action="theAction!theMethod".../> will work
and you don't need to do anything with wildcards.

d.



 
________________________________________________________________________
____________
Get your own web address.  
Have a HUGE year through Yahoo! Small Business.
http://smallbusiness.yahoo.com/domains/?p=BESTDEAL

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to