It's not a secret anymore!
The moose likes HTML, CSS and JavaScript and the fly likes Embedded Java in HTML? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Embedded Java in HTML?" Watch "Embedded Java in HTML?" New topic

Embedded Java in HTML?

Barry Andrews
Ranch Hand

Joined: Sep 05, 2000
Posts: 523

Hi All,
This may seem like a stupid question, but I had to ask. If anyone has ever used Visual Slick Edit to write HTML documents, you will find that when you use the <SCRIPT LANGUAGE = Whatever> tag that the code completion will pop up a list of possible languages. One of them is Java. The others are Javascript, PerlScript, VBScript, and PHP. My question is, can you embed Java code in HTML? I have never heard of this. Then again, I am a greenhorn to HTML. Thanks!!!

James Hobson
Ranch Hand

Joined: Aug 28, 2001
Posts: 140
The short answer to your question is no, you cant really use Java as a client side scripting language.
You can, however, use applets to achieve the same effect (more or less), and you can embed java in HTML for server side processing (in JSP).
Have you checked out Aspose?
subject: Embedded Java in HTML?
It's not a secret anymore!