*
The moose likes HTML, CSS and JavaScript and the fly likes IE refresh button Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "IE refresh button" Watch "IE refresh button" New topic
Author

IE refresh button

yugandhar reddy
Greenhorn

Joined: Oct 31, 2008
Posts: 13
I have an application that runs in my server. I registered that with the name xxxxx.com. The middle company who will redirect to my server when a request comes or somebody type xxx.com in the browser. The middle company uses frameset and displays my pages in the frame. Now when I type xxxx.com and login and when i press browser refresh at any page it is taking me to the index.html

Did anybody face this problem? Can anybody has the solution?
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30050
    
149

"javaRanchmaniac",

We're pleased to have you here with us here at JavaRanch, but there are a few rules that need to be followed, and one is that proper names are required. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.

Thanks,
Jeanne
Forum Sheriff


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
yugandhar reddy
Greenhorn

Joined: Oct 31, 2008
Posts: 13
hey thanks detective.. seems like good names gets the correct replies. let me change my "javaRanchmaniac" to my name
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
The index of what page?

Eric
yugandhar reddy
Greenhorn

Joined: Oct 31, 2008
Posts: 13
I have simple application using jsp and servlets. someother company redirects to my server if any request is there. The user type xxxx.com at his browser the request goes to someother company who is using a frameset as
below and displays every page in this format.
<html>
<head>
</head>
<frameset border="0" rows="100%,*">
<frame frameborder="0" src="http://myIP:tomcatPort/myfolder/?">
</frame>
<frame noresize="" frameborder="0">
</frame>
</frameset>
</html>

Now I am able to login and surf the pages but if I press refresh button(browser IE) at any page the index page(login page) is viewed again. Again i need to provide user name and password to login.
Thanks.
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30050
    
149

Yugandhar,
You are correct that good names get better replies! (I can't be bothered to help someone who can't bother to follow a rule around here when asked. So thanks for changing your display name upon request.)

This is happening because they are reloading the frameset rather than the individual page. One thing you could do is redirect to a new "logged in" frameset upon successful login. Refreshing would still reload that frameset, but at least the user wouldn't be asked to login again.
yugandhar reddy
Greenhorn

Joined: Oct 31, 2008
Posts: 13
if i rightclick and do refresh i am in that same page but if i press refresh
that goes to the index page. I am using request.forward() in the servlets.
In the address bar I see xxxx.com is constant it is not changing. Suppose
I login and go to resources.jsp the address bar is not showing xxxx.com/resources.jsp but I see that in other sites.

why when i visit all the pages xxxx.com is constant at the address bar?
can anybody help this?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: IE refresh button
 
Similar Threads
How to take back the user to his personal page after a refresh
Refreshing pages
HTML page comes BLANK in web Brwoser
Server stops if the JSP is too long
Recognising the changes to a JSP