• 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
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

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
 
Would you turn that thing down? I'm controlling a mind here! Look ... look at the tiny ad ...
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic