You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by F Da Costa Gomez <da...@gmail.com> on 2004/08/09 20:45:09 UTC

Re: Using applets in Tapestry (slow progress)

Managed to start the applet (sort off) by moving the .class file to a 
seperate directory in the context (basically on the same level as the 
css & image files).

<APPLET codebase="applets" CODE="applets.Simple.class" ></applet>
This code basically seems to work. The codebase however is *not* part of 
the classpath.

What i would really like is basically get it from the classpath (read 
the same location from where i'm retrieving the Tapestry files).

Does anybody have any suggestion?

TIA
Fermin DCG

F Da Costa Gomez wrote:
> Travis Romney wrote:
> 
>> Your error message doesn't have anything to do with Tapestry.
>> Your classpath for your applet is not configured correctly.
>>
> Fair enough. Am i to deduct from the answer that it *is* possible?
> The following works *outside* of Tapestry. *Not* within.
> <APPLET codebase="classes" CODE="applets.DrawingLines.class" />
> 
> I'm not able to get a handle on the correct codebase value when loading 
> through Tapestry. If y'v got a suggestion i would appreciate it.
> 
> TIA
> Fermin DCG
> 
>>
>> F Da Costa Gomez wrote:
>>
>>> Hi,
>>>
>>> Does anybody has an explanation/ example as to how one would 
>>> incorporate an
>>> applet on a Tapestry page? Assuming it is possible.
>>>
>>> Using the following in the .html gives me a class not found error.
>>> <APPLET CODEBASE="applets" CODE="Simple.class" WIDTH=220 HEIGHT=150>
>>> </APPLET>


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org