• 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

can I redirect to another frame???

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I want to send a post request to a serlvet but then redirect the response to a frame other than the one that submitted the post. Is this at all possible using 'response.sendRedirect' or any other way???
Thanks in advance
 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes..that is one way.
Other way is u can give action to the other file name in <form> tag whcih u want to execute.
 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi rajesh!
I have the same problem but I have to use "response.sendRedirect". Unfortunately you haven't told us yet how to solve the problem that way.
What I'd like to do is something like this (I know the code is wrong):
response.sendRedirect(response.encodeURL("test.jsp", target="myFrame"));
A nice solution for me would be destroying the frameset via JSP-code before I send the response. But how?
I am really stucked with this...
Patrick
 
Patrick Metz
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ok, forget it... I solved my problem on my own.
I am sorry, but it seems that I can't help Tom with his problem because it's too different from mine. I just wanted to get rid of the whole frameset and Tom wants to adress a certain frame in a frameset!
But thanx anyway...
cya
Patrick
 
reply
    Bookmark Topic Watch Topic
  • New Topic