关于Struts中Action的问题,在线等,急
没有用到ActionForm,直接把表单提交给Action,然后写入数据库
系统报错,说找不到相应的.do文件,这个应该跟action本身的代码没有关系,我觉得可能是映射的问题。部分源代码如下:
========== Struts-config.xml =================
......
<action path="/insertFesDisAction"
type="com.suntek.chargeterm.Actions.insertFesDisAction" scope="request"
input="/dbform_view/Discount/Fesdisconf.jsp" validate="false">
</action>
......
==============================================
========== web.xml ===========================
......
<servlet-mapping>
<servlet-name>action</servlet-name>
<url-pattern>*.do</url-pattern>
</servlet-mapping>
......
==============================================
========== Fesdisconf.jsp ====================
.......
<form name="fesdiscount" method="POST" action="/insertFesDisAction.do">
......
</form>
==============================================
系统报错,/insertFesDisAction.do is not available
...请各位大大帮忙看看阿
环境Tomcat/jboss + sybase + windows 2000/xp
都尝试过了