Separating request handler between T5 and spring 2.0.6's DispatcherServlet

2009-08-24 Thread wesleywj2

hi,

i've been developing an webapps using T5 with spring 2.0.6 library. Main
focus of T5 is to serve as front page and logic with business model using
spring 2.0.6. I still have a tonnes of spring controller and i would like to
make use of it by calling it directly. But as i aware, Tapestry 5 acts as a
very thin layer by applying a filter in front. based on the example as below
i implemented in my web.xml:-

context-param
param-nametapestry.app-package/param-name
param-valuecom.wx/param-value
/context-param

context-param
param-namecontextConfigLocation/param-name
param-value
WEB-INF/spring-security.xml
WEB-INF/spring-data.xml
WEB-INF/spring-service.xml
/param-value
/context-param

listener

listener-classorg.springframework.web.context.ContextLoaderListener/listener-class
/listener


filter
filter-nameapp/filter-name

filter-classorg.apache.tapestry5.spring.TapestrySpringFilter/filter-class
/filter

filter-mapping
filter-nameapp/filter-name
url-pattern/*/url-pattern
/filter-mapping

servlet
servlet-namespring/servlet-name

servlet-classorg.springframework.web.servlet.DispatcherServlet/servlet-class
/servlet
servlet-mapping
servlet-namespring/servlet-name
url-pattern*.tx/url-pattern
/servlet-mapping



TapestrySpringFilter is intercepting all the request with pattern
url-pattern/*/url-pattern. my question is how do i call spring's
DispatcherServlet and let it handle by spring itself. all my spring request
ended with .wx suffix. how do i separate it so that spring will handle all
the request with suffix of .wx and left others to T5?

please advice,
wesley
-- 
View this message in context: 
http://www.nabble.com/Separating-request-handler-between-T5-and-spring-2.0.6%27s-DispatcherServlet-tp25114168p25114168.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Separating request handler between T5 and spring 2.0.6's DispatcherServlet

2009-08-24 Thread Ulrich Stärk

see Ignored Paths in http://tapestry.apache.org/tapestry5/guide/conf.html

Uli

On 24.08.2009 13:10 schrieb wesleywj2:

hi,

i've been developing an webapps using T5 with spring 2.0.6 library. Main
focus of T5 is to serve as front page and logic with business model using
spring 2.0.6. I still have a tonnes of spring controller and i would like to
make use of it by calling it directly. But as i aware, Tapestry 5 acts as a
very thin layer by applying a filter in front. based on the example as below
i implemented in my web.xml:-

context-param
param-nametapestry.app-package/param-name
param-valuecom.wx/param-value
/context-param

context-param
param-namecontextConfigLocation/param-name
param-value
WEB-INF/spring-security.xml
WEB-INF/spring-data.xml
WEB-INF/spring-service.xml
/param-value
/context-param

listener

listener-classorg.springframework.web.context.ContextLoaderListener/listener-class
/listener


filter
filter-nameapp/filter-name

filter-classorg.apache.tapestry5.spring.TapestrySpringFilter/filter-class
/filter

filter-mapping
filter-nameapp/filter-name
url-pattern/*/url-pattern
/filter-mapping

servlet
servlet-namespring/servlet-name

servlet-classorg.springframework.web.servlet.DispatcherServlet/servlet-class
/servlet
servlet-mapping
servlet-namespring/servlet-name
url-pattern*.tx/url-pattern
/servlet-mapping



TapestrySpringFilter is intercepting all the request with pattern
url-pattern/*/url-pattern. my question is how do i call spring's
DispatcherServlet and let it handle by spring itself. all my spring request
ended with .wx suffix. how do i separate it so that spring will handle all
the request with suffix of .wx and left others to T5?

please advice,
wesley


-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Separating request handler between T5 and spring 2.0.6's DispatcherServlet

2009-08-24 Thread wesleywj2

hello Ulrich, thanks so much for the pointer; it's working good now.

regards,
wesley
-- 
View this message in context: 
http://www.nabble.com/Separating-request-handler-between-T5-and-spring-2.0.6%27s-DispatcherServlet-tp25114168p25123675.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org