tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris" <chuis...@taylor.com>
Subject RE: problem with url - extra / appended before action
Date Fri, 02 Apr 2004 17:58:07 GMT
Yan,

Thanks for the reply.  

The context for my application is as follows (well the engine element and
onwards):
<Engine name="Catalina" defaultHost="localhost" debug="0">

  <Host name="localhost" debug="0" appBase="webapps" unpackWARs="true"
autoDeploy="true" xmlValidation="false" xmlNameSpaceAware="false">

     <Context path="/" docBase="myApp"/>

  </Host>
</Engine>

This is not the way it is set up on my windows development box.  But
everything does work in windows using eclipse and sysdeo tomcat so I don't
believe it would have anything to do with my action mappings.  I believe it
must be a tomcat configuration thing.

c.

-----Original Message-----
From: Yansheng Lin [mailto:yansheng.lin@silvacom.com] 
Sent: Friday, April 02, 2004 10:41 AM
To: 'Tomcat Users List'
Subject: RE: problem with url - extra / appended before action

it's hard to say what's causing the problem exactly without knowing your
context
and your action-mappings.  maybe in your action mapping, you have one extra
/ in
front.  and tomcat would add that to the requestURL?

-Yan

-----Original Message-----
From: Chris [mailto:chuisman@taylor.com] 
Sent: Friday, April 02, 2004 9:56 AM
To: tomcat-user@jakarta.apache.org
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: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


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


Mime
View raw message