File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes Use JSP to read Windows Registry Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Use JSP to read Windows Registry" Watch "Use JSP to read Windows Registry" New topic
Author

Use JSP to read Windows Registry

Deepesh Mishra
Greenhorn

Joined: May 14, 2012
Posts: 3
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

Joined: Aug 06, 2012
Posts: 122

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
Marshal

Joined: Mar 22, 2005
Posts: 41106
    
  45
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.


Ping & DNS - my free Android networking tools app
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Use JSP to read Windows Registry
 
Similar Threads
ant command not running
EPP and JSP
windows registry reading
How to Access Windows Registry???
Read values from Registry