struts的问题?谢谢援助。
原来的代码:
<html:form method="post" action="/student/newCalenda.do?info=calendaInfo" >
```````````````
</html:form>
、、、、、、
<!-- Process student studyCalenda -->
<action path="/student/newCalenda"
type="com.webexedu.CalendaAction"
name="CalendaForm"
scope="request"
input="/student/studyCenter/studyCalendaNew.jsp">
<forward name="success" path="/student/studyCenter/studyCalendaList.jsp"/>
</action>
修改后的代码:
<html:form method="post" action="/student/studyCenter/newCalenda.do?info=calendaInfo" >
、、、、、、、、、、、、、、
</html:form>
<!-- Process student studyCalenda -->
<action path="/student/studyCenter/newCalenda"
type="com.webexedu.CalendaAction"
name="CalendaForm"
scope="request"
input="/student/studyCenter/studyCalendaNew.jsp">
<forward name="success" path="/student/studyCenter/studyCalendaList.jsp"/>
</action>
就是在action中写全了路径,原来的代码还是能显示出执行的结果的。但是加了/studyCenter之后连studyCalendaNew.jsp也不出来了。
这个是怎么回事呢?请老大帮忙。多谢。