On Sat, 29 Mar 2003, Susan Hoddinott wrote:

> Date: Sat, 29 Mar 2003 08:35:20 +0800
> From: Susan Hoddinott <[EMAIL PROTECTED]>
> Reply-To: Tomcat Users List <[EMAIL PROTECTED]>
> To: Tomcat Users List <[EMAIL PROTECTED]>
> Subject: Re: Creating an HTML file with the correct codebase and
>     archivevalue parameters for a jar in the /WEB-INF/lib directory
>
> Thanks.  Do you have the servlet spec reference link where this is
> explained?
>

Section 9.5, second paragraph:  "No file contained in the WEB-INF
directory may be served directly to a client by the container."

Craig

> ----- Original Message -----
> From: "Craig R. McClanahan" <[EMAIL PROTECTED]>
> To: "Tomcat Users List" <[EMAIL PROTECTED]>
> 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 <[EMAIL PROTECTED]>
> > > Reply-To: Tomcat Users List <[EMAIL PROTECTED]>
> > > To: Tomcat Users List <[EMAIL PROTECTED]>
> > > 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: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to