struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jake Vang <>
Subject struts 2 and servlets, how to exclude servlet url patterns from struts filter
Date Sun, 31 Jan 2010 14:12:12 GMT
i am using servlets (HttpServlet) and struts 2. my mapping in web.xml
for the struts filter maps to the url pattern, /*. my servlet maps to
something like this, /test. however, when i try to access my servlet,
http://localhost:8080/myapp/test, i get the following message:

"There is no Action mapped for namespace / and action name test"

can i make exceptions for the servlet mapping so that the struts
filter won't try to map it?

here's a snippet from my web.xml.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message