struts配置文件如下:
<package name="com.qc.aj.action.FjbAction" namespace="/fjb" extends="json-default"><!--
class指向Spring配置文件中配置的Action的bean的id
--><action name="Json_*" method="{1}" class="fjbAction">
<result name="add" type="json">
</result>
<result name="edit" type="json">
</result>
<result name="del" type="json">
</result>
<result name="list" type="json">
</result>
<result name="listbyid" type="json">
</result>
<result name="upload" type="json"></result>
</action>
</package>
<package name="com.qc.aj.action.FjbAction1" namespace="/fjb" extends="struts-default">
<action name="Com_*" method="{1}" class="fjbAction">
<result name="fujianUpload">/ListJcdabFjb.jsp</result>
<result name="list">/ListJcdabFjb.jsp</result>
</action>
</package>
spring application文件配置如下: <!--ssi三层在spring中的反射配置-->
<!--ref指向sqlMapClient的bean定义的id,class指向DaoImpl的包位置包含类名-->
<bean id="fjbDao" class="com.qc.aj.dao.impl.FjbDAOImpl" scope="singleton">
<property name="sqlMapClient">
<ref bean="sqlMapClient" />
</property>
</bean>
<!--dao名称是在ServiceImpl中定义的变量名,ref指向DaoImpl的bean定义的id,class指向ServiceImpl的包位置包含类名-->
<bean id="fjbService" class="com.qc.aj.bll.impl.FjbServiceImpl">
<property name="dao" ref="fjbDao" />
</bean>
<!--servicem名称是在Action类中定义的变量名,ref指向ServiceImpl的bean定义的id,class指向Action的包位置包含类名-->
<bean id="fjbAction" class="com.qc.aj.action.FjbAction" scope="prototype">
<property name="service" ref="fjbService" />
</bean>
<!--ssi三层在spring中的反射配置结束-->异常如下:
HTTP Status 500 - Invalid action class configuration that references an unknown class named [fjbAction]--------------------------------------------------------------------------------type Exception reportmessage Invalid action class configuration that references an unknown class named [fjbAction]description The server encountered an internal error that prevented it from fulfilling this request.
我的疑问是:不同的package下,不同的action下,class不能重引用么?媛媛刚学习ssi框架,求各位大神指教ssi框架配置问题,java/web