I am using Struts 1.2.7 and have the standard servlet mapping that uses *.do
for my URLs.
<!-- Standard Action Servlet Mapping -->
<servlet-mapping>
<servlet-name>action</servlet-name>
<url-pattern>*.do</url-pattern>
</servlet-mapping>
I need to have a few custom URLs that do not use .do at the end, e.g., /monitor/lb-healthcheck
. Is there a way to override the mapping, or add these specific paths to the web.xml file to map to specific Actions? This is a mature application, and it's not feasible at this point to change the mapping to /
as the url-pattern
.