我需要使用<h:commandButton type="submit">
以下形式來執行支持bean方法:我可以寫actionListner或行動的<h:的commandButton類型=提交>
<h:form id="login" prependId="false" onsubmit="document.getElementById('login').action='j_security_check';">
<h:commandButton type="submit">
</h:form>
我試圖界定action
以及actionListner
但是,從不執行backing bean方法。我該如何實現這個目標?