Hi Nash, you can put the servlet and your java class in the same package or you put them in their own seperate package.
For example if you decide to put them in the same package follow Jeanne's example above.
But, based on your earlier statements
The servlet is in a folder by name "controller" and the other class file is in a folder called "model".
You should have a directory structure below:
/controller/ControllerServlet1.java
/model/UserValidator1.java
You must have the below statement in each program respectively:
These packages should be placed in your WAR(web archive) and then placed in your servlet/jsp container.
The structure should be similar to below:
/WEB-INF/classes/controller/ControllerServlet1.class
/WEB-INF/classes/model/UserValidator1.class
I hope I got everything.
Craig