cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gabor Bartha <>
Subject initialize a java variable with an xml file tag's value
Date Wed, 09 Oct 2002 09:27:47 GMT

I wanna use a (maybe little bit extreme) solution but I don't know how. 
I want to make a single config file for users then use that file in the 

The config.xml file e.g

<?xml version="1.0" encoding="ISO-8859-1"?>

Then in my application I want to use the username, driver, ... 
parameters as java variables from this xml (without using of session). 
So something like that:

<?xml version="1.0" encoding="ISO-8859-1"?>
// java code
String url = ????  //Here I want to use the value of <driver> from 
config.xml file.

Is there any solution without using of session?


Please check that your question  has not already been answered in the
FAQ before posting.     <>

To unsubscribe, e-mail:     <>
For additional commands, e-mail:   <>

View raw message