This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes JSP and the fly likes how to invoke a java class using javascript Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » JSP
Reply locked New topic
Author

how to invoke a java class using javascript

saikrishna cinux
Ranch Hand

Joined: Apr 16, 2005
Posts: 689
i want to run a java class file using javascript code in html file
how can i do it is there any special code for it?


A = HARDWORK B = LUCK/FATE If C=(A+B) then C=SUCCESSFUL IN LIFE else C=FAILURE IN LIFE
SCJP 1.4
Chetan Parekh
Ranch Hand

Joined: Sep 16, 2004
Posts: 3636
Why you need to do that? Can you just post your business requirment, we may suggest better way to do it.


My blood is tested +ve for Java.
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

If you want to run Java on the client, you'll need to look into either Applets or Java Web Start.
We have forums for both of these technologies.
There is nothing in JSP for this.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to invoke a java class using javascript
 
Similar Threads
Java and Javascript intearaction
Java and Javascript intearaction
JSF2 Focus on field and JavaScript injection from code
calling java class file from javascript
how to call a java file with javascript code