Jason - your right - this is where you would want to place your beans via
packages. I just added a package to a project I am doing
 e.g at WEB-INF\classes\com\java_apps\cis233s\regform. I was amazed that I
did not have to add a mapping for this
package - my JSP's found it no problem. I had to add a package statement at
the begging of my beans --
"package com.java_apps.cis233s.regform. Package placement in the classes
directory makes for good java
program design - something that the examples directory fails to do to avoid
confusion for the beginner.
-- Pete --

----- Original Message -----
From: "Jason Pell" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 01, 2001 6:16 PM
Subject: Re: CLASSPATH


> in the webapps/WEB-INF/classes for the particular contexts
>
> that is how I understand it.
>
> jason
>
> Doug Ferguson wrote:
>
> > Is there somewhere that I can place a class so that it is only visible
to a
> > certain context
> >
> > Pete Ehli wrote:
> >
> > > I have a couple of guesses - in the tomcat docs it states you can add
a
> > > classes directory at C:\Tomcat\classes - this is for all contexts to
use -
> > > what ever classes you put there i.e. helper classes can be utilized by
all
> > > contexts. If this is correct let me know [EMAIL PROTECTED] - again
this
> > > is a guess and I know it is in the docs somewhere.
> > > -- Pete --
> > >
> > > ----- Original Message -----
> > > From: "Doug Ferguson" <[EMAIL PROTECTED]>
> > > To: "tomcat" <[EMAIL PROTECTED]>
> > > Sent: Thursday, February 01, 2001 1:22 PM
> > > Subject: CLASSPATH
> > >
> > > > If I have a helper class that I would like to make visible to all my
> > > > servlets.
> > > > Where should I place this file?
> > > >
> > > > I have been running tomcat from the directory where these helper
classes
> > > >
> > > > are located. ("." is in my classpath) and that works.
> > > >
> > > > However I want a more robust solution. I don't think it works if I
place
> > > >
> > > > the helper classes in my WEB-INF/classes directory.
> > > >
> > > > Is there a location that I can use that is only visible to in
specific
> > > > contexts?
> > > > Is there a location that I can use that is visible to all contexts?
> > > >
> > > > thanks.
> > > > d.
> > > >
> > > >
> > >
> ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > For additional commands, email: [EMAIL PROTECTED]
> > > >
> > > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, email: [EMAIL PROTECTED]
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, email: [EMAIL PROTECTED]
>
> --
> Jason Pell
> Senior Analyst/Programmer - Web Developer
> Deakin Software Services Pty Ltd
> 12 Gheringhap St, Geelong Victoria 3220 Australia
> Phone: 03 5227 8858 International: +61 3 5227 8858
> Fax: 03 5227 8907 International: +61 3 5227 8907
> E-mail [EMAIL PROTECTED]
> http://www.dssonline.com.au
> Customer Support Hotline: 1800 620 497
>
> "Callista - the brightest solution in university management"
>
> ---------------------------------------------------------------
> Important Notice: The contents of this email transmission,
> including attachments, may be privileged and confidential.
> Any unauthorised use of the contents is expressly prohibited.
> If you have received this transmission in error, please advise
> the sender by return email or telephone immediately and
> destroy all versions.
> ---------------------------------------------------------------
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>
>


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

Reply via email to