Topic: 是我错了呢,还是Spring MVC step-by-step有误? |
Print this page |
1.是我错了呢,还是Spring MVC step-by-step有误? | Copy to clipboard |
Posted by: yeafee Posted on: 2005-11-21 12:38 关于Spring 附带doc中Spring MVC step-by-step 1的疑问:
Controller中的确是有return new ModelAndView("hello.jsp");这样的跳转语句,但就是不明白如何关联的这index.jsp和hello.jsp呢? 求助? |
2.Re:是我错了呢,还是Spring MVC step-by-step有误? [Re: yeafee] | Copy to clipboard |
Posted by: yeafee Posted on: 2005-11-21 13:02
是否应该作出像上面的改动呢? |
3.Re:是我错了呢,还是Spring MVC step-by-step有误? [Re: yeafee] | Copy to clipboard |
Posted by: floater Posted on: 2005-11-21 21:58 *.htm are mapped to controllers in springapp-servlet.xml, then controllers send out jsps. So those .htm are not files, but urls. |
4.Re:是我错了呢,还是Spring MVC step-by-step有误? [Re: yeafee] | Copy to clipboard |
Posted by: yeafee Posted on: 2005-11-23 09:06 thanks for for floater's direction. |
Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1 客服电话 18559299278 客服信箱 714923@qq.com 客服QQ 714923 |