geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dain Sundstrom <d...@iq80.com>
Subject Re: web.xml
Date Tue, 13 Feb 2007 20:48:43 GMT
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