ion, just for page and
> component templates. web.xml is read by the servlet container (Jetty,
> Tomcat, etc), not by Tapestry.
>
>> But I don't know if a sexy solution exists to do it myself.
>> I want to externalize parameters (principally Strings) in my context.xml.
>&
myself.
> I want to externalize parameters (principally Strings) in my context.xml.
> Like this :
>
>
>
> I could read my xml file with Properties class like this:
>
> properties.load("context.xml")
> properties.getProperty("MyProp")
>
> Bu
don't know if a sexy solution exists to do it myself.
> I want to externalize parameters (principally Strings) in my context.xml.
> Like this :
>
>
>
> I could read my xml file with Properties class like this:
>
> properties.load("context.xml")
> prop
Hi all!
T5 reads xml file to configure himself.
But I don't know if a sexy solution exists to do it myself.
I want to externalize parameters (principally Strings) in my context.xml.
Like this :
I could read my xml file with Properties class like this:
properties.load("c
ngthy troubleshooting. I'm using Tomcat as my web server so
context.xml is what it uses for resource definitions. Anyway, I was missing
mysql-connector and commons-jdbc jars from my war package.
Jean-Philippe
-Original Message-
From: Fidel Chavarria [mailto:[EMAIL PROTECTED]
Sent: Friday, Se
Thanks for the response. I actually was able to solve my own problem after
some very lengthy troubleshooting. I'm using Tomcat as my web server so
context.xml is what it uses for resource definitions. Anyway, I was missing
mysql-connector and commons-jdbc jars from my war package.
Jean-Phi
Hi,
What is context.xml... Are you using Spring ?
What framework are you using to access your database ?
you need to post more explicit details ...
Jean-Philippe Steinmetz-2 wrote:
>
> Btw I'm using tapestry 5.
>
>> -Original Message-
>> Fro
Btw I'm using tapestry 5.
> -Original Message-
> From: Jean-Philippe Steinmetz [mailto:[EMAIL PROTECTED]
> Sent: Thursday, September 06, 2007 4:16 PM
> To: 'Tapestry users'
> Subject: Context.xml
>
> I've discovered a new problem o
I've discovered a new problem of mine that concerns the context.xml file.
I access a mysql database in my framework that is referenced by my
context.xml file as a resource. I have my context.xml in the correct
directory src/main/webapp/META-INF but for some reason I keep getting an
error