tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David kerber <>
Subject Re: specify class name in environment or system property...?
Date Thu, 08 Nov 2007 18:12:56 GMT
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, and set them in the jvm startup properties.

Asare Samuel wrote:
> Making a web application sort of following:
> 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:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message