I need to redirect to another page which is already present under the websites folder, from inside a form in a jsp...
my jsp s this :
<input type = "button" value= "click here" class = "MyPage"/>
the class s for the css...
I had tried using "/content/mypage.html"
I am open to any ideas which would give me redirection other than using "a href"....here i am using a button...and the requirement s a button...:(
please help me out...
Regards and Thanks,
How about using CQ OOTB form component whose "form-start" will have an editable/authorable field - "Thank You page". This field will take the target URL for the current form i.e., on submit the form takes you to the thank you page. If you don't want to use OOTB form, you may want to see how it renders the HTML and follow the same.