Friday, March 14, 2003 06:22 AM
I have two servers running webapps, one for production: www.mycomp.com/WebApp and one for testing: www.mycomp.com/test/WebApp
When I work on the production server there are no problems, but when I work on the test-server and try to call a Struts-action (i.e. www.mycomp.com/test/WebApp/user/saveUser.do), I'm getting redirected to the production-server. The 'test' part in the URL for the test-server is ignored and I'm getting redirected to
The struts-config on the testserver looks like this:
The action call in the jsp file on the testserver looks like this:
... action = "/user/saveUser.do"
My questions are:
Doesn't Struts manage an extra "level" (test) between the serverroot (www.mycomp.com) and the webapp name (WebApp)? Are there any config-settings I can do to solve this?
Re: Strutsaction on different WebApps
Friday, March 14, 2003 06:41 AM