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