Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
forward/redirect to another URL
krabu
I need a way to exit a report and forward/redirect to another URL, *.jsf.
E.g. if a certain condition is true I want to quit the report and redirect
the user to an error/information page.
In beforeFactory I have the following code:
cookys = request.getCookies();
if( cookys ) {
testcook = "Cookies:: ";
for( uu=0; uu < cookys.length; uu++ ){
if(cookys[uu].getName().equals("login")){
testcook = cookys[uu].getValue();
}
}
}else{
testcook = "No cookies";
.......... REDIRECT to ..../login_in.jsf
}
How can I do this?
Find more posts tagged with
Comments
There are no comments yet