dwr配置
<dwr>
<allow>
<create creator="spring" javascript="juser">
<param name="beanName"
value="/user" />
<include method="isExist" />
</create>
</allow>
</dwr>struts配置
<form-beans >
<form-bean name="userForm" type="y2ssh.lepai.form.UserForm" />
</form-beans>
<action-mappings >
<action
attribute="userForm"
input="/index.jsp"
name="userForm"
parameter="method"
path="/user"
scope="request"
type="org.springframework.web.struts.DelegatingActionProxy">
<forward name="manager" path="/WEB-INF/jsp/manager.jsp" />
<forward name="admin" path="/WEB-INF/jsp/admin.jsp" />
</action> </action-mappings>
<plug-in className="org.springframework.web.struts.ContextLoaderPlugIn">
<set-property property="contextConfigLocation" value="WEB-INF/applicationContext.xml" />
</plug-in>spring配置
<!-- 配action -->
<bean name="/user" class="y2ssh.lepai.action.UserAction">
<property name="userBiz" ref="userBiz" />
</bean>运行时,报501错误
HTTP Status 501 - Error. Details logged to the console--------------------------------------------------------------------------------type Status reportmessage Error. Details logged to the consoledescription The server does not support the functionality needed to fulfill this request (Error. Details logged to the console).
--------------------------------------------------------------------------------
望高人指点
<dwr>
<allow>
<create creator="spring" javascript="juser">
<param name="beanName"
value="/user" />
<include method="isExist" />
</create>
</allow>
</dwr>struts配置
<form-beans >
<form-bean name="userForm" type="y2ssh.lepai.form.UserForm" />
</form-beans>
<action-mappings >
<action
attribute="userForm"
input="/index.jsp"
name="userForm"
parameter="method"
path="/user"
scope="request"
type="org.springframework.web.struts.DelegatingActionProxy">
<forward name="manager" path="/WEB-INF/jsp/manager.jsp" />
<forward name="admin" path="/WEB-INF/jsp/admin.jsp" />
</action> </action-mappings>
<plug-in className="org.springframework.web.struts.ContextLoaderPlugIn">
<set-property property="contextConfigLocation" value="WEB-INF/applicationContext.xml" />
</plug-in>spring配置
<!-- 配action -->
<bean name="/user" class="y2ssh.lepai.action.UserAction">
<property name="userBiz" ref="userBiz" />
</bean>运行时,报501错误
HTTP Status 501 - Error. Details logged to the console--------------------------------------------------------------------------------type Status reportmessage Error. Details logged to the consoledescription The server does not support the functionality needed to fulfill this request (Error. Details logged to the console).
--------------------------------------------------------------------------------
望高人指点
解决方案 »
- JSP调用javaBean找不到类,急!!!菜鸟求高手
- 关于 jsp页面 提交时 设置 cookie
- 数据库连接问题
- 防重复提交(B/S)
- eclipse类报错Fee2arRequestValueRO cannot be resolved to a type
- 关于<html:radio和checkbox的问题
- 如何在RESIN+window2003里配置多个站点,
- 数据库连接池的问题啊!!!
- jsf 提交问题 急
- 安装了J2EESDK1.4了,也安装了JAVA WEB START,可是我不知道怎样才可在EXPLOERE中运行我的JAVA程序,
- 请教一个xpath的问题
- java连接针式打印机输出
<allow>
<create javascript="checkCollection" creator="spring">
<param name="beanName" value="depaImpl"></param>
</create>
</allow>
</dwr><bean id="depaImpl" class="com.aps.comm.departmentManager.DepartmentServiceImpl">
<property name="departmentDao" ref="depaDao"/>
</bean>
depaImpl 指向的实现类,调用底层。