You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by Mo...@Level3.com on 2002/01/16 21:18:58 UTC
Struts problem with WebLogic. help please..
All,
We are having a problem deploying a struts application developed on iPlanet
to weblogic. The specific problem occurs when we use a stuts html:form tag
like this:
<html:form action="/def/updateport">
which produces the following HTML:
<form name="PortDefForm" method="POST"
action="/NASApp/ims/def/updateport.do">
On weblogic, however, the HTML produced is this.
<form name="PortDefForm" method="POST" action="/ims/def/updateport.do">
The /weblogic portion of the URL is missing.
The problem as far as we can tell is that struts calls
HttpServletRequest.getContextPath() which on iPlanet returns "/NASApp/ims"
-- This is appended to "/def/updateport"
On weblogic, getContextPath() returns "/ims" only.
We are using iPlanet WebServer 6.0 SP1, STRUTS 1.0 and WebLogic 6.1 SP1..
Thanks for your help in advance
-Mohan
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>