Hi,

I have mapped the ServletDispatcher to the pattern '/action/*' rather than
the more usual '*.action' and my actions are not being found.  The problem
is due to the action name being found by calling getServletPath() which
returns the path to the servlet (in this case '/action').

This could use the getRequestURI() method instead which would work for both
methods of servlet configuration.  The request attribute
"javax.servlet.include.servlet_path" should also be replaced with
'javax.servlet.include.request_uri'.

John

Reply via email to