在Struts
在index
action的值必須匹配form
JSF有一個獨立的事件發生和頁面導航的流程安排
managed
但是如果你只以為JSF的managed
Ioc模式
對於Userbean這樣一個managed
public class UserBean {
private String name;
private String password;
// PROPERTY: name
public String getName() { return name; }
public void setName(String newValue) { name = newValue; }
// PROPERTY: password
public String getPassword() { return password; }
public void setPassword(String newValue) { password = newValue; }
}
< managed
< managed
< managed
< managed
< managed
< property
< value>me< /value>
< /managed
< managed
< property
< value>secret< /value>
< /managed
< /managed
faces
[
From:http://tw.wingwit.com/Article/program/Java/ky/201311/28959.html