wood burning stoves 2.0*
The moose likes Servlets and the fly likes IE Address Bar issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "IE Address Bar issue" Watch "IE Address Bar issue" New topic
Author

IE Address Bar issue

Charles Hasegawa
Ranch Hand

Joined: May 22, 2003
Posts: 117
Not even sure if this is the best place or not...

We have a JSP/HTML page that has code along the lines of:


where LetterListGenerator is a servlet.

Clicking on the button does exactly what it should - it generates a txt file. However, once finished, the address bar gets "stuck" in Internet Explorer. So, if the page address was http://myserver.com/myproject/listGenerationMenu.jsp , then when I click a link in my page's menu, it goes to the proper page. The title in IE changes, but the URL still reads http://myserver.com/myproject/listGenerationMenu.jsp

I can type a new URL and it will change properly, but if I just continue to follow links on my pages, the URL never changes to tell me where I am at.

Has anyone heard of anything like this in IE? The same issue does not happen in Firefox.
Bug Menot
Greenhorn

Joined: Oct 15, 2004
Posts: 26
The solution is to not use IE.
Charles Hasegawa
Ranch Hand

Joined: May 22, 2003
Posts: 117
Thanks, that's pretty helpful
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60782
    
  65

Bug, much as we all hate IE and its plethora of bugs and ideosyncarcies, telling clients that their web apps won't work in a browser that is still used by the vast majority of Internet patrons is not a viable solution.

Charles, this is one IE behavior that is new to me. I am assuming that there are no frames or iframes in the mix?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60782
    
  65

it generates a txt file.


This may be an important clue.

So is the servlet setting a content-disposition header other than the default? Are you specifically setting the content type?
Charles Hasegawa
Ranch Hand

Joined: May 22, 2003
Posts: 117
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: IE Address Bar issue
 
Similar Threads
alternative to query string
Servlet Filtering doesnt work on iPlanet 6
confused on how to use struts
HTML form's POST method behaving like GET method
Browser Path Not Refreshing