Hi All, i had a java class which used to make a database query, and a CGI file to handle requests. now i replaced these two with a servlet with the same functions when i compiled my servlet, it was fine. however, when i access it through a browser (WAP browser) it gives me can't connect to the database exception. My files are on a Unix server. I am authorized to use wapteam directory which is at : /user/staff/wapteam/..... my servlet engine (tomcat 3.2.1) is at /wapteam/tomcat and my servlet "check" is at tomcat/webapps/ROOT/WEB-INF/classes my check servlet uses Student, SemScore,Score,SQLSelect classes, and i put all of them in the same directory as check.class. where am i wrong? the aplication gives me the SQLexception so i think, it can find those java classes however, it can't establish database connection. without servlets it works fine. previously i had a grade.class which is almost same as the check.class except that it was not a servlet. and all these classes were staying at wapteam/public_html/cgi-bin/java/ it is still working under this directory. Do i need to install tomcat inside cgi-bin directory in order to be able to access the database. (By the way all these Student, SemScore,Score,SQLSelect classes are same for both cases.) thanks in advance. hope i am not off topic. :) if I am, forgive me.. > > ___________________________________________________________________________ > To unsubscribe, send email to [EMAIL PROTECTED] and include in the body > of the message "signoff SERVLET-INTEREST". > > Archives: http://archives.java.sun.com/archives/servlet-interest.html > Resources: http://java.sun.com/products/servlet/external-resources.html > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html > ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
