Still haven't found a solution for this. Any suggestions? Thanks, - Mike
> -----Original Message----- > From: Doyle, Michael J > Sent: Wednesday, July 09, 2003 9:43 AM > To: '[EMAIL PROTECTED]' > Subject: When the Struts webapp is not at the root of the server > > Hi, > > I have been working on a Struts based web application. Things have been > going fine developing on http://localhost:7001/myStrutsApp > <http://localhost:7001/myStrutsApp> . I've discovered a problem when I > deploy to http://www.somehost.com/somepath/myStrutsApp > <http://www.somehost.com/somepath/myStrutsApp> . > > Struts gets confused with the paths it generates to Actions and rewritten > URLs. It seems that Struts assumes the web application is always at the > root of the server, e.g. http://www.somehost.com/myStrutsApp > <http://www.somehost.com/myStrutsApp> . > > It produces > <form action="/myStrutsApp/myaction.do"> > > when what I need is > <form action="/somepath/myStrutsApp/myaction.do"> > > Thus, the <html:form> <html:base> and any other tag that rewrites the URL > don't work properly in this configuration. > > Is there a workaround for this? Perhaps something to do with module > configuration? The web server is Netscape 3.5.1 and the app server is > Weblogic 5.10 sp13. > > Thanks for any help, > - Mike > >

