• 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

Servlets and Breaking out of frames

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have a problem with breaking out of frames or setting the target to another frame.
When i post a form from the left hand side, I want to refresh and show the results in the right pane. Problem is, I can't use an <A HREF target=top> (i need to post form results back to the servlet). Also, javascript is supposed to be used sparingly, so I would like to avoid it if possible, but any suggestions would be greatly appreciated.
Right now I have the servlet going to a save method and then sendRedirect() to the frameset method, and of course it just loads the whole thing into the left pane!! I was hoping that I could put the link target in the sendRedirect(url) argument list, but it only accept an absolute url, not an HTML tag.
I am at a loss, any advice would be great! thanks, jodi
 
jodi
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
oops, brain freeze, you can just name the frames and set the target of the form
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic