--- Rajagopal_Yendluri <[EMAIL PROTECTED]> wrote: > Hi Dave, can you post your Action code here...
Hi, What action code? d. > > Regards, > Rajagopal Y > HCU-Consulting & Enterprise Solutions. > Phone: (C) +91-9886876114 / (W) 6658 3685. > -----Original Message----- > From: Stefan Meisner Larsen > [mailto:[EMAIL PROTECTED] > Sent: Monday, November 12, 2007 5:53 PM > To: Struts Users Mailing List > Cc: Dave Newton > Subject: Re: Problems calling an Action using link > > Hi Dave > > Thanks a lot - it was the validation that caused me > problems.. :-) > > /Stefan > > 2007/11/12, Dave Newton <[EMAIL PROTECTED]>: > > > > Is there any validation being run on the > UserAction > > class? > > > > d. > > > > --- Stefan Meisner Larsen > <[EMAIL PROTECTED]> > > wrote: > > > > > Hi all > > > > > > I would really appreciate a little help here... > ;-) > > > > > > I am trying to call an Action using a link: > > > http://localhost:8080/bjo/user/list.action > > > The Action is defined as: > > > > > > <struts> > > > > > > <package name="user" namespace="/user" > > > extends="struts-default"> > > > > > > <action name="create" > > > class="dk.bjo.view.UserAction" > > > method="create"> > > > <result>/user/create.jsp</result> > > > <result > > > name="input">/user/create_init.jsp</result> > > > </action> > > > > > > <action name="list" > > > class="dk.bjo.view.UserAction"> > > > <result > > > name="success">/user/list.jsp</result> > > > </action> > > > > > > </package> > > > </struts> > > > > > > When calling the action (using the url above) > the > > > execute() method is never > > > called and I get the following result: > > > Struts Problem Report > > > > > > Struts has detected an unhandled exception: > > > *Messages*: > > > No result defined for action > dk.bjo.view.UserAction > > > and result input *File* > > > : > > > > > > > > file:/D:/workspaces/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/ > wtpwebapps/bjo/WEB-INF/classes/user.xml > > > *Line number*: 15 *Column number*: 54 > > > ------------------------------ > > > > > > </action> > > > > > > <action name="list" > > > class="dk.bjo.view.UserAction"> > > > > > > <result > name="success">/user/list.jsp</result> > > > > > > </action> > > > > > > ------------------------------ > > > > > > But I don't want any input...I just want the > action > > > called and then the > > > /user/list.jsp page shown! What should I do? > > > > > > I am using Struts 2.0.11 and my struts.xml looks > > > like this: > > > <struts> > > > > > > <constant > > > name="struts.enable.DynamicMethodInvocation" > > > value="false" /> > > > <constant name="struts.devMode" value="true" > /> > > > > > > <include file="bjo.xml"/> > > > <include file="user.xml"/> > > > </struts> > > > > > > > > > Regards, > > > Stefan Meisner Larsen > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: > [EMAIL PROTECTED] > > For additional commands, e-mail: > [EMAIL PROTECTED] > > > > > > > -- > http://brygnoter.dannebryg.dk > > > DISCLAIMER: > This email (including any attachments) is intended > for the sole use of the intended recipient/s and may > contain material that is CONFIDENTIAL AND PRIVATE > COMPANY INFORMATION. Any review or reliance by > others or copying or distribution or forwarding of > any or all of the contents in this message is > STRICTLY PROHIBITED. If you are not the intended > recipient, please contact the sender by email and > delete all copies; your cooperation in this regard > is appreciated. > > --------------------------------------------------------------------- > 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]