正如Struts的struts
login
/welcome
user
com
session
在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; }
}
user
com
session
name
me
password
secret
faces
[
From:http://tw.wingwit.com/Article/program/Java/ky/201311/29061.html