Sorry, I made a mistake in my previous post.  I end up losing the domain
name in the link i.e I get http://action.do?parameter=blah instead of
Http://www.companyname.com/action.do?parameter=blah.  When I look at the
page source, the href attribute becomes href="//action.do" instead of
href="/action.do".  And yes, I am using struts 1.1.

c.

-----Original Message-----
From: Chris [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 02, 2004 9:56 AM
To: [EMAIL PROTECTED]
Subject: problem with url - extra / appended before action

Hello,

 

I have an application that uses frames.  The problem that I am experiencing
is that when I go to a page that loads a new frameset all of my links and
buttons work correctly - that is they produce the correct url:
www.companyname.com/action.do?parameter1=blah .  Now when I click one of
these links it populates a new page in the frameset, but the links are all
messed up.  They all include an extra "/"  before the action name:
www.companyname.com//action.do?parameter=blah
<http://www.companyname.com/action.do?parameter=blah>  .  This extra "/" is
also found in the <base href="."/> element for these pages.

 

This problem only occurs when I deploy the application (tomcat standalone no
apache involved) onto a linux box.  The problem does not occur when I test
things on my windows box using eclipse and the tomcat sysdeo plugin.

 

Any idea what is going on here?   

 

Thanks,

 

c.



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

Reply via email to