-----Original Message-----
From: Xeno Campanoli [mailto:email@hidden]
Sent: Wednesday, April 12, 2006 11:22 AM
To: email@hidden
Subject: RE: I need a simple object tag (or applet tag if need be) to make
I've got this figured out for now. I ended up using minimalist tags from
examples I found on the net and worked them toward my need as I made things
work, and I ended up with the following that work:
<applet code="JavaClass" width=10 height=10 name="JavaClass"></applet>
<object code="JavaClass.class" width=0 height=0 id="JavaClass"></object>
I'm having further problems with my Java now, but I'll need to collect more
evidence before I beg for further help.
Thank you everyone for the feedback.
xc
-----Original Message-----
From: java-dev-bounces+xcampanoli=email@hidden
[mailto:java-dev-bounces+xcampanoli=email@hidden] On Behalf Of
Greg Guerin
Sent: Wednesday, April 12, 2006 11:04 AM
To: email@hidden
Subject: Re: I need a simple object tag (or applet tag if need be) to make
Xeno Campanoli wrote:
>... and all other pages are accessible from my DocumentRoot...
Does "accessible from my DocumentRoot" mean that the HTML files are placed
directly in that directory and have appropriate read permission?
><applet code='TracePlugin.class' codebase='http://internal.qa'
>name='myjavascripthandle'></applet>
Try it without the codebase attribute, and put the class-file in the same
directory as the HTML-file that refers to it.
I just tried this using Safari and Personal Web Sharing, so it should work.
If you can't get it to work, I can provide an example.
>And I get nothing.
Where are you looking that you see nothing? If you look in the wrong place,
you'll always see nothing even when the applet is working correctly.
An applet's println()'ed text will never appear in the HTML document's
content. An applet is a graphical component in a web page, like an image.
An applet is not a producer of a web page's textual content, like JavaScript
or PHP or JSP.
To see an applet's System.out.println()'s, you have to look in one of two
places, depending on how your "Java 1.4.2 Plugin Settings" are configured.
1) If "Use Java console" is unchecked, then look in Console.app's console
log.
2) If "Use Java console" is unchecked, then a console window appears in
Safari.
The Console.app utility is found in:
/Applications/Utilities/
The "Java 1.4.2 Plugin Settings.app" utility is found here:
/Applications/Utilities/Java/
-- GG
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden
This email sent to email@hidden