• 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

Use JSP to read Windows Registry

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

I am designing a web application which needs interaction with some I/O devices.
For this I wish to check from my JSP page whether a specific device driver is installed on client machine or not.
If any specific driver is not installed, page will prompt a message regarding missing driver and and will provide a link to download that specific driver.

To achieve above goal, I am trying to read client's windows registry using JSP but unable to do so.
If any other mechanism is there, please let me know.

Also suggest, how to do this for various OS platforms(windows/linux).

 
Ranch Hand
Posts: 123
Firefox Browser Spring Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Currently, how are you doing it?

JSP will be running java codes in the server, and arrive as an html in the client pc.

You can start by using an applet. Take note that your applet must be given sufficient access to do stuff like accessing the client harddisk.
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
A web app generally has no access to a client machine's registry (which, BTW, is a Windows concept, so asking how to do this on Linux doesn't make sense).

If restricting the web app to IE is acceptable, then you can probably find some ActiveX control that accomplishes this.

Alternatively, a signed applet could use JNI to accomplish the same.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic