Some people like to keep the source Java files at a separate location,
and then have Ant copy them over to the classes directory, but mixing
the class and java files in the same folder works too.

Personally, when using a package hierarchy for my classes, I tend to
just name things 

.\logon\Form.java

But, yes you should either put your packages class files below the
classes directory, or in a JAR in the lib folder. For development at
least, you probably just want to put them under classes.

We put these under the WEB-INF folder so that they cannot be directly
accessed by a client program (e.g. Web browser), only by the
application.

Chuck Amadi wrote:
> 
> Hi, i have constructed a web app within my file system as follows:-
> C:\jakarta-tomcat-3.2.1\webapps\struts-bbnpa\WEB-INF\classes\logon\LogonForm.java
> 
>  The struts-bbnpa is were im placing all my work. thus the examples
> custom and logon packages are beneath my classes directory. Thus is
> this the correct procedure as im about to venture into JDBC Project
> (Postgresql) and im not sure weather the packages are one level above
> \WEB-INF dir.
> 
> Any suggestions and confirmation extremely welcomed. Cheers inadvance.
> 
> Chuck (Graduate Systems Programmer)
> --

Reply via email to