Have you tried using <html:rewrite href="/change.do"/> ?

--David

> -----Original Message-----
> From: Susan Bradeen [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, June 11, 2003 12:54 PM
> To: Struts Users Mailing List
> Subject: RE: [OT] RE: Is it possible to use struts 1.1 with 
> WebSphere 4?
> 
> 
> Thank you for replying, and I apologize for the brevity of my last 
> message. I was more focused on the fact that you are running 
> WAS 4.0 with 
> RC2 without trouble. I had posted my problem yesterday, but I wasn't 
> entirely sure of the cause at the that time, so it was probably badly 
> explained. As it happens, setting the compliance property 
> does appear to 
> make the problem go away, but I don't have the option of using it (or 
> mandating that people who use this app have to set this 
> property in order 
> for the app to work correctly).
> 
> For my problem, as an example, in a JSP I have 
>   <html:rewrite page="/change.do" /> 
> 
> In RC1, this generates <a href="/myApp/change.do" >, which forwards 
> correctly.
> In RC2, this generates <a href="/myApp/myApp/change.do" >, 
> which gives me 
> a 404 error, since the "myApp" gets appended to the path twice.
> 
> I noticed today that a bugzilla report has been filed for 
> this. At least 
> that gave me some confidence that it wasn't happening in just my web 
> application.
> 
> Thanks again.
> Susan 
> 
> On 06/11/2003 01:04:46 PM "Hibbs, David" wrote:
> 
> > Please define "not resolving correctly" -- if you do a view source,
> > does your link look right?  What exactly are you putting in 
> the rewrite 
> tag,
> > etc?  Give us some more information so we can answer better! =)
> > 
> > I doubt the compliance property you mention has any effect on the
> > rewrite tag.  Of course, I'm not using the tag anywhere, 
> either, so I 
> could
> > be off-base on that anyway. =)
> > 
> > --David
> > 
> > > -----Original Message-----
> > > From: Susan Bradeen [mailto:[EMAIL PROTECTED]
> > > Sent: Wednesday, June 11, 2003 9:32 AM
> > > To: Struts Users Mailing List
> > > Subject: [OT] RE: Is it possible to use struts 1.1 with 
> WebSphere 4?
> > >
> > >
> > > David,
> > >
> > > I am having limited issues with WAS 4 and RC2, looks the
> > > <html:rewrite>
> > > tags are not resolving correctly. Are you using the 
> system property
> > > "com.ibm.websphere.sendredirect.compliance=true" for WAS 4?
> > >
> > > Susan Bradeen
> > 
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to