How to call a java applet in rails application?

HI,

I have a applet file named "Scanner.class" which will scan and upload image to the web server from Scanners.

I have couple of doubts in accessing that applet file.

1. How to call this applet from rhtml file, and where should i place this file.

2. I also use some external jar files which i imported in my applet file, where should i place these jars?

Thanks, Ratnavel

1 Like

Ratnavel Sundaramurthi wrote:

HI,

I have a applet file named "Scanner.class" which will scan and upload image to the web server from Scanners.

I have couple of doubts in accessing that applet file.

1. How to call this applet from rhtml file, and where should i place this file.

2. I also use some external jar files which i imported in my applet file, where should i place these jars?

Does the documentation on Java Web Start help you out?[0] In general, Java applets are executed by the client, and you can stick the Java stuff where ever you want, as long as the JNPL (sp?) file references the correct paths.

[0] http://java.sun.com/products/javawebstart/

- -- Phillip Gawlowski Twitter: twitter.com/cynicalryan

You stay here, Audrey -- this is between me and the vegetable! ~ -- Seymour, from _Little Shop Of Horrors_