here is a patch that could solve this problem. execute() method of org.apache.struts.actions.ForwardAction if you have any comment about it ...
------------------------------------------------------------------- public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception { // Create a RequestDispatcher the corresponding resource String path = mapping.getParameter(); if (path == null) { response.sendError (HttpServletResponse.SC_INTERNAL_SERVER_ERROR, messages.getMessage("forward.path")); return (null); } // <translate a context-relative path into a module-relative path> ForwardingActionForward fw = new ForwardingActionForward(path); path = RequestUtils.forwardURL(request, fw); // </translate a context-relative path into a module-relative path> RequestDispatcher rd = servlet.getServletContext().getRequestDispatcher(path); if (rd == null) { response.sendError (HttpServletResponse.SC_INTERNAL_SERVER_ERROR, messages.getMessage("forward.rd", path)); return (null); } // Forward control to the specified resource rd.forward(request, response); // Tell the controller servlet that the response has been created return (null); } ------------------------------------------------------------------- > -----Original Message----- > From: phpsurf [mailto:[EMAIL PROTECTED]] > Sent: mardi 1 octobre 2002 14:56 > To: Struts-Developers > Subject: Possible bug or missing feature in ForwardAction > > > Hi > > the ForwardAction seems not to be compliant with sub-applications ... > The path of the jsp passed as parameter to ForwardAction (in=20 > struts-config.xml) has to be context-relative, instead of module=20 > relative ... > > is that a bug or a desired feature ? :) > > > ________________________________________________________________ > Etudiant: Wanadoo t'offre le Pack eXtense Haut Dbit soit 150,92 > euros d' conomies ! > Et pour 1 euro de plus, reois le CD-ROM du jeu Dark Age of Camelot > + 1 mois de jeu en r seau offert ! > Clique ici : http://www.ifrance.com/_reloc/mail.etudiant > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > ________________________________________________________________ Etudiant: Wanadoo t'offre le Pack eXtense Haut Débit soit 150,92 euros d'économies ! Et pour 1 euro de plus, reçois le CD-ROM du jeu Dark Age of Camelot + 1 mois de jeu en réseau offert ! Clique ici : http://www.ifrance.com/_reloc/mail.etudiant -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>