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?
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.
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.
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.
Joined: Oct 31, 2008
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?