Saravanan
Saravanan

Reputation: 43

Call Local Java libraries from HTML

I have a java instalation package (jars with necessary support files in local system) , is it possible to call a function(in java installtion package) from html ? or any other supporting technologies

eg: in my local system, i will have (C:\myapp\lib\test.jar), i need to make a call to a method in the jar from html . which technology can be used to enable this .

A web app(servlet container) will be used to generate the html code

Upvotes: 0

Views: 925

Answers (1)

paulsm4
paulsm4

Reputation: 121759

Q: Do you want to run your .jar client side (as an applet), or server side (as a servlet)?

It sounds like you want to execute an Applet on the client's PC. It also sounds like you want to read and write to the user's filesystem, which requires special privileges.

Here is a good article on creating a "trusted applet":

See also:

Upvotes: 1

Related Questions