I'm using JBoss 3.2.6 and Tapestry. I'm using a filter (
org.apache.tapestry.RedirectFilter) to redirect requests from
http://localhost:8080 to http://localhost:8080/app -- which is the Tapestry
servlet. If I specify a welcome-file, that page seems to be served instead,
whereas in JBoss 3.2.3, I would always be redirected to /app.
Here's the relevant part of my web.xml:
<filter>
| <filter-name>redirect</filter-name>
| <filter-class>org.apache.tapestry.RedirectFilter</filter-class>
| <init-param>
| <param-name>redirect-path</param-name>
| <param-value>/app</param-value>
| </init-param>
| </filter>
| <filter-mapping>
| <filter-name>redirect</filter-name>
| <url-pattern>/</url-pattern>
| </filter-mapping>
| <servlet>
| <servlet-name>myapp</servlet-name>
| <servlet-class>org.apache.tapestry.ApplicationServlet</servlet-class>
| <load-on-startup>1</load-on-startup>
| </servlet>
| <servlet-mapping>
| <servlet-name>myapp</servlet-name>
| <url-pattern>/app</url-pattern>
| </servlet-mapping>
| <welcome-file-list>
| <welcome-file>index.jsp</welcome-file>
| </welcome-file-list> Shouldn't this work?
RMC
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3868543#3868543
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3868543
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user