<form> ...name=username | --> String username=xxx;
...name=password | --> String password=xxx;
...name=bookList[0].username | --> List<User> bookList[0].username=xxx;
...name=bookList[1].username | --> List<User> bookList[1].username=xxx;
</form>
...name=password | --> String password=xxx;
...name=bookList[0].username | --> List<User> bookList[0].username=xxx;
...name=bookList[1].username | --> List<User> bookList[1].username=xxx;
</form>
2015-12-30
说真的,这视频做的不怎么样,从头到尾确实讲了几个例子,但是并没有在写代码的过程中教会学生怎么一个原理,怎么一个传参原理,从哪到哪。不是说讲师没有用心,只是说既然是做视频就应该要有它的侧重点在哪。60分
2015-12-28
<package name="default" namespace="/" extends="struts-default">
<action name="hello" class="allen.Helloaction"> public class Helloaction extends ActionSupport {@Overridepublic String execute() throws Exception {System.out.println("执行");return SUCCESS;}Unable to load configuration. - action - file:
<action name="hello" class="allen.Helloaction"> public class Helloaction extends ActionSupport {@Overridepublic String execute() throws Exception {System.out.println("执行");return SUCCESS;}Unable to load configuration. - action - file:
2015-12-19
jsp+javaBean=Model 1 适用于小型网站的开发
jsp+Servlet+JavaBean=Model 2 最典型的MVC模式
在struts中,Controller就是action
jsp+Servlet+JavaBean=Model 2 最典型的MVC模式
在struts中,Controller就是action
2015-12-17