You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Moyer, Alan L" <MO...@polaroid.com> on 2003/04/22 19:25:21 UTC

Problem with URL rewriting

Hi,

I'm running a Struts application on Weblogic 7.0 and the site is setup to
have IIS serve up static pages. It forwards requests to Weblogic based on
the file extension. Hence, *.jsp and *.do would go to jsp page and the
Struts action servlet, respectively.

When logging in, the first page server up by Weblogic is a jsp page and URL
rewriting is done on the page. In the jsp page

<html:img srcKey="img.banner_login"/>

is rendered as

<img
src="/images/banner.jpg;jsessionid=2l02pGorO7L8B5A1cqByfgJCgxV4Qu9Q4a62ha22B
swsmu14KLvg!-1542677951">

and

<html:form name="LogonForm" type="com.polaroid.opal.beans.LogonForm"
action="/Login.do" focus="username">

is rendered as

<form name="LogonForm" method="POST"
action="/Opal_Struts/Login.do;jsessionid=2l02pGorO7L8B5A1cqByfgJCgxV4Qu9Q4a6
2ha22Bswsmu14KLvg!-1542677951">

When the page comes up, the images are broken and submitting the form
results in an HTTP 405 error from IIS. I believe that IIS cannot interpret
the image and servlet because of the postpended jsessionid stuff.

Is anyone familar with this problem and how to fix it?

Thanks for any help,

Al

This transmission is intended only for use by the addressee(s) named herein and may contain information that is proprietary, confidential and/or legally privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you.

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org