I am using ADF faces. I have to open a new jsp page in new window from one of my jspx pages on button click. This target jsp page is deployed in other web server and expects some input values in request which user has input in my jspx page.
How I can achieve this? Do I have to use the javascript on button click or I can make use of ADF Faces Dialog?
Following is my target jsp page which I have to invoke on button click in jsf page:-
Easiest way is to code down a plain vanilla HTML form with an action URL pointing to the JSP in question.
That said and looking at the code snippet, why you mixing scriptlets with JSF? Just use EL the usual way. Omit scriptlets. They indicate in all circumstances a bad practice.
Thanks Bauke for reply. But the target jsp is not being used by our application, bot other applications also. That is the reason I am bound to use the same jsp with scriptlets.
I also have to disable the source window when user click on the command button. Is there any way to achieve this.
Thanks again,
Vikram
Vikram PracLabs
You will always be treated with dignity. Now, strip naked, get on the probulator and hold this tiny ad:
Gift giving made easy with the permaculture playing cards