December 22, 2008 at 7:59 AM
DBcon.java cannot be a class file. A class file will have an extension ".class". But yes you will have to place the ".java" file in WEB-INF/classes. If you had mentioned what the error says & where, your question can be answered more precisely.