Same JSF page is being displayed after submitting form

I have a situation where some of my JSF pages occassionally misbehave. For example, sometimes when I click a <h:commandButton/> (which is located within a <h:form> tag) the action which the button is wired to is not executed. Instead the same page is displayed.
Please note that this glitch happens intermittently with no fixed pattern.
It is also interesting to note that the data which the user enters (prior to clicking the button) on the JSF form is also lost and has to be re-entered again by the user.
Functionally, this is only a minor problem however from a usability perspective this is a major major problem!
I have tried:
Adding <h:messages /> components to jsp pages in order to see if there are any errors.
Verified the spelling of the outcomes ("success", "cancel") in my navigation rules and in the action methods.
Verified the spelling of my bean in the definition as a managed bean in the faces-config.xml file and in the jsp page.
Verified the name of my action method, in the jsp and in the backing bean.
Checked by logging if the action method is reached.
Used the jsf phase tracker to print life cycles phases. However, when the page "misbehaves" this misses out all the application level phases i.e only phases restore view and render response are actually passed.
Created getters and setters for all bean attributes
I am desperate to fix this. Has anybody found a solution to this problem? Please let me know!
Thank you.

I am using JSF version 1.1 and the application server I am using is BEA WebLogic Server 9.1.
The page is one in a series like a "bread crumb" trail or in the style of a wizard if you like. The user goes from one page to the next and can go back if he so wishes.
I have a user form. One part of the form requests the user to enter an email address and then click an "Add" command button. However, sometimes instead of adding the email address to the data table the same JSF page is displayed when the button is clicked and all the data is lost, resulting in the user having to re-enter all the information on the form again!
Hope this helps.

Similar Messages

  • Incorrect menu being displayed after several forms are called and closed

    Have been searching and agonizing for a few hours and still can't find the reason for this.
    Forms v9i web version
    The starting form (main_form) has a custom menu (cus_menu) and this is displayed when the user begins the application. Form B can be called in two different ways:
    1) Directly from the main_form menu, here is the code: call_form('FORM_B',HIDE,DO_REPLACE);2) Via a button from another form, Form C which is called from the menu in the same way as Form B was. Code for the button is same as above.
    The menu attached to Form B is another custom menu (b_cus_menu).
    The problem occurs when Form B is called via the second method.
    Here are the steps,
    1) From main_form, Form C is called from the menu (cus_menu)
    2) Button is pressed that calls Form B (call_form('FORM_B',HIDE,DO_REPLACE);).
    3) Menu correctly changes to b_cus_menu
    4) Form B is closed and now Form C is visible. Menu correctly reverts to the menu set for form C.
    5) Form C is closed and main_form is now visible. Menu incorrectly reverts to the menu used in form B (b_cus_menu) instead of cus_menu.

    Problem seems to only occur when Form B has the same window name as the main form. Strange...
    Message was edited by:
    SamB

  • Oem web page will not display after O/S dst patch

    Hello,
    The Grid web page will not display after we DST patch for the o/s.
    All below start fine without any errors:
    emctl start oms
    emctl start iasconsole
    opmnctl startall
    emctl start agent
    The Grid web page is not displaying. What might happened after the o/s dst patch that might cause this? Our GRID is 10204 with a 10104 repository. The 10104 has not yet been dst patch.
    What logs should I be looking at to figure why the web page is not displaying? Thank you.

    Provide the output of these comands:
    $OMS_HOME/bin/emctl status oms
    $OMS_HOME/opmn/bin/opmnctl status
    $AGENT_HOME/bin/emctl status agent
    $DATABASE_HOME/bin/sqlplus "/ as sysdba" << EOF
    SELECT STATUS FROM V$INSTANCE;
    EOF
    $DATABASE_HOME/bin/lsnrctl status LISTENER_NAME
    Regards

  • Page cannot be displayed after some time

    After submitting a request for processing a stateless session bean calls a procedure using callable stmt.This takes some time like 6 mnts.After processing it is suppose to give a message back.The browser times out in between and flashes page cannot be displayed.
    What can be done for this?
    Please get back to me
    [email protected]

    Hi,
    I think problem might be with ur Application server or some connection with ur DB.u just check ur Application server and restart it. .it 'll work.

  • Loading page animation while JSF page is being loaded

    JSF 2.1
    Mojarra 2.1.7
    JBoss 7.1.1
    The backing bean on my JSF page(s) are view-scoped, and during the initial request, the backing bean's @PostConstructor method may take some time to return as it is calling external systems that are outside of my control. Thus, during the RENDER_RESPONSE phase of the initial request to the JSF page, it may take, on average, 3 to 5 seconds to return ( sometimes longer than that .... which again, is outside of my control ). While this is happening, the page rendered is of course blank as the response has not been written yet.
    Naturally, I am thinking of a way to show an animated loading image.
    1) I have seen suggestions of using a4j:status and a4j:region, but these are only valid for Ajax requests, while what I need is something that I can use during the initial request ( not a post back ), of a JSF lifecycle.
    2) Suggestions of using two HTML divs... one DIV shows the animated image while the other DIV wraps the real content, but is initially hidden. Then use window.onload() to swap the style of the two DIVs so that the DIV wrapping the real content becomes visible while the DIV wrapping the animated image becomes hidden.
    But then again ... these DIVs will NOT be written to the response yet as I am still in RENDER_RESPONSE phase.
    The only thing that I can think of is to:
    3) Create another page whose sole purpose is to show the animated image, then somehow immediately forward the request to the real page. The animated image on the first page will hopefully continue animating until the final page is rendered.
    What have you guys done ?

    jmsjr wrote:
    gimbal2 wrote:
    3(alt)) show a view which displays the animation and then triggers the long-loading page to be requested (no forward). The long-loading page does not generate any response until there really is something to show, to keep the animation view visible.
    This was the simplest solution by far .. although there are some quirks to be deal with when using IE.As usual :/ It remains a questionable product no matter how many times they reinvent the wheel.

  • Page cannot be displayed after login to applications

    Hi,
    On trying to login to self services, the browser returns "Page cannot be displayed". I checked the apache error_log and it says
    File does not exist: /ins01_app01/EUROPA/europacomn/portal/EUROPA_camvmowt2/favicon.ico
    [Thu Sep 17 03:42:35 2009] [notice] caught SIGTERM, shutting down
    I bounced apache, but did not help.
    I ran autoconfig and it was successful.
    I tried to open aoljtest.jsp page "http://...../OA_HTML/jsp/fnd/aoljtest.jsp" and it renders correctly.
    Any help will be greatly appreciated.
    Thanks,
    Moni

    Hi,
    What is the application release?
    Was this working before? If yes, what changes have been done recently?
    Please verify that no errors can be found in the database log file.
    If the document referenced above did not help, I would suggest you enable debug to collect more details about the error -- See (249669.1 - How To Collect Apache and Jserv Debugging Details For Applications 11i) for details.
    Regards,
    Hussein

  • Forwarding JSP page through requestdispatcher problem in submiting form

    Hello everyone,
    I am very much new to servlet.
    My problem is somewhat this....
    when i am forwarding one JSP page by requestdispather , there is no problem.But after that when i am trying to submit one html form written inside the jsp page , the request is not submiting the jsp page rather it resides in the servlet.
    The code in servlet is
    RequestDispatcher rd =getServletContext().getRequestDispatcher("/applyConfirm.jsp");
    rd.forward(request,response);
    Now in (applyConfirm.jsp )jsp page one button is there , so when i will click that button the page has to be submitted.But its not submitting rather the request resides in the servlet.
    Dose someone will have any idea.
    Thanks in advance

    First check what sort of button you are using. It should be of "submit" type.
    Check the URL to witch URL it is submitting i.e. Action property in <FORM> tag.
    Make sure for the URLs in the client i.e HTML ex: href, action, and so on use the thumb rule of prefixing "<%=request.getContextPath()%>/" in your JSP or in servlet add it in the java code.
    This should solve the relative URL reference problem.
    Hope this helps.
    Cheers.

  • Send email to user after submitting form

    hi all. so, i made a visitor registration page using PHP and
    everything works, but i'd like to send an email to visitors after
    they submit the registration form. the only post i could find here
    with the same question is
    here. but the answer involves using
    a form handler, and i don't think my form is using a handler,
    because i did it with PHP and server behaviors. of course, this is
    my first PHP page, and i'm not all that experienced with forms
    either, so i don't entirely know what i'm talking about.
    so, does anyone know how to do this using PHP and server
    behaviors? seems like it should be easy enough, but nothing i've
    tried works!
    thanks in advance for the help!

    I figured that would be asking too much. But you're right....
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Paul Whitham AdobeCommunityExpert"
    <[email protected]> wrote in message
    news:[email protected]...
    > Murray
    >
    > That will only work provided that they do not want any
    information from
    > the form contained in the email. What you can do is
    locate the line in the
    > insert code that fires the page redirection and place
    the mailing script
    > above it.
    >
    > --
    > Paul Whitham
    > Certified Dreamweaver MX2004 Professional
    > Adobe Community Expert - Dreamweaver
    >
    > Valleybiz Internet Design
    > www.valleybiz.net
    >
    > "Murray *ACE*" <[email protected]>
    wrote in message
    > news:[email protected]...
    >> Have the server behavior send the form page to
    another page that sends
    >> the email. Have this page relocate to the thank you
    page, or even back
    >> to the form page when it is done.
    >>
    >> --
    >> Murray --- ICQ 71997575
    >> Adobe Community Expert
    >> (If you *MUST* email me, don't LAUGH when you do
    so!)
    >> ==================
    >>
    http://www.dreamweavermx-templates.com
    - Template Triage!
    >>
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    >>
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    >>
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    >> ==================
    >>
    >>
    >> "n h c" <[email protected]> wrote
    in message
    >> news:[email protected]...
    >>> hi all. so, i made a visitor registration page
    using PHP and everything
    >>> works,
    >>> but i'd like to send an email to visitors after
    they submit the
    >>> registration
    >>> form. the only post i could find here with the
    same question is <a
    >>> href="
    http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=12&am
    >>>
    p;catid=189&amp;threadid=1125827&amp;highlight_key=y&amp;keyword1=send
    >>> email">here</a>. but the answer
    involves using a form handler, and i
    >>> don't
    >>> think my form is using a handler, because i did
    it with PHP and server
    >>> behaviors. of course, this is my first PHP page,
    and i'm not all that
    >>> experienced with forms either, so i don't
    entirely know what i'm talking
    >>> about.
    >>>
    >>> so, does anyone know how to do this using PHP
    and server behaviors?
    >>> seems like
    >>> it should be easy enough, but nothing i've tried
    works!
    >>>
    >>> thanks in advance for the help!
    >>>
    >>
    >>
    >
    >

  • Same JSF page being shown for different command links

    Hi
    I have two command links and as per navigation-rules, both of them go to the same page "Common.jsp" which has a <jsp:include> to include another file which is gets from session.
    Each command link specifies its own JSP page to be included (in common.jsp) and adds them to the sesion.
    After selecting one command link the desired page is showing up fine...
    However if I come back and select the second command_link, it shows the same page again.
    It does not even go to the action_listener of the second command_link.
    Is there any way to force it go to the actionlistener of the command_link where I can specify a different page in the session... ?
    Thanks

    Hi
    I have two command links and as per navigation-rules,
    both of them go to the same page "Common.jsp" which
    has a <jsp:include> to include another file which is
    gets from session.
    Each command link specifies its own JSP page to be
    included (in common.jsp) and adds them to the sesion.
    After selecting one command link the desired page is
    showing up fine...
    However if I come back and select the second
    command_link, it shows the same page again.
    It does not even go to the action_listener of the
    second command_link.
    Is there any way to force it go to the actionlistener
    of the command_link where I can specify a different
    page in the session... ?
    What do you mean by "specify a different page in the session"? An <h:command_link> always goes back to the page it was originally rendered from, and expects the action invoked by the command to determine where to go next. If you really want to go to different pages, you should either make the action method return different results (i.e. trigger different navigation rules) or consider using <h:output_link> instead, where you can define the destination URL yourself.
    Craig McClanahan
    Thanks

  • PDF Not Displayed After Parameter Form Submitted

    We are moving a Forms6i application to web deployed Forms10g. Reports with parameter forms are being called using web.show_document(...) with the oracle.reports.utility.FrmReportsInteg JavaBean to hide database login credentials, as described in the Forms/Reports integration white papers.
    On our development server this process works as expected: the form displays a new browser window containing the parameter form with URL http://server/reports/rwservlet?userid=&report=report&desformat=pdf&destype=cache&paramform=yes, the parameter form is submitted, and the report output is displayed as a PDF embedded in the new browser window.
    However, on our customer's test server, after the parameter form is submitted, the Oracle Reports OracleAS Reports Services - Servlet Command Help page is displayed. Executing the rwservlet/showjobs command shows the job as being successfully completed. Clicking on the Job Name link redisplays the parameter form, and submitting this returns to the Oracle Reports OracleAS Reports Services - Servlet Command Help page.
    I have not been able to trace any other posts describing the same behavior on Metalink or OTN. Has anyone else seen this?
    Development server is OracleAS 10g (9.0.4.1) on Red Hat Linux, customer server is OracleAS 10g (9.0.4.1) on Solaris.
    Anyone explain this difference between the two servers?

    wonder if your problem is the host.domain name?
    It has to be the same name as the "host:" name that was entered in the "Register with Oracle Internet Directory" screen - while installing AS. Reason is that: when the .html is running, it has no connections to the AS, OID, SSO or anything else - it runs independentally. For it to go back into the oracle 'system', the full host.domain name is needed. So, if when the AS was installed, the "fully qualifed" domain name was not given, you may have problems and could need to reinstall AS again. (speaking from sad experience :) )
    regards

  • Login Page not getting Displayed after 10.1.3 Home Upgrade in R12

    Hi,
    We are performing an Upgrade of 12.0.6 to 12.1.1.
    We have just finished the upgrade of 10.1.3 Home to 10.1.3.4. After the successful completetion of Patchset Installation, as a part of Instance
    Validation , we found that we were not able to get the R12 Login Page displayed.
    On Checking the Apache Logs, The Error Message looked as below:
    [Tue Jun 30 03:08:36 2009] [error] [client 159.182.123.2] [ecid: 1246345716:168.146.11.159:585784:0:2,0] File does not exist:
    /u18/app/HUTLcomn/apps/HUTL_oldtut353/portal/OA_HTML/AppsLocalLogin.jsp
    But AppsLocalLogin.jsp in our environment is located in the correct location
    $OA_HTML
    oldtut353:orapps(app):HUTL:[home/orapps] echo $OA_HTML
    /u18/app/HUTLcomn/webapps/oacore/html
    oldtut353:orapps(app):HUTL:[home/orapps] cd
    $OA_HTML
    oldtut353:orapps(app):HUTL:[u18/app/HUTLcomn/webapps/oacore/html] ls -ltr AppsLocalLogin
    -rw------- 1 orapps dba 4094 Jun 16 02:03 AppsLocalLogin.jsp
    It is reading the AppsLocalLogin.jsp from a non existent Location < INST_TOP>/portal/OA_HTML/AppsLocalLogin.jsp
    I have run the autoconfig successfuly in all the Application Tiers and generated Product JAR Files. But still the Error Exists.
    Please help to resolve this issue.

    Thank You Helios.
    The thread which you had mentioned in your previous reply had the similar issue which i was facing.
    I moved forward with the remaining Pre-Upgrade Tasks, Applied Maintainence Pack and then completed the Post Upgrade Tasks.
    I am very delighted to let you know that my Upgrade from 12.0.6 to 12.1.1 was successful. I got the feeling of GLADIATOR :) when I saw the Login Page appearing for the first
    time after the Upgrade.
    Thank you all for your help and Support.
    Thanks,Varun

  • How to display a little message after submitting form

    I have an order form that I created in Acrobat Pro 9.2 (on a Mac), that is going to be living on my website, for users to fill out whenver they want to order something. After they hit submit, I'd love for a little message to pop up saying "thank you." Ideally, this would be more than just a warning or dialog box, so that I could include my logo and design the message a little bit. Can I make the form re-direct to a thank you page on my website or something after the user has successfully hit submit? Also, I need to make sure that they only get this message if the form successfully goes through - no sense in having them see the thank you page if their form doesn't get submitted for whatever reason...
    Thanks!

    You need to generate unique number with the ID column and add an action in the submit button to show message. Refer to the following post for more information
    http://www.infopathdev.com/forums/t/28374.aspx
    http://www.infopathdev.com/forums/t/22295.aspx
    http://blogs.technet.com/b/jessmeats/archive/2009/08/10/generating-a-unique-form-number.aspx
    --Cheers

  • Navigator page fails to display after form creation

    We have sucessfully installed Minimal Edition of the 9iAS version 1.0.2.0 and Portal version 3.0.7 was also running fine. After a test Form was created and then saved in the database, the portal still seem to work fine.
    However, after the user logs off and then logs on again, when the Navigator link at the top right hand corner is clicked, a "404 Document Error". We also noticed that the Database tabpage at the Administrator Page.
    Has anyone else encountered this or have a solution to this?
    Thanx a million!
    null

    Got a couple follow up questions.  Postiing the response here.
    1.  Please send us step by step method on how to recreate the problem, and the URL of the PDF file that shows the issue.
    * Write a simple console application that does nothing but starting a browser. Browser URL set to any web site with embedded PDF. I believe I used a sample on Adobe's site for last test.
    2. Is everyone in your company experiencing the same issue?
    * Yes, everyone can be affected.
    3. Does the error show up on any PDF or just the embedded PDF?
    * Only embedded.
    4. Does the problem occur with Firefox?
    * Not browser specific.
    5. Do you have any other version of Reader or Acrobat installed on the same system?
    * No, clean test box. Tested with 10.0.0 first. Failed. Then cleaned up install and installed 10.1.3. Cannot repro with 9.5.
    Root cause appears to be Protected Mode. If I disable that, it works.

  • Unable to see JSF pages in Design View after upgrade to Netbean 6.1

    Hi:
    I have a Sun Java Studio Creator Update 2 Project and I upgraded to Netbean 6.1 according to Sun's migration guide. It compiles and runs OK, but i can not see any page in design view at all.
    Any one has any idea?
    thanks

    Hi Sriram,
    I want to see  commit stats on SM50 while background job runs. I unable to see on after upgrade.
    all db stats are updated. On Sm50 screen unable to see Database commit count.
    Cheers,
    Harish

  • Web Pages do not display after new installation on Windows 2008 64 bit

    Hi All...
    Environment: Window 2008 64 bit.
    Installing: Latest WebTools compatible with 64 bit.
    Installed: 2.0 asp.net
    After installing webtools in this environment we attempt to register/request the license.
    After clicking on the request - windows prompts you to open.
    If you attempt to open, you are asked which program to open with...?
    That seems odd.
    At this point this is all I have and am stuck as the system is inaccessible.
    Rob.

    Bryce...
    This did help.
    Also - I discovered that the webserver was not previously connected to the domain and was not inheriting permissions.
    Steps Taken:
    Uninstalled the IIS and ASP Roles from the web server as local server administrator.
    Joined web server to domain.
    Added the IIS and ASP Role.
    Re-installed webtools.
    Registration launched - no exceptions.
    Gracias.
    Rob

Maybe you are looking for

  • Mac Book / 10.5.2 ~ Keeps ejecting CD-R but DVD's seem okay.

    Hello there, My apologizes, I know that there are different threads throughout several discussions on this or something that may seem very similar but regrettable I have not been able to find a solution. I have a first generation Black MacBook runnin

  • One table is missing in R/3 DDIC

    Hi Experts, While I am monitoring the db02 T-code, Under tables and indexes it is showing that one table is missing in R/3 DDIC. Tables Indexes Total number 68,514 82,026 Total size/kb 43,431,936 43,282,240 More than 1 extent 2,957 3,470 Missing in d

  • Icloud storage and size limits

    I want to purchase some Icloud storage. I know the max come in 50GB, but want to know if I can purchase more and combine the two together. So In an example. can I purchase 50GB and another 50GB and and use the total amount together on the same Itunes

  • Cannot scan multiple slides from Canoscan 8600F

    In the past when I had a PC I was able to scan multiple color slides  (using the multiple slide adapter), but on my Mac when I installed the Canoscan driver and software, I used Image Capture to scan. Here's what the right side of Image Capture shows

  • How do I create folders on home screen

    how do I create folders on home screen