Re: Using ServletContainerInitializer for 2.5 applications

2012-04-17 Thread Violeta Georgieva
Ok I understood. Thanks 2012/4/12 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 enti

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

Re: Using ServletContainerInitializer for 2.5 applications

2012-04-12 Thread markt
Violeta Georgieva 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 available to 2.5 or

Re: Using ServletContainerInitializer for 2.5 applications

2012-04-12 Thread Konstantin Kolinko
2012/4/11 Konstantin Kolinko : > 2012/4/11 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? > > 2. You would even be able to load the class that implements th

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 on

Re: Using ServletContainerInitializer for 2.5 applications

2012-04-11 Thread Pid *
On 11 Apr 2012, at 14:42, Lazar Kirchev wrote: > ServletContainerInitializer Only exists in Servlet 3.0. Supporting it in lower spec versions would be non-compliant. And silly. p - To unsubscribe, e-mail: users-unsubscr...@t

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 ServletContainerIniti

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 >

Re: Using ServletContainerInitializer for 2.5 applications

2012-04-11 Thread Konstantin Kolinko
2012/4/11 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? 1. Do not top post. Write answers below the questions. 2. You would even be able to load the class t

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 wrote: > On 11.04.2012 14:10, Lazar Kirchev wrote: > > In servlet 3.0 specifica

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

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 versio