struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Saeed Iqbal <saee...@gmail.com>
Subject Re: excute method
Date Fri, 27 Nov 2009 06:28:06 GMT
If execute doesnt give you what you need you can always implement preparable

On Friday, November 27, 2009, Neil Aggarwal <neil@jammconsulting.com> wrote:
>> in struts.xml i have
>> <action name="C0002_Home" class="com.baibai.action.C0002_HomeAction">
>>     <result name="success">C0002_Home.jsp</result>
>> </action>
>>
>> however no matter how hard i tried
>> public String execute() throws Exception {
>> System.out.println("you're now in C0002_Home page");
>> return SUCCESS;
>> }
>> nothing is excuted
>
> Try adding a result name="input", I think success is only
> executed on a POST operation.
>
>         Neil
>
> --
> Neil Aggarwal, (281)846-8957, http://UnmeteredVPS.net
> Host your struts app on a CentOS VPS for only $25/month!
> Unmetered bandwidth = no overage charges, 7 day free trial
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

-- 
Saeed Iqbal
http://www.iqbalconsulting.com
Struts - J2EE - Application Architect / Developer

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message