geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sachin Patel <sppat...@gmail.com>
Subject Re: web.xml
Date Tue, 13 Feb 2007 20:55:37 GMT
Not sure.  If you're saying there are no annotations for this, then I  
assume this would works only with wars w/o servlets.  I can dig into  
it some more.  I'm kind of surprised, the whole time i just assumed  
there was support for annotating servlets.

-sachin


On Feb 13, 2007, at 3:48 PM, Dain Sundstrom wrote:

> How do you declare the servlets and the servlet mappings?  Or does  
> this only work with wars that don't have servlets?
>
> -dain
>
> On Feb 13, 2007, at 10:16 AM, Sachin Patel wrote:
>
>> Actually, according to the specification:
>>
>> "Starting with version 5 of the Java EE platform, a web  
>> application module, an enterprise bean module, or an application  
>> client module need not contain a deployment descriptor"
>>
>> -sachin
>>
>>
>> On Feb 13, 2007, at 11:13 AM, Dain Sundstrom wrote:
>>
>>> I don't think the web.xml is optional.  I am not aware of any  
>>> annotations to declare servlets and their mappings to URLs.   
>>> Actually, there don't seem to be any annotations in the  
>>> javax.servlet.* packages.
>>>
>>> -dain
>>>
>>> On Feb 13, 2007, at 6:14 AM, Sachin Patel wrote:
>>>
>>>> I don't think so.
>>>>
>>>> -sachin
>>>>
>>>>
>>>> On Feb 12, 2007, at 11:59 PM, Jarek Gawor wrote:
>>>>
>>>>> Is anyone working on making the web.xml file optional?
>>>>>
>>>>> Jarek
>>>>
>>>
>>
>


Mime
View raw message