以下の2つのページがあります。
.../ hello.jsf url によってレンダリングされる hello.xhtml 。
<h:form>
<h:commandButton id="submit" value="Submit" action="response"/>
</h:form>
.../ response.jsf url によってレンダリングされる response.xhtml 。
<h:form>
<h:commandButton id="back" value="Back" action="hello"/>
</h:form>
[送信] ボタンをクリックすると、hello ページが応答ページにリダイレクトされますが、URL は同じままです。つまり、URL は .../hello.jsf のままです。
Submit ボタンをクリックした後の URL を.../response.jsfにしたいです。何か助けてください。
どうもありがとう!