I am using deployJava.js
from Oracle's deployment toolkit to deploy and run an applet. If java is not installed, the current page is redirected to the download Java Page. I do want to redirect the user to the download Java Page, however, I would like this to happen in a new window. Redirecting it in the same page means my session is lost which I don't want happening. Is there a way to do this?
Give this a try:
Oracle provides a human-readable version of the js file here: https://www.java.com/js/deployJava.txt
EDIT: [
Change the location.href
page navigation code within here:
IEInstall: function() {
location.href = constructGetJavaURL(
...);
return false;
},
done: function (name, result) {
},
FFInstall: function() {
location.href = constructGetJavaURL(
...);
return false;
},
to these:
window.open(constructGetJavaURL(...));
You might have to mess around with that code a bit, I can't try it out myself. ]