I was taking a look at the jboss documentation for setting up properties for
defining the JNDI content, but I think I see something that is inefficient.
In the doGet() there is a :
"
// Set up the naming provider; this may not always be necessary, depending
// on how your Java system is configured.
System.setProperty("java.naming.factory.initial",
"org.jnp.interfaces.NamingContextFactory");
System.setProperty("java.naming.provider.url", "localhost:1099"); "
Isn't this better suited for the servlet init() so that it doesn't have to
be redefined for every doGet()? Since it isn't going to change it seems to
make sense to do this. Am I missing something?
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]