以下代碼顯示瞭如何進行bean注入。我們先定義一個消息bean,它有一個字符串屬性來存儲消息。 @ManagedBean(name="message") @SessionScoped public class Mess.
確定! 回上一頁