You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Susan Hoddinott <su...@perth.dialix.com.au> on 2003/03/29 04:08:54 UTC
Re: Creating an HTML file with the correct codebase and archivevalueparameters for a jar in the /WEB-INF/lib directory
Thanks am downloading it now to see if I can get any more clues.
----- Original Message -----
From: "Tim Funk" <fu...@joedog.org>
To: "Tomcat Users List" <to...@jakarta.apache.org>
Sent: Saturday, March 29, 2003 9:34 AM
Subject: Re: Creating an HTML file with the correct codebase and
archivevalueparameters for a jar in the /WEB-INF/lib directory
> Java(TM) Servlet API Specification ("Specification")
> Version: 2.3
>
> SRV.9.5 Directory Structure
>
> http://java.sun.com/products/servlet/download.html
>
> -Tim
>
> Susan Hoddinott wrote:
> > Thanks. Do you have the servlet spec reference link where this is
> > explained?
> >
> > ----- Original Message -----
> > From: "Craig R. McClanahan" <cr...@apache.org>
> > To: "Tomcat Users List" <to...@jakarta.apache.org>
> > Sent: Friday, March 28, 2003 11:51 AM
> > Subject: Re: Creating an HTML file with the correct codebase and
> > archivevalue parameters for a jar in the /WEB-INF/lib directory
> >
> >
> >
> >>
> >>On Fri, 28 Mar 2003, Susan Hoddinott wrote:
> >>
> >>
> >>>Date: Fri, 28 Mar 2003 09:25:45 +0800
> >>>From: Susan Hoddinott <su...@perth.dialix.com.au>
> >>>Reply-To: Tomcat Users List <to...@jakarta.apache.org>
> >>>To: Tomcat Users List <to...@jakarta.apache.org>
> >>>Subject: Creating an HTML file with the correct codebase and archive
> >>> value parameters for a jar in the /WEB-INF/lib directory
> >>>
> >>>
> >>>Hello,
> >>>
> >>>I am trying to create an HTML file which accesses classes and applets
in
> >>>a jar file (demo.jar) which is in the WEB-INF/lib directory. I seem to
> >>>have problems getting it to recognise the existence of the jar file
> >>>and/or more than the first applet in the jar file. If I put the jar in
> >>>a known directory, it runs but takes about 5 minutes to load. Can
> >>>anyone tell me what the values should be for codebase and archive so
> >>>that it correctly finds the jar and classes. My HTML is as follows:
> >>>
> >>
> >>This is not ever going to work.
> >>
> >>The servlet spec includes a requirement that no resources under
"/WEB-INF"
> >>can be requested directly by the client. For applets, that means the
> >>.class and .jar files that you want to download must *not* be under
> >>"/WEB-INF", because the browser will not be able to retrieve them.
> >>
> >>Craig
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org