我在项目中的web.xml中配制
<welcome-file-list>
<welcome-file>./getDataInfo.action</welcome-file>
</welcome-file-list>
在struts.xml中配制了
<action name="getDataInfo" class="indexAction" method="getDataInfo">
<result name="success">/manage/index.jsp</result>
</action>
我想在启动服务器后,打开页面http://localhost:8080/erc时出现的是http://localhost:8080/erc/getDataInfo.action
我应该还要怎么修改,才能实现这样的效果?
<welcome-file-list>
<welcome-file>./getDataInfo.action</welcome-file>
</welcome-file-list>
在struts.xml中配制了
<action name="getDataInfo" class="indexAction" method="getDataInfo">
<result name="success">/manage/index.jsp</result>
</action>
我想在启动服务器后,打开页面http://localhost:8080/erc时出现的是http://localhost:8080/erc/getDataInfo.action
我应该还要怎么修改,才能实现这样的效果?