The value of the action attribute of the form label in the JSP form, which is the path to the method in the Action Class (path), is known to be related to the path in struts's configuration file, which has the code to load the struts profile in Web.xml, as follows:
<servlet>
<servlet-name>action</servlet-name>
<servlet-class>
Org.apache.struts.action.ActionServlet
</servlet-class>
<init-param>
<param-name>config</param-name>
<param-value>/WEB-INF/struts-config.xml</param-value>
</init-param>
</servlet>
<servlet-mapping>
<servlet-name>action</servlet-name>
<url-pattern>*.do</url-pattern>
</servlet-mapping>
If you have multiple struts profiles in a project, you'll have to add <init-param> properties to the Web.xml file, such as:
<init-param>
<param-name>config/videoReport</param-name>
<param-value>/WEB-INF/struts-video-report-cfg.xml</param-value>
</init-param>
Path is also related to the <param-name> value configured in the Web.xml file, such as: <%=basepath%>videoreport/videoreport.do.
There's also a question of whether <param-name> 's value requires config before.