• 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
  • Devaka Cooray
  • Junilu Lacar
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Tim Holloway
  • Claude Moore
  • Stephan van Hulst
  • Winston Gutkowski
  • Carey Brown
  • Frits Walraven

redirect from servlet  RSS feed

Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm working on an app where one frame calls a servlet that does an xsl:sort to update an html doc. I'm using 'response.sendRedirect' to bring me back to the frame that called the servlet, but then I need to refresh the frame that displays the html that was just updated. I've been using 'parent.framename.location = relativeURL' to accomplish this, but with limited success. It seems to work only on every second update. I know the transform is successful and the html is updating every time, but the display frame doesn't update. I also dont' think its a caching problem, as I'm using
<META CONTENT="no-cache" HTTP-EQUIV="Pragma">
<META CONTENT="no-cache" HTTP-EQUIV="Cache-Control">
<META CONTENT="no-store" HTTP-EQUIV="Cache-Control">
in the head of the html doc. So is there another way to do this? Can I redirect to a frame other that the one that called the servlet? If so, how?
Thanks in advance
It's just a flesh wound! Or a tiny ad:
ScroogeXHTML 8.2 - easy to use RTF to HTML converter library
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!