Servlet actionServlet is not available
strust系统运行时,提示“ Servlet actionServlet is not available”,啥原因,下面是struts-config配置:
<struts-config>
<data-sources>
<data-source key="oracleDB1" type="org.apache.commons.dbcp.BasicDataSource">
<set-property property="driverClassName"
value="oracle.jdbc.driver.OracleDriver" />
<set-property property="url"
value="jdbc:oracle:thin:@192.168.0.12:1521:court" />
<set-property property="maxActive"
value="5"/>
<set-property property="username"
value="spgl"/>
<set-property property="password"
value="spgl"/>
<set-property property="autoCommit"
value="true"/>
</data-source>
</data-sources>
<form-beans>
<form-bean name="formBean1" type="classmate.UserForm"/>
</form-beans>
<global-forwards>
<forward name="failed" path="/error.jsp"/>
<forward name="successed" path="/right.jsp"/>
</global-forwards>
<action-mappings>
<action path="/login" type="classmate.LoginAction" name="formBean1" scope="request" validate="true" input="/error.jsp"/>
<action path="/regist" forward="/regist.jsp"/>
</action-mappings>
<message-resources parameter="classmate.MyResource"/>
</struts-config>
其中value="jdbc:oracle:thin:@192.168.0.12:1521:court" />中的court为数据库sid