just try putting test alone in code instead of test.class. It is taking
Test as a package and then searching for a file called class in that package
so just try putting Test alone in the codebase. It will try to load the
Test.class from the default code-base.
Cheers
Srini
-----Original Message-----
From: Aaron Stromas [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 22, 2000 2:31 PM
To: [EMAIL PROTECTED]
Subject: jsp:plugin problem with applet loading
greetings,
i use jsp:plugin with tomcat and all is fine as long as i don't jar the
applet. as soon as i do it appears that applet url the browser uses to
retrieve is bad. here is the jsp:plugin code that works:
<jsp:plugin type="applet"
code="Test.class"
codebase="http://<host.domain>:8080/"
...
</jsp:plugin>
but if i put the applet in a jar "test.jar" and add the "archve"
attribute
<jsp:plugin type="applet"
code="Test.class"
archive="test.jar"
codebase="http://<host.domain>:8080/"
...
</jsp:plugin>
the applet fails to load with FileNotFoundException:
http://<host.domain>:8080/Test/class.class
^^^^^^^^^^^^^^^^^
why is the url is generated that way?
--
Aaron Stromas | "Tick-tick-tick!!!... ja, Pantani is weg..."
Oracle Corp | BRTN commentator
+1 703.708.68.21 | L'Alpe d'Huez
1995 Tour de France
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html