Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Embedded Java in HTML?  RSS feed

 
Barry Andrews
Ranch Hand
Posts: 529
C++ Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!!!

Barry
 
James Hobson
Ranch Hand
Posts: 140
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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).
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!