My directory structure is like this.
-- dir
-- dir1
--file_1
-- dir2
--file_2
I have one jsf button as mentioned below.
<h:commandButton id="Register" style="background:#50A7E6;color:white" value="Register" action="../dir1/file_1?faces-redirect=true" class="btn btn-info loginmodal-submit"></h:commandButton>
I want to redirect from file_2 to file_1. As I mentioned in the action part, It should work but It is not redirecting to the page.
Can someone please help me?
Thanks.