Results 1 to 5 of 5
Thread: Java + html
- 01-24-2009, 07:20 PM #1
Member
- Join Date
- Jan 2009
- Posts
- 11
- Rep Power
- 0
- 01-24-2009, 07:27 PM #2
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
What you mean loading a Java file into html?
- 01-24-2009, 08:01 PM #3
Senior Member
- Join Date
- Dec 2008
- Posts
- 526
- Rep Power
- 0
You mean an applet?
- 01-24-2009, 09:41 PM #4
Member
- Join Date
- Jan 2009
- Posts
- 11
- Rep Power
- 0
Yes I meant an applet, I figured out the problem
- 01-25-2009, 03:58 AM #5
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
Best explanation is embedded Java class in HTML. You cannot link *.java file into the HTML page as an applet.
Here is a simple way to do that, assume that you Java class file name is MyApplet.java.
Java Code:<html> <body> <applet code = "MyApplet.class" height = "100" width = "100"> </applet> </body> </html>
Similar Threads
-
Java String to html var
By tman563 in forum JavaServer Pages (JSP) and JSTLReplies: 1Last Post: 02-17-2009, 02:59 PM -
How can I include a html file in html textarea?
By surya_dks in forum New To JavaReplies: 2Last Post: 10-04-2008, 07:20 AM -
Java Applet HTML
By ownlol in forum Java AppletsReplies: 4Last Post: 07-21-2008, 02:59 AM -
convert html to text using java
By praveen@asia-mail.com in forum New To JavaReplies: 1Last Post: 11-14-2007, 02:08 PM -
calling a java class from html
By Ed in forum Advanced JavaReplies: 1Last Post: 07-08-2007, 12:58 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks