Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • 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 ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

confused ! wish to redirect from jsp page containing applet ..

 
Ranch Hand
Posts: 232
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a jsp page
here.jsp
there is an applet in this page ...
when this applet 'POSTS' to the here.jsp page,
i want the jsp page to get redirected to another page ..
such as there.jsp
ISSUES
-------
1. i use request.getParameter() from applet post, and that works, but the response.sendRedirect() does not take me to another page ...I get a PropertyPermission access error in java console
2. Then i tried using javascript .. so that when the jsp receives post request, it calls the jscript method .. window.parent.location= () .. which normally should redirect to another page ..
surprisingly this works when i post from an html form page, but not when i post from applet ... even though its the same javascript and the value posted by the applet is correctly read.
please can someone help me with this
thanks
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!