users@jersey.java.net

[Jersey] Re: Servlets 3.0?

From: Moises Lejter <moilejter_at_gmail.com>
Date: Thu, 20 Nov 2014 22:32:57 -0600

If the issues are compile-time related, maybe this:

http://stackoverflow.com/questions/7796029/how-to-download-servlet-3-dependency-that-works-with-tomcat-7

?

Moises


On Thu, Nov 20, 2014 at 10:30 PM, Moises Lejter <moilejter_at_gmail.com> wrote:

> Hi! :-)
>
> I guess it would depend on what other stuff it is you're trying to
> configure... A lot of what used to go in web.xml can be done now via
> annotations:
>
> https://docs.oracle.com/javaee/6/api/javax/servlet/annotation/package-summary.html
>
> But I would have expected that just what you did (version=3.0 and 3.0
> namespace) would have done the trick... :-(
>
> DId you try some other servlet-3.0 container? Maybe it's a Tomcat thing
> ... :-)
>
> Moises
>
>
> On Thu, Nov 20, 2014 at 10:11 PM, Simon Roberts <
> simon_at_dancingcloudphotography.com> wrote:
>
>> The root of my problem is that I rather want the web.xml; I need to use
>>> it in other parts of the projects to allow me to override some other
>>> default behavior. So, I was hoping to find a simple fix for the existing
>>> deployment to change it. I tried changing the namespace to web-app_3_0.xsd,
>>> and changing the declared version web-app version attribute to 3.0, but it
>>> didn't seem to change anything.
>>>
>>
>>
>>>
>>>