Re: Struts2 and JDBC : How to read jdbc.properties only once , for 100 or 1000 users

2014-01-06 Thread Lukasz Lenart
2014/1/5 Chris christal...@yahoo.fr: Hello, Introducing Interceptors works on Struts2.3.16 http://struts.apache.org/development/2.x/docs/introducing-interceptors.html But I would like to create my own Interceptor http://struts.apache.org/development/2.x/docs/writing-interceptors.html The

Re: Struts2 and JDBC : How to read jdbc.properties only once , for 100 or 1000 users

2014-01-05 Thread Chris
Hello, Introducing Interceptors works on Struts2.3.16 http://struts.apache.org/development/2.x/docs/introducing-interceptors.html But I would like to create my own Interceptor http://struts.apache.org/development/2.x/docs/writing-interceptors.html The example with SimpleInterceptor is not full

Struts2 and JDBC : How to read jdbc.properties only once , for 100 or 1000 users

2014-01-02 Thread Chris
Hello, How to read  the file jdbc.properties only once, when the web application is for 100 or 1000 users ? ( in which Action/method ? ) Thanks

Re: Struts2 and JDBC : How to read jdbc.properties only once , for 100 or 1000 users

2014-01-02 Thread Lukasz Lenart
You can use Interceptor#init() 2014/1/2 Chris christal...@yahoo.fr: Hello, How to read the file jdbc.properties only once, when the web application is for 100 or 1000 users ? ( in which Action/method ? ) Thanks - To

Re: Struts2 and JDBC : How to read jdbc.properties only once , for 100 or 1000 users

2014-01-02 Thread Chris
Thanks. I'll test this new example. I proceed in order of Web Page Getting Started, and haven't tested this one yet. (...Struts 2 Form Tags , Form Validation Using XML , Control Tags , Wildcard Method Selection ,  Struts 2 Themes , Spring and Struts 2 (with supplement jar files ) , Struts 2