Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Java Deployment Toolkit and

873988Jul 7 2011 — edited Jul 8 2011
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?

Comments

User_64CKJ
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.
1 - 1
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Aug 5 2011
Added on Jul 7 2011
1 comment
639 views