• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

IE refresh button

 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?
 
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"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
 
yugandhar reddy
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hey thanks detective.. seems like good names gets the correct replies. let me change my "javaRanchmaniac" to my name
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The index of what page?

Eric
 
yugandhar reddy
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?
 
reply
    Bookmark Topic Watch Topic
  • New Topic