If you're using the href attribute AND you're not using clean urls (href="/MyAction.action") and there is no ActionBean mapped to "/MyAction.action" then Stripes will try to forward to "/MyAction.jsp" and a few other variants IIRC. This will allow you to drop in an ActionBean later in which you forward to "/MyAction.jsp" without changing anything in the JSP. I used to go that route but now I prefer using beanclass so I get errors when the jsp is compiled if the ActionBean doesn't exist.
Aaron Chris Herron wrote: > Hi Tim, > > I think that the HREF solution was suggested as a placeholder during > development to address your specific concern. When the action bean is > available, you'd switch from the href to using the beanClass > attribute. If no action bean exists, then the pre-action pattern has > to be relaxed while building the JSP anyway, right? > > Chris. > > On Oct 13, 2008, at 2:19 PM, Timothy Stone wrote: > > >> However, using the HREF attribute will only work if you abandon the >> "pre-action" pattern, directly accessing the JSP call to the action >> class, >> correct? >> > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Stripes-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/stripes-users > > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Stripes-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/stripes-users
