The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
April 2001

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

use of java class in html

Posted by Jason on June 01, 2001 at 2:43 PM

> i want to use a java class in html page. actual problem is to output result on a web page by calling a function in java class.

You could call client side java script code in the HTML on the client side, Or you could move the HTML to a JSP file and run it on the server and instantiate the class directly. You have to instantiate a class to call its methods. On client side HTML the client box would have to have access to the class definition and all of its requirements would have to be met.



Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us