Displaying facemessage to a another page other than requested page

Dear All,
I have requirement to display FaceMessage to an another page that is other than the requested page.
Code in the backing bean is some thing like this.
Login.java:
if(login.validate())
FacesContext.getCurrentInstance().addMessage(null,
new FacesMessage("User logged Successfull!"));
return "success"; // Which will show success.jsp
else
FacesContext.getCurrentInstance().addMessage(null,
new FacesMessage("Invalid login!"));
return "failure"; // Which will show login.jsp
I am able to display the "Invalid login message succesfully in the login.jsp if the user is not a valid user.
But if user is successfull, it's not showing any message in the success.jsp
Thanks in advance
Manas

Does the navigation case have a <redirect/> directive for the 'success' case? If so, remove it.
Does the success JSP file have a <h:messages/> tag? If not, add it.

Similar Messages

  • How can i transfer songs from another itunes other than mine

    how can i transfer songs from another itunes other than mine

    Purchases made under 1 Apple ID are permanently associated with that Apple ID and CANNOT be transferred to another Apple ID.  So if you want to keep those songs, you'll need to always have access to your dad's account.
    B-rock

  • I'm going to another country for a year and I would like to unlock my phone to take another sim other than my carrier. My contract with my present carrier is finished yet they still wouldnt unlock the iphone 4 for me. How can I be able to unlock it?t

    I'm going to another country for a year and I would like to unlock my phone to take another sim other than my carrier. My contract with my present carrier is finished yet they still wouldnt unlock the iphone 4 for me. How can I be able to unlock it?t

    Only the carrier to whom the device is locked can unlock it.
    If you do not meet their requirements or they do not offer unlocking there is no official way to unlock the device.
    Who is your carrier?

  • 10.6.2 won't install to another volume other than the boot volume

    Report a possible bug to Apple.
    as is often recommended for updates, I install from another volume other than the one I want to update, and never update the volume I am booted from. The 10.6.2 update (both combo and update only) won't update any other volume other than the one booted from. Previous updates of OS X have always been able to do this. When I try to change installation location to another volume (which contain 10.6.1) it posts an error saying "This update requires 10.6.2 to be installed", which is wrong it two ways. First, how can an upgrade require itself to be installed before it will actually install. Second, there is no reason it shouldn't have been able to update the 10.6.1 volume. I had two 10.6.1 volumes, when booting from either one, it wouldn't update the other. The update will install if it's run on the volume I boot from, but that defeats the purpose of trying to eliminate update issues by installing from another volume.

    -update-
    In order to to update remotely, there seems to be a number of new and interesting restrictions
    imposed. I came to these basic conclusions by experimentation:
    1. I was unable to install a 10.6.2 update to a remote 10.6.0/10.6.1 volume, while booted from
    a 10.6.0/10.6.1 volume. In other words I had to be booted from a 10.6.2 volume to be able to
    remotely install (or reinstall) a 10.6.2 update to a remote 10.6.0/1/2 volume.
    2. If the volume I was installing to was another internal volume, then I usually (but not
    always) had to set the volume I was trying to install to, as the default startup volume in system
    preferences before the installer would accept it as a valid volume to update.
    3. If the volume I was installing to was a firewire or USB drive, then the #2 restriction did not apply,
    but the the #1 restriction still applied (I still had to be booted from a 10.6.2 volume to install
    a 10.6.2 update).
    4. If, after following the above rules, you are still having trouble, simply rebooting and trying
    again will usually work.
    So in conclusion:
    Remotely updating an external firewire or USB drive was relatively simple and easy, just boot
    from an internal 10.6.2 installation and do it.
    Remotely updating another internal drive though, can be quite annoying.
    Apple, it seems, is heavily promoting the automatic update method.
    Lately, it seems, it is getting more and more difficult in many cases, to get a major
    OS update to "take" properly. I have been heavily using the "bare bones admin account"
    method (outlined in my previous post) for the last several months with good success.
    I agree with you that the remote method should be the best, but Apple's install packages
    have become increasingly difficult to install using that method, even in 10.5.x.
    I will say this though, the updates I installed today using the remote method
    are working just fine, even though I had to wrestle with them to get them installed.
    Kj ♘

  • Can I install Calendar Server on another partition other than root file system

    Can I install Calendar Server on another partition other than / ?
    <P>
    In this version, the default path is hard coded to install in
    /users/unison. However, if you do not have enough room on your root
    partition or choose to install it in another location, you can do so
    using a logical link. The installation guide explains this as well.
    <P>
    For example, suppose you want /users/unison, which must NOT already
    exist, to be logically linked to /var/opt/unison, which must exist.
    Then as root user:
    <P>
    <UL>
    <LI>
    Create the directory /users (if it does not already exist)
    <P>
    % mkdir /users
    <P>
    <LI>
    Create the logical link. The directory /users/unison must
    NOT exist before doing this.
    <P>
    % ln -s /var/opt/unison /users/unison
    </UL>
    <P>
    <P>

    makes a lot of sense.  I am looking for an answer myself.  My documents folder long ago outgrew it's place on the boot drive.  It would be nice to keep it in the user folder organized on another disc

  • Are there any reference manager systems that allow inserting citations into pages other than endnote?

    Are there any reference manager systems that allow inserting citations into pages other than endnote?

    Only Endnote is integrated with Pages. How other reference manager systems work, i do not know but that are not integrated with Pages.

  • Any suggestions for good free web hosting service for my IWeb page, other than MObileMe

    Any suggestions for good free web hosting service for my IWeb page, other than MobileMe?

    MobileMe is not free.
    Search : free webhosting
    You can narrow the results by being more specific by adding town, province or country.
    You can also start by checking out your own ISP.
    Or be free as in here : www.000webhost.com
    Here's mine : http://dailynews.webege.com/

  • How can I publish my pdf catalogue as a book - flipping pages rather than scrolling pages?

    How can I publish my pdf catalogue as a book - flipping pages rather than scrolling pages?

    Hi andrewh13313189,
    If you have Acrobat Pro, you can apply page transitions to your PDF. Please see: Adobe Acrobat X Pro * Add page transitions (these instructions also apply to Acrobat Pro XI).
    Best,
    Sara

  • How do I get the pages to be another color other than white? I have my theme chosen but all the pages background are white! Please help.

    Please help me change the color of the pages in Firefox to be other than white. My hotmail page, my ebay page, my facebook pages are all white backgrounds. I have my theme chosen but the pages are still all white. How do I change this. Thanks, Laura

    There is an extension called NoSquint that might help.
    * https://addons.mozilla.org/en-US/firefox/addon/nosquint/
    After I got a 27" screen, I had problems with the interface text being too small as well. That can be fixed with Mozilla applications if you set up a userChrome.css file in the profile inside a subdirectory called chrome. The code I used:
    @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
    *{font-family: Trebuchet MS !important; font-size: 15px !important;}

  • Can iWeb be hosted by another site other than .Mac?

    I have already purchased a domain name and a hosting agreement with GoDaddy, however I cannot utilize their web page templates for some reason. Another mac user suggested I purchase iWeb and then have GoDaddy host. Can that be easily accomplished?

    Yes, it can be easily accomplished. Here's iWeb's Help info on this topic...
    Publishing to a server or hosting service other than .Mac:
    Instead of publishing your site to .Mac, you can publish your site to a local folder and then upload it to the server or hosting provider of your choice. You may want to use this method if you own a domain name and want to place your site there.
    To publish your site to a local destination:
    Choose File > Publish to a Folder.
    Choose a location to store your site, and then click Choose.
    After you publish your site to a folder, you can use an FTP (file transfer protocol) client to upload the site folder and index file to the location of your choice. iWeb does not provide an FTP client, but they are easy to obtain. Some hosting services provide a web-based FTP upload service, or you can download an FTP client from the web. For more information, contact your server administrator.
    If you don't publish your site to .Mac, these features are unavailable:
    Password protection
    Blog comments
    Blog search
    Hit counter
    Enhanced slideshows
    Also, for Subscribe buttons to work, you must specify your site's URL in the field provided after you publish to a folder.

  • Crystal XI Starting with a page other than "1"

    I have a crystal report that contains 2 subreports. I have set it up to number pages "N of M" using the page number special field. I would like to keep this same format, but I would like the page number to start at "13".
    Edited by: Megan5 on Jan 18, 2010 5:59 PM

    Hello Megan,
    Go into the section expert for the group that you want to base the page count on and enable reset page number after for the group footer. It would also be a good idea to enable new page after conditionally based on not(OnLastRecord) if you haven't already.
    As well it may be easier to place the formula in the Group header and in the group expert > options > options tab enable repeat group header on each page rather than have the formula in a Page Header.
    Edited by: Graham Cunningham on Jan 18, 2010 1:39 PM

  • Changing Payment Method Form iTunes Gift Card To Credit Card In Another Country other than US iTunes Store

    My iTounes account orignaly US iTountes Store adn i Redeemed an iTounes Gift Card and it has a $ 0.78 and I want to change to another payment method to a credit card in antoher country than US and the system asks me to spend the $ 0.78 first to change to another payment method before changing the countyr of iTounes store, therefore I cant change to a new payment method before spending the $ 0.78 and there is nothing with this rate and I cant cahnge payment mehod to a credit card becose I live now in other than US with credit card info of my present location and doesnt match US iTones infomation.
    What to do?

    You need to Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact

  • Displaying a Reply To Address not Other Than the Sending Address

    I have my gmail set up to display, to my recipients, an address different than my gmail address. The gmail address does not appear in my emails. Although Mail allows one to specify a "Reply To:" address, the sending address is still displayed. Is there any way in Mail to achieve the described gmail behavior?

    Hiya - I think I just figured out how to do this - see my post here: http://discussions.apple.com/message.jspa?messageID=10591255#10591255

  • How do i install itunes on another drive other than c

    I would like to install itunes on a drive other than c drive in a fresh install to keep it free from my operating system.Itunes is not currently installed on my computer, so i dont need to transfer anything or move anything and i dont want to put itunes on a external hard drive as i just simply want to do a fresh install on a drive other than c drive. Can itunes accomodate me in this simple task.

    Install it normally, launch it with the Shift key held down, and create a new library on the desired drive. The iTunes application contains system components and therefore must be installed on the drive or partition containing the OS.
    (95467)

  • System folders on another drive other than boot drive

    hi, guys...
    does anyone know anything about moving your folders such as "documents, photos, movies, music" to an external drive or separate partition in snow leopard?  or how this might affect Lion?
    i've found some online documentation that shows you can move your entire home folder (which i don't want to do), and some documentation that you can use symbolic links (via a few terminal commands) so that the actual system folder can be moved elsewhere with an alias being the actual reference folder.
    the reason i want to do this is to move my music and photo folders to a storage partition.  i add and delete so often on these that it ends up fragmenting my drive and bogs down my startup disk.  also, i'm going to move soon to an SSD as my startup drive, either 128 or 240 gb and use it only for system files and move all my data elsewhere.
    but as you know, os x likes certain things in the default folders.
    so i guess i'm looking for anyone's thoughts on this.
    oh, and i do have a question.  if i can use a symbolic link and have the actual data reside elsewhere, if i do a time machine backup and it's backing up all my system and user folders, will it backup the data that resides elsewhere, or would i have to actually back up separately from the other location where the music and photos reside?
    is this making any sense to anyone?

    makes a lot of sense.  I am looking for an answer myself.  My documents folder long ago outgrew it's place on the boot drive.  It would be nice to keep it in the user folder organized on another disc

Maybe you are looking for