Solved

Change page from the Java code

Posted on 2009-07-01
1
281 Views
Last Modified: 2013-11-24
Hi!

I want to change the page in my request Bean, this isn't in a  commandbutton/link with an action.

So how can I say: Go to the loggon page by exemple?

Thanks you!
0
Comment
Question by:Nargzul
1 Comment
 
LVL 1

Accepted Solution

by:
Nargzul earned 0 total points
ID: 24757185
I think I've found:

FacesContext.getExternalContext().redirect("my_jsf_page.jsf");
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Suggested Solutions

Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
This video teaches viewers about errors in exception handling.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now