File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes extra / in url Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "extra / in url" Watch "extra / in url" New topic

extra / in url

c huisman

Joined: Mar 17, 2004
Posts: 6

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: . 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:
<> . 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?


c huisman

Joined: Mar 17, 2004
Posts: 6
Sorry, I made a mistake in my previous post.
The url that ends up being posted becomes Http:// instead of Http://
I agree. Here's the link:
subject: extra / in url
It's not a secret anymore!