Solved

Change page from the Java code

Posted on 2009-07-01
1
306 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

Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
custom annotations 9 42
how to see all occupied ports on windows 10 laptop 15 77
ejb on wildfly 5 30
intellij error 2 17
Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…

820 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