Sorry, "the framework" refers to my legacy MVC framework and we use a sub-directory named "/root" to store the views (jsps). So while my page is "/root/legacy/struts.jsp", I want the form to post back to "/legacy/struts.tpc" so my legacy servlet will setup the request prior to handing it off to Struts.
-----Original Message----- From: James Mitchell [mailto:[EMAIL PROTECTED] Sent: Friday, March 28, 2003 11:42 AM To: Struts Users Mailing List Subject: Re: html:form tag - specify rendered action On Fri, 2003-03-28 at 12:16, Kuntz, Tim wrote: > Is it possible to manually control the rendered form action attribute? > > I am migrating and existing MVC framework to Struts and have the requirement > that the two frameworks run in tandem. The existing framework has a front > servlet that is responsible for user initialization, security, etc... It > then modifies the path and forwards to a view which in my case will be the > Struts application. So the user submits to "/legacy/struts.do" but Struts > receives "/root/legacy/struts.do" and the page is "/root/legacy/struts.jsp". > > > The html:form tag with an action of "/struts.do" currently sets the action > to "/root/legacy/struts.do" and I need it to be "/legacy/struts.do". > > Has anyone else dealt with this issue? The framework is only prepending the context (request.getContextPath()). Are you sure it's 'root' and not 'ROOT'? > > thanks, > tim > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- James Mitchell Software Developer/Struts Evangelist http://www.open-tools.org --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

