• 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

Submitting Forms having Frames in JSP

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

I have a demoFrameset.jsp which has got 2 frames inside.
Frame # 1 demoFramesetLeft.jsp
Frame #2 demoFramesetRight.jsp

When I submit demoFrameset.jsp by clicking submit button , the code does a redirect to demoFrameset.jsp but I see total 3 frames:

demoFramesetLeft.jsp + demoFramesetRight.jsp + demoFramesetRight.jsp

Thus demoFramesetRight.jsp is displayed twice.

Looks like when I submit the DemoFramesetLeft.jsp ,it happens in that context only. so It keeps the previous DemoframesetRight.jsp as it as and generates demoFramesetLeft.jsp + demoFramesetRight.jsp as a result of submit.

Can anyone please advise on how to avoid having the 3 frames as mentioned above ?

Thanks
- Anand
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Each frame is it's own complete web page generated by it's own request.
JSP (a server side technology) has no idea that your pages are being assembled as frames within the browser.

I'm going to move this thread to our HTML/Javascript forum where client side code is discussed.
 
reply
    Bookmark Topic Watch Topic
  • New Topic