• Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
sarim raza
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
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!