You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Paul Stanton <pa...@mapshed.com.au> on 2012/03/01 02:05:24 UTC
allowing other servlets to handle requests
Hi all,
In 5.1 servlets defined in web.xml were handled without any extra
configuration.
In 5.3 however, it seems like I need to specifically tell tapestry not
to handle my servlets (via contributing a RequestFilter). Is this the
case or am I missing something?
For example:
<servlet-mapping>
<servlet-name>soap</servlet-name>
<url-pattern>/services/*</url-pattern>
</servlet-mapping>
The request: http://host/project/services/MyService.wsdl gets treated as
a page request for the Start page.
Thanks, Paul.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: allowing other servlets to handle requests
Posted by Paul Stanton <pa...@mapshed.com.au>.
Sorry,
Just found the section on IgnoredPaths:
http://tapestry.apache.org/configuration.html#Configuration-ConfiguringIgnoredPaths
It would be nice if tapestry could read the web descriptor and add the
servlet url-patterns to this automatically! would that be possible?
Thanks, Paul.
On 1/03/2012 12:05 PM, Paul Stanton wrote:
> Hi all,
>
> In 5.1 servlets defined in web.xml were handled without any extra
> configuration.
>
> In 5.3 however, it seems like I need to specifically tell tapestry not
> to handle my servlets (via contributing a RequestFilter). Is this the
> case or am I missing something?
>
> For example:
>
> <servlet-mapping>
> <servlet-name>soap</servlet-name>
> <url-pattern>/services/*</url-pattern>
> </servlet-mapping>
>
> The request: http://host/project/services/MyService.wsdl gets treated
> as a page request for the Start page.
>
> Thanks, Paul.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org