If execute doesnt give you what you need you can always implement preparable
On Friday, November 27, 2009, Neil Aggarwal <n...@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-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- Saeed Iqbal http://www.iqbalconsulting.com Struts - J2EE - Application Architect / Developer --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org