Put your classes in packages. Specs forbid the use of package-less
classes in web container.
En l'instant précis du 03/12/07 09:14, rameau rameau1982 s'exprimait en
ces termes:
> hi, I have 2 java classes in the same directory. One of them
> (SlateServlet.java) creates a new object from the other class
> (UsersDB.java). When I compile UsersDB, everything is correct and the
> .class archive is in the same path as the other .java archives. But
> when I want to compile the SlateServletjava archive it gives me 3
> errors telling that it doesn't knows the class UsersDB when it tries
> to create an object UserDB.
> What am I doing wrong? I've put the codes for this two java classes.
> Thankyou
>
> ------------------------------------------------------------------------
> Tecnología, moda, motor, viajes,…suscríbete a nuestros boletines para
> estar a la última MSN Newsletters
> <http://newsletters.msn.com/hm/maintenanceeses.asp?L=ES&C=ES&P=WCMaintenance&Brand=WL&RU=http%3a%2f%2fmail.live.com>
>
> ------------------------------------------------------------------------
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
--
http://www.devlog.be (a belgian developer's logs)
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
|