tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From maria petrova <mims8...@googlemail.com>
Subject Re: Why @WebServlet annotation is not processed when web.xml is version 2.5?
Date Fri, 01 Jun 2012 08:55:52 GMT
Hi,



As the Servlet 3.0 expert group shed some
light<http://java.net/projects/servlet-spec/lists/users/archive/2012-05/message/1>upon
this question I would like to raise it here again.

So do you plan revising the current processing of annotations (based on the
web.xml version) as it contradicts the clarification from the expert group
saying:



*“If you are using a Java EE 6 compatible implementation and use the
Servlet 3.0 feature / annotation, it should work independent of the
version of the descriptor.”*



May be the default behavior should be preserved and only *org.apache.catalina.
STRICT_SERVLET_COMPLIANCE* should be extended with an additional property
that controls the questioned handling?



What do you think?



Thanks and Regards,

Maria




2012/4/18 Pid <pid@pidster.com>

> On 18/04/2012 11:27, Konstantin Kolinko wrote:
> > 18 апреля 2012 г. 12:15 пользователь maria petrova
> > <mims8010@googlemail.com> написал:
> >> Hi,
> >>
> >> Thanks for the clarification. I agree that the specification is not
> >> absolutely clear on this matter in the given extract.
> >> Anyway, I simply would like to ask you, as Tomcat experts, for hints or
> >> ideas how to configure my Tomcat to make it pass the Servlet 3.0 CTS.
> >> I know that Tomcat 7.x regularly covers the complete Servlet 3.0 CTS and
> >> probably there is a hidden property that I'm missing?
> >>
> >
> > An obvious thing:
> > http://tomcat.apache.org/tomcat-7.0-doc/config/systemprops.html
> > org.apache.catalina.STRICT_SERVLET_COMPLIANCE=true
> >
> > As far as I remember, specifics of TCK cannot be discussed on a public
> list.
>
> I think mine was better [sniff]
>
>
> p
>
>
> --
>
> [key:62590808]
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message