geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Jencks <david_jen...@yahoo.com>
Subject Re: no web.xml
Date Mon, 26 Feb 2007 17:52:56 GMT

On Feb 26, 2007, at 9:40 AM, Jarek Gawor wrote:

> Hi,
>
> I got a question on how things supposed to work if there is no web.xml
> supplied. For example, in case of web services, there are certain
> rules on how the web.xml file should get updated if the web.xml is not
> present. That is, the servlet-name and servlet-class gets set to the
> bean class name and the url-pattern is set to the
> @WebService.serviceName value. Are there similar rules for pure
> servlets? For example, if there is no web.xml file, should the module
> builder scan all classes and check if a given class implements the
> Servlet interface, etc. and update the web.xml appropriately? I can't
> find a lot of information on this topic. Maybe it's just a special
> case for web services?

I think so... someone found a spec reference recently that indicated  
that web.xml can be omitted only if there are no servlets or filters.

I think we're going to have to work harder to generate a web.xml when  
it's missing for these webservices.

thanks
david jencks

>
> Thanks,
> Jarek


Mime
View raw message