• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

More of a browser question really

 
Ranch Hand
Posts: 183
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Apologies, but this is more of a browser question really, but I thought I'd try here first
I have inherited code to decide if support for JNLP files is enabled for a specific browser, which was originally copied from the Sun website - that is:

Our target browser is IE, so we actually only use the VBScript portion of this code. 99% of the time, it works fine. However on one NT platform, the administrator installed Web Start, and now it appears that when a normal user clicks on my link, the browser doesn't seem to think Web Start is installed. Has anyone else seen this? If so, is there a better method to test for the presence of JNLP support?
Thanks in advance, Neil :roll:
 
Neil Laurance
Ranch Hand
Posts: 183
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Nudge, nudge :roll:
 
Bartender
Posts: 2205
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hmm, not really sure what the issue is. The sample code you posted is from here:
http://java.sun.com/products/javawebstart/docs/developersguide.html#website
I don't know if you have that link already.
I wonder if it could be as simple as a registry setting? How was java installed? Did you install the runtime version, or the full JDK version? I think if you install the full JDK it doesn't tweak any registry settings on NT ( but I could be wrong) .
Here's the webstart faq as well:
http://java.sun.com/products/javawebstart/faq.html
Sorry I can't be more helpful.
 
Ranch Hand
Posts: 569
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Neil Laurance:
However on one NT platform, the administrator installed Web Start, and now it appears that when a normal user clicks on my link, the browser doesn't seem to think Web Start is installed. Has anyone else seen this? If so, is there a better method to test for the presence of JNLP support?
Thanks in advance, Neil :roll:


Check the filetypes to see if jnlp is associated with "javaws" application. Make sure that webstart is in the path, so that it can be launched. I've be running my webstart applications in win98, win2000 & winnt. Haven't come across the issue yet.
Thanks,
Hema
 
Neil Laurance
Ranch Hand
Posts: 183
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for the links Rob. It looks like it is definitely some sort of registry problem. However I was hoping there was some way of listing the supported mime types for IE, which might be a more reliable test to see if web start is installed?
 
Neil Laurance
Ranch Hand
Posts: 183
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yep, the JNLP file type is there, and linked to javaws. I think I will have to put this down to 'Administrator Error'
 
Neil Laurance
Ranch Hand
Posts: 183
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The following security settings needed changing:
Run ActiveX controls and plug-ins
[ ] Administrator approved
[ ] Disable
[x] Enable
[ ] Prompt
Script ActiveX controls marked safe for scripting
[ ] Disable
[x] Enable
[ ] Prompt
Cheers, Neil
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic