Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Use JSP to read Windows Registry

 
Deepesh Mishra
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • 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).

 
Kathleen Angeles
Ranch Hand
Posts: 123
Firefox Browser Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • 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.
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic