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.