yes but why am i getting the 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
   
   when i try to run it???


David kerber <[EMAIL PROTECTED]> wrote:
  Any of those methods will likely work; I prefer the java.util.Properties 
object and its various methods, and read the settings from a disk file.

For settings that I don't need to change much (or ever), I usually use 
system.properties, and set them in the jvm startup properties.


Asare Samuel wrote:
> 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.
> 



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



       
---------------------------------
 For ideas on reducing your carbon footprint visit Yahoo! For Good this month.

Reply via email to