This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JSF and the fly likes how to redirect request on click of a button. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "how to redirect request on click of a button." Watch "how to redirect request on click of a button." New topic
Author

how to redirect request on click of a button.

Maneessh saxena
Ranch Hand

Joined: Oct 03, 2006
Posts: 125
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


SCJP 1.4, SCWCD 1.5
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41034
    
  43
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.


Ping & DNS - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to redirect request on click of a button.
 
Similar Threads
Navigate from one JSP to another
how to clear request object
How to exit from a jsp page
Jsp to pdf
open a popup window of a pop up window from the parent window