[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Filter and servlet mappings

2006-07-13 Thread adamw
Hello,

I solved the problem by mapping the servlet to /, and thus making it the 
default servlet. Then the requests for the JSP page go where they shold. Though 
I thught that when there are two overlapping mappings specified, one more and 
one less specific, the more specific is used in case of an path that matches 
both.

-- 
Cheers,
Adam

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957848#3957848

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957848
___
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Filter and servlet mappings

2006-07-13 Thread adamw
Hello,

is there any way then to include a JSP page in a servlet, which is mapped to 
/*? I tried doing simply 
request.getRequestDispatcher("/mypage.jsp").include(request, response); but 
this invokes the servlet and causes a loop.

-- 
Cheers,
Adam

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957806#3957806

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957806
___
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Filter and servlet mappings

2006-07-13 Thread adamw
Hello,
I'm still wondering tho, why does it work if the servlet is mapped to a more 
specific path - like /xxx/* - then the forwards work as they should.

-- 
Cheers,
Ada

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957797#3957797

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957797
___
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Filter and servlet mappings

2006-07-13 Thread adamw
OK, thanks.

-- 
Adam

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957794#3957794

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957794
___
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Filter and servlet mappings

2006-07-13 Thread j2ee_junkie
Adam,

That is the behavior defined by the servlet spec.  If you want a filter on that 
resource to be invoked, then you need to use re-direct, not forward.

cgriffith

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957793#3957793

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957793
___
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user