Re: Tiles with Annotations

2014-01-02 Thread Ken McWilliams
I arrived at the same conclusion when trying to remove my tiles configuration. I upgraded to tiles 3 in the process and wrote a custom result handler (sorry a custom "unknown result handler"). It is invoked when conventions isn't able to find an appropriate result. Here is a stack overflow Q & A

Re: Tiles with Annotations

2014-01-02 Thread Paul Benedict
Annotations usually help augment the class being annotated. I don't think annotating a Struts action with Tile definitions is very appropriate for this purpose. The purposes are just very different. XML seems more appropriate than annotations here. On Thu, Jan 2, 2014 at 10:02 AM, Christoph Nen

Tiles with Annotations

2014-01-02 Thread Christoph Nenning
Dear List, in our applications we often use the convention-plugin together with tiles-plugin (tiles 2). convention-plugin has the advantage that it is not necessary to put an entry in struts.xml for each action. So struts.xml usually is very small. But we still have tiles.xml which needs an en

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 An

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 : > 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 unsubscribe, e-m

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

Antwort: Re: Re: issue with devMode changes in 2.3.16

2014-01-02 Thread Christoph Nenning
> > > > I mean to add a note when devMode is enabled via a > > CustomConfigurationProvider that config and resource reloading is not > > enabled automatically. > > > > At least if you don't remove default values. > > Can you register an issue for that? > > https://issues.apache.org/jira/browse/