1. You didn't include a package directive in your source. You really
should package your sources.
2. How are you compiling these? Most people use an IDE or let a build
tool like maven or ant do the ugly heavy lifting for them. From your
description you seem to be doing this by hand. NetBea
On Dec 3, 2007, at 03:14:38, rameau rameau1982 wrote: 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 .jav
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
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
SlateS