Open a new browser from BackingBean

Hi all,

My quetion is:

When a push on a button in my *.jsf page I generate a event, this event is manage by a backingbean java class, as far OK.

After process the request in my backingbean, I want to open a new browser, how can i do that?

Message was edited by:

juanjo.garcia

[313 byte] By [juanjo.garciaa] at [2007-11-27 10:42:49]
# 1

You can do that kind of things with javascript not JSP or JSF.

xyzta at 2007-7-28 19:20:47 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2

Ok, but my aplpication has several modules and one of this is the pdf generator, and I need to redenring on the browser.

Thanks.

juanjo.garciaa at 2007-7-28 19:20:47 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3

2 ways:

<a href="newwindow.jsp" target="_blank">

or

<someElement onclick="window.open('newwindow.jsp');">

BalusCa at 2007-7-28 19:20:47 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 4

Ok, Thanks Ill try it.

juanjo.garciaa at 2007-7-28 19:20:47 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...