Use the jar file under WEB-INF/lib
I first built a jar file test.jar which contains:
User.class with logic path: com\test
Next, I place the test.jar file to the WEB-INF/lib directory
Now, in a java class' header (such as controllerClass) I imported the class as:
import com.test.User;
In the method of the controllerClass, I added:
User user = new User();
This line can not get resolved. Because the system can not locate the User class.
What could be wrong?
Thanks
Scott