Re: Using ServletContainerInitializer for 2.5 applications

2012-04-17 Thread Violeta Georgieva
Ok I understood. Thanks 2012/4/12 Christopher Schultz ch...@christopherschultz.net -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 4/12/12 8:58 AM, ma...@apache.org wrote: If you want to use Servlet 3.0 features then you need to declare 3.0 in the web.xml. +1 Since the spec

Re: Using ServletContainerInitializer for 2.5 applications

2012-04-12 Thread Violeta Georgieva
Hi, This mechanism is meant to be a standard way for web frameworks to extend the Servlet Container. IMHO this is compliant with the specification: 8.2.4 Shared libraries / runtimes pluggability In addition to supporting fragments and use of annotations one of the requirements is that not

Re: Using ServletContainerInitializer for 2.5 applications

2012-04-12 Thread Konstantin Kolinko
2012/4/11 Konstantin Kolinko knst.koli...@gmail.com: 2012/4/11 Lazar Kirchev lazar.kirc...@gmail.com: I want the ServletContainerInitializer to be called for all applications I deploy, not only with web.xml version 3.0, but also with lower version. Is this possible? 2. You would even be able

Re: Using ServletContainerInitializer for 2.5 applications

2012-04-12 Thread markt
Violeta Georgieva violet...@apache.org wrote: Hi, This mechanism is meant to be a standard way for web frameworks to extend the Servlet Container. IMHO this is compliant with the specification: Your not really humble at all opinion is wrong. This is a Servlet 3.0 feature and therefore not

Re: Using ServletContainerInitializer for 2.5 applications

2012-04-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 4/12/12 8:58 AM, ma...@apache.org wrote: If you want to use Servlet 3.0 features then you need to declare 3.0 in the web.xml. +1 Since the spec is (almost entirely) backward-compatible, this shouldn't represent an undue hardship. If you

Using ServletContainerInitializer for 2.5 applications

2012-04-11 Thread Lazar Kirchev
Hello, In servlet 3.0 specification ServletContainerInitilizer class is defined to allow programatic addition of servlet/filters/listeners. I am using a ServletContextInitializer to add a ServletContextListener to the ServletContext. I use Tomcat 7.0.25. This works fine if the web.xml major

Re: Using ServletContainerInitializer for 2.5 applications

2012-04-11 Thread Mikolaj Rydzewski
On 11.04.2012 14:10, Lazar Kirchev wrote: In servlet 3.0 specification ServletContainerInitilizer class is defined to allow programatic addition of servlet/filters/listeners. I am using a ServletContextInitializer to add a ServletContextListener to the ServletContext. I use Tomcat 7.0.25. This

Re: Using ServletContainerInitializer for 2.5 applications

2012-04-11 Thread Lazar Kirchev
I want the ServletContainerInitializer to be called for all applications I deploy, not only with web.xml version 3.0, but also with lower version. Is this possible? On Wed, Apr 11, 2012 at 3:17 PM, Mikolaj Rydzewski m...@ceti.pl wrote: On 11.04.2012 14:10, Lazar Kirchev wrote: In servlet 3.0

Re: Using ServletContainerInitializer for 2.5 applications

2012-04-11 Thread Konstantin Kolinko
2012/4/11 Lazar Kirchev lazar.kirc...@gmail.com: I want the ServletContainerInitializer to be called for all applications I deploy, not only with web.xml version 3.0, but also with lower version. Is this possible? 1. Do not top post. Write answers below the questions. 2. You would even be

RE: Using ServletContainerInitializer for 2.5 applications

2012-04-11 Thread Caldarale, Charles R
From: Lazar Kirchev [mailto:lazar.kirc...@gmail.com] Subject: Re: Using ServletContainerInitializer for 2.5 applications I want the ServletContainerInitializer to be called for all applications I deploy, not only with web.xml version 3.0, but also with lower version. Is this possible

Re: Using ServletContainerInitializer for 2.5 applications

2012-04-11 Thread Lazar Kirchev
On Wed, Apr 11, 2012 at 3:54 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Lazar Kirchev [mailto:lazar.kirc...@gmail.com] Subject: Re: Using ServletContainerInitializer for 2.5 applications I want the ServletContainerInitializer to be called for all applications I

Re: Using ServletContainerInitializer for 2.5 applications

2012-04-11 Thread Pid *
On 11 Apr 2012, at 14:42, Lazar Kirchev lazar.kirc...@gmail.com wrote: ServletContainerInitializer Only exists in Servlet 3.0. Supporting it in lower spec versions would be non-compliant. And silly. p - To unsubscribe,