Win a copy of Murach's Java Programming this week in the Beginning Java forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

how to redirect request on click of a button.  RSS feed

 
Maneessh saxena
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI Ranchers,
Actually I need to show a pop up on click a button which is a jsp. I've the URL for that perticular jsp. But as I am new to JSF I don't know the syntax/method to get my work done. Please help guys...

Thanks & Regards
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The easiest way would be to have the link open in a new window by using a target attribute: <a href="..." target="_blank">click here<a>. I'm sure JSF supports this somehow; it's a very common thing to do.
 
What's wrong? Where are you going? Stop! Read this tiny ad:
Thoughts on deprecation in Java
https://coderanch.com/t/683016/java/Deprecation-Java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!