• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Tim Cooke
Sheriffs:
  • Rob Spoor
  • Liutauras Vilda
  • paul wheaton
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Mikalai Zaikin
  • Carey Brown
  • Piet Souris
Bartenders:
  • Stephan van Hulst

Open JSP page deployed in other web server

 
Ranch Hand
Posts: 174
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

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:-



Thanks much
Vikram
 
Ranch Hand
Posts: 2458
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Vikram Kohli
Ranch Hand
Posts: 174
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
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
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic