Found outdated javadoc for method [String executeAction(String uri)]: /**... result for the action needs to be * FreeMarker, or Velocity (actually, anything except JSPs) */
Note about Embedded JSP plugin. Musachy Barroso wrote: > > fixed in trunk. thanks! > > musachy > > On Thu, Sep 17, 2009 at 7:15 PM, Alex Siman <aleksandr.si...@gmail.com> > wrote: >> >> // From >> protected ActionMapping getActionMapping(String url) { >> MockHttpServletRequest req = new MockHttpServletRequest(); >> req.setRequestURI(url); >> return >> Dispatcher.getInstance().getContainer().getInstance(ActionMapper.class).getMapping(req, >> Dispatcher.getInstance().getConfigurationManager()); >> } >> >> // To >> protected ActionMapping getActionMapping(String url) { >> MockHttpServletRequest req = new MockHttpServletRequest(); >> req.setRequestURI(url); >> return getActionMapping(req); >> } >> -- >> View this message in context: >> http://www.nabble.com/JUnit-Plugin%3A-Little-refactoring-tp25502119p25502119.html >> Sent from the Struts - Dev mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org >> For additional commands, e-mail: dev-h...@struts.apache.org >> >> > > > > -- > "Hey you! Would you help me to carry the stone?" Pink Floyd > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org > For additional commands, e-mail: dev-h...@struts.apache.org > > > -- View this message in context: http://www.nabble.com/JUnit-Plugin%3A-Little-refactoring-tp25502119p25502637.html Sent from the Struts - Dev mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For additional commands, e-mail: dev-h...@struts.apache.org