i took a closer look at the access log:

<client> - - [22/Sep/2000:08:53:17 -0400] "GET /test.jar HTTP/1.0" 304 -
<proxy >- - [22/Sep/2000:08:53:18 -0400] "GET /null HTTP/1.1" 404 288
<client> - - [22/Sep/2000:08:53:18 -0400] "GET /Test.class HTTP/1.0" 404 287
<proxy> - - [22/Sep/2000:08:53:19 -0400] "GET /Test.class HTTP/1.1" 404 299
<client> - - [22/Sep/2000:08:53:19 -0400] "GET /Test/class.class HTTP/1.0" 404 293

<proxy> - - [22/Sep/2000:08:53:20 -0400] "GET /Test/class.class HTTP/1.1" 404 305

i don't get it! why do i get requests from my internet proxy? i'm guessing it's
because the java plugin points to the external site (java.sun.com).

-a


Aaron Stromas wrote:

> i already tried "Test" instead of  "Test.class" with exactly the same result. i
> also omitted the codebase altogether and placed test.jar in the same directory
> with the .jsp file (i think, that is what you are suggesting). this time the
> browser attempted to retrieve
> http://<host.domain>:8080/<webapp>/Test/class.class
>
> i suspect, something needs to be done in web.xml but i haven't figured what. am
> i on the right track?
>
> -a
>
> "Srini Sathya." wrote:
>
> > 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
>
> --
> 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

--
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

Reply via email to