Classpath in for a web app deployed as .war file
Posted on 2004-04-14
I'm deploying an application as a .ear file in weblogin 8.1. In the enclosed .war file I have the following structure:
I'm storing my compiled servlets and helper classes in the WEB-INF/classes directory. I have access to the helper classes from those servlets. But I don't have access to them from my jsp pages kepted in my jsps directory. I thought that the WEB-INF/classes directory was automatically added to the classpath for the application. But that doesn't seem to be happening. Am I wrong? I know it's probably better to jar up all those helper calsses and places them in the lib directory. What do you think all help is appreicated.