Level, Haroldo (Jr) wrote: > Im trying to import a class into a JSP file. > > At the beginning I got the an error saying "Generated servlet error: > Only a type can be imported. SDTDeal resolves to a package" > > After a lot of googling I found I wasn't placing my class files in the > WEB-INF\classes\ directory and my classes weren't public. But after I > fixed all of that I got the following error: > > "An error occurred at line: 113 in the jsp file: /SD Tool/CheckNew.jsp > Generated servlet error: > SDTDeal cannot be resolved" [...] > <%@ page import="SDT.SDTDeal" %>
You should have WEB-INF\classes\SDT\SDTDeal.class Is that so? BTW: case matters. Regards mks --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]