Forum Stats

  • 3,824,982 Users
  • 2,260,448 Discussions
  • 7,896,369 Comments

Discussions

Java Deployment Toolkit and

873988
873988 Member Posts: 1
edited Jul 8, 2011 3:30AM in Java Applet Development
Hi,

I use deployment toolkit (http://www.java.com/js/deployJava.txt ) in my project. When JVM is not installed it goes to Java download page, user downloads it, installs, and then my original page is refleshed. And now I have problems with this refreshing after installing Java:
- urls containing # (eg. http://www.mypage.com/#/?someParamForJavascript=somevalue - typical in AJAX applications) are treated as just http://www.mypage.com
- urls using https:// scheme (eg. https://www.mypage.com) are redirected to something like http://https//www.mypage.com

My current workaround involves a redirecting servlet and some JavaScript code:
deployJava.returnPage = "http://www.mypage.com/RedirectServlet".replace(":7002/", ":7001/") // for testing under WebLogic
+ "?to=" + encodeURIComponent(window.location);

But it's very ugly workaround. Is there a better one?

For me it looks like a bug in the deployment toolkit. Where should I post such bugs, is there some bugzilla for deployment toolkit, or something like that?
Tagged:

Answers

  • 793415
    793415 Member Posts: 7,279 Bronze Badge
    870985 wrote:
    ..I use deployment toolkit (http://www.java.com/js/deployJava.txt ) ...
    - urls using https:// scheme (eg. https://www.mypage.com) are redirected to something like http://https//www.mypage.com
    The script states.
    * For web pages provisioned using https, you may want to access the copy at:
    * https://java.com/js/deployJava.js.
This discussion has been closed.