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]

Reply via email to