struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doyle, Michael J" <>
Subject When the Struts webapp is not at the root of the server
Date Wed, 09 Jul 2003 13:43:14 GMT

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
<> . 

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.
<> . 

It produces 
	<form action="/myStrutsApp/">

when what I need is 
	<form action="/somepath/myStrutsApp/">

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

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message