Re: [jetty-discuss] [JBoss-dev] Jetty, Servlet Filters url-pattern=/*(fwd)

2002-04-25 Thread Greg Wilkins

Jason,

I just did a quick test on raw jetty, and a filter at  /* certainly is
getting applied to a webapp that is registered at /

If I register the webapp at /blah  then the filter also gets called
for http://localhost:8080/blah requests.

Can you use the JMX interface to turn on Jetty debugging and see what
is happening within the filter handler (Jules/Jan the debug MBean is
work now right)

cheers


-- 
Greg Wilkins[EMAIL PROTECTED]  GB  Phone: +44-(0)7092063462
Mort Bay Consulting Australia and UK.Mbl Phone: +61-(0)4 17786631
http://www.mortbay.com   AU  Phone: +61-(0)2 98107029


___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development



Re: [jetty-discuss] [JBoss-dev] Jetty, Servlet Filters url-pattern=/* (fwd)

2002-04-25 Thread Jason Dillon

Really... that is odd.  Are you testing on your latest CVS?

I have been using the version in JBoss CVS HEAD using the SiteMesh filter 
(http://www.opensymphony.com/sitemesh/) and I could only get it to apply the 
decorator to http://localhost:8080/index.jsp it would show the raw content 
page for http://localhost:8080

I tested this over and over... though it is possible that I am insane after 
all this mudling... but another user on jboss dev confirmed the odd behavior.

I am moving forward with my work on the site, using index.jsp to send a 
redirect to default.jsp which seems to work.  If you still can not reproduce, 
perhaps it is fixed in the latest... otherwise once the new site is setup 
using these filters you can use that to test (copying default.jsp to 
index.jsp).

Or I could mail you a test war... yes perhaps that is best.

I tried enabling debug with the jboss.web:Jetty=Debug MBean but it did not 
produce any useful output:

[SocketListener-4/0]javax.servlet.GenericServlet.init(GenericServlet.java:257)

Perhaps it still does not work?  I don't know.

--jason


Quoting Greg Wilkins [EMAIL PROTECTED]:

 Jason,
 
 I just did a quick test on raw jetty, and a filter at  /* certainly is
 getting applied to a webapp that is registered at /
 
 If I register the webapp at /blah  then the filter also gets called
 for http://localhost:8080/blah requests.
 
 Can you use the JMX interface to turn on Jetty debugging and see what
 is happening within the filter handler (Jules/Jan the debug MBean is
 work now right)
 
 cheers
 
 
 -- 
 Greg Wilkins[EMAIL PROTECTED]  GB  Phone: +44-(0)7092063462
 Mort Bay Consulting Australia and UK.Mbl Phone: +61-(0)4 17786631
 http://www.mortbay.com   AU  Phone: +61-(0)2 98107029
 




-
This mail sent through IMP: http://horde.org/imp/

___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development