struts的问题?谢谢援助。

dengzi725 2004-04-02 05:18:37
原来的代码:
<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也不出来了。
这个是怎么回事呢?请老大帮忙。多谢。
...全文
25 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
xch28 2004-04-02
  • 打赏
  • 举报
回复
你发了两个这样的贴子.
晕...........
我来接分分.
dengzi725 2004-04-02
  • 打赏
  • 举报
回复
多扣了我的分,还说我的信誉差,我不知道这是什么玩意。 给钱还被人说傻。。。。。。。。。。。。
dengzi725 2004-04-02
  • 打赏
  • 举报
回复
csdn 还宰人 我给出问题前是380分 ,提了个50分的问题就变成了 230分了。 我真晕,“做人要厚道?”

81,094

社区成员

发帖
与我相关
我的任务
社区描述
Java Web 开发
社区管理员
  • Web 开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧