tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Asare Samuel <s_as...@yahoo.co.uk>
Subject specify class name in environment or system property...?
Date Thu, 08 Nov 2007 17:52:31 GMT
Making a web application sort of following:

http://www.netbeans.org/kb/55/mysql-webapp.html#preparingDB

I made a class that connects to the DB ie accessDB and have put two methods inside: 

public void insert(a,c) inserts record into database
public String getContent() gets content

I then put in little tester Main method to test the 2 methods thats when i get this error

Need to specify class name in environment or system property, or as an applet parameter, or
in an application resource file: java.naming.factory.initial
null

Please can anyone help me???

Thanks in advance.

       
---------------------------------
 Yahoo! Answers - Get better answers from someone who knows. Tryit now.
Mime
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message