On Wed, 16 Jan 2002 [EMAIL PROTECTED] wrote:
> Date: Wed, 16 Jan 2002 19:18:14 -0700
> From: [EMAIL PROTECTED]
> Reply-To: Struts Developers List <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: RE: Struts problem with WebLogic. help please..
>
> Any suggestions/comments/help please ???????
>
> Thanks
> -Mohan
>
> FYI......
>
The value that is returned by getContextPath() is not in the control of
Struts -- it totally depends on your container configuration. Thus, the
only thing I could suggest is to consult the documentation for WebLogic
and iPlanet, respectively, on how the context path is determined or
configured.
Craig
> -----Original Message-----
> From: Ruthirakotti, Mohan
> Sent: Wednesday, January 16, 2002 1:19 PM
> To: [EMAIL PROTECTED]
> Subject: 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: <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
> --
> To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>