• 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

Frame in JSP repeats twice

 
Ranch Hand
Posts: 701
2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,

I have an index jsp page in my web app which contains a Frameset with 3 frames, one under the other.

When I enter the system through typing the url on the address bar, the index page is shown. Then I insert user_id and password, click the Submit button and it works fine, logging on the system perfectly.

But when I add the url login to Bookmarks of Internet Explorer and try to log in through this bookmark, after inserting user_id and password and clicking the Submit button, the login page appears again, and the top and middle frames are shown duplicated!

This strange thing also happens at my client. More strange is that I solved the problem on my machine by excluding browser cookies and creating the bookmark again, but my client has done the same thing but the error persists there!

What could be the problem?
 
Ranch Hand
Posts: 838
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It sounds as though you have the page with three frames loaded and the first frame then tries to load the parent page again (thus giving 5 frames with the latter 2 duplicated). Correct me if wrong on any of the following :
The page you initially load has the 3 frames and the first frame has a page that prompts for user name and password. What do the other 2 frames contain?
In the first frame what is the form's action set to OR what happens when submitting the form (i.e. javascript call re-directs page, etc..,)?
You might want to do a check and see if self = parent somewhere and try that out.

Rob
 
That feels good. Thanks. Here's a tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic