On Wednesday 03 June 2009 16:16:03 Dave Newton wrote: > Wes Wannemacher wrote: > > I think you have action and result confused... Instead of using > > @Action, try to add a @Result that configures a result for the string > > returned by the getDetails() call. > > I think he's saying that he was surprised that using the @Action > annotation also meant the expected view filename would change. >
Sort of. I was surprised that by specifying a different url via an @Action annotation that struts gave an error message stating that it couldn't find a result defined for the "containing" action (IndexAction - the one that contains the annotation) and the solution was to define a result for the new action created by the annotation (fetchdetails). The error message and solution don't tie up. I would have wasted less time if struts had complained that it couldn't find a result defined for action fetchdetails. Regards --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org