Re: T5 Read parameters form context.xml

2009-05-19 Thread ptitcon51
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. >&

Re: T5 Read parameters form context.xml

2009-05-19 Thread Borut BolĨina
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

Re: T5 Read parameters form context.xml

2009-05-19 Thread Thiago H. de Paula Figueiredo
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

T5 Read parameters form context.xml

2009-05-19 Thread ptitcon51
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

Re: Context.xml

2007-09-07 Thread Nick Westgate
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

RE: Context.xml

2007-09-07 Thread Jean-Philippe Steinmetz
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

RE: Context.xml

2007-09-07 Thread Fidel Chavarria
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

RE: Context.xml

2007-09-06 Thread Jean-Philippe Steinmetz
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

Context.xml

2007-09-06 Thread Jean-Philippe Steinmetz
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