<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("執(zhí)行");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("執(zhí)行");return SUCCESS;}Unable to load configuration. - action - file:
2015-12-19
jsp+javaBean=Model 1 適用于小型網站的開發(fā)
jsp+Servlet+JavaBean=Model 2 最典型的MVC模式
在struts中,Controller就是action
jsp+Servlet+JavaBean=Model 2 最典型的MVC模式
在struts中,Controller就是action
2015-12-17