Error Navigating pages

Hi
This is my first time developing with NetBeans (6.0). I have created a two page Visual Web JavaServer Pages application.
Just for testing purposes I dragged a hyperlink control onto the first page "Page1.jsp" and set its url to the second page "Page2.jsp".
When I click on the link in the browser, however, something goes horribly wrong and I get a very non explanatory Error page from the Tomcat Server.
What is going on? Why can't I just simply link between pages?
I am getting extremely frustrated.
Any help will be appreciated!

The navigation rules are not applied in such a way.
Generally, one page is navigated to another page resulting from the outcome of the source page . The outcome could typically be the return value of an action.
The navigation rules are configured in faces-config.xml, here is an example from a tutorial :
<navigation-rule>
<from-view-id>/pages/inputname.jsp</from-view-id>
<navigation-case>
<from-outcome>sayHello</from-outcome>
<to-view-id>/pages/greeting.jsp</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>sayGoodbye</from-outcome>
<to-view-id>/pages/goodbye.jsp</to-view-id>
</navigation-case>
</navigation-rule>
You might need to know more about the fundamentals of JSF, such as, managed-bean, life cycle of a JSF request.

Similar Messages

  • Error on page when navigating with in webdynpro applications

    Hi All,
    I have developed 5 different webdynpro applications. I need to navigate between these webdynpro applications. I am handling the navigation with in the webdynpro applications.
    The problem is after some time ( after navigating to the second or third level) when I try to click on the tabs(top level navigation), the JAVA SCRIPT ERROR is coming.
    And any other tabs are not coming.
    ERROR is: 'Error on page'
    ERROR Description is:'Problems with the web page might prevent it from being displayed properly or functioned properly'
    Any suggestions are appreciated.
    Thanks & Regards,
    Seshu

    Hi !,
    Please can you tell me what to do if you DO NOT want to destroy the source application when navigating away from it?
    For example...  Webdynpro App #1 calls Webdynpro App #2,
    Webdynpro App #1 will always stay visible and available to the user in there toolbar in the portal.  However after I click "Go" to trigger the navigation to Webdynpro App #2, then the next time I hit "Go", Webdynpro Application was destroyed out of memory I believe.

  • Error on page from BW 3.5's default web template

    Hi Guru's,
    We have a problem in our new BWD BW 3.5 environment where we are getting the "error on page" error from SAP-generated code and we aren’t sure why.
    On our old BWT BW 3.0b platform, we have been using a modified version of the 0query_template called Z_QUERY_TEMPLATE. We did a system copy of BWT to BWD, our new BW 3.5 platform. At that point in time we would see our old BW 3.5 default template for queries that we ran. We wanted to see what the new default web template looked like in BW 3.5. We found where we could remove the Z_QUERY_TEMPLATE from the Web Adhoc Analysis web template setting so we could see the new features of the BW 3.5 default BEx query designer template instead of our old BW 3.0b default template.
    Now when we run a query through the BW 3.5 query designer on BWD, we are using BW3.5’s default template. The prompt web page is fine. No errors on page messages.
    However, the initial presentation of the query results displays okay, but shows "error on page" in the message bar at the bottom of the displayed page. As soon as we do any navigation on those query results that error on page goes away. If we navigate back to the initial presentation, all is still okay. If we use the context menu to go back to start, we again get the error on page.
    This error on page does not happen in BQ2 (our new BW 3.5 QA environment copied from our old BW 3.0b QA environment where we had not yet changed the default BEx Query Designer template to be Z_QUERY_TEMPLATE). We have tried several queries and in each case, we get errors on page in BWD, but not in BQ2. We used ultraedit to compare the view source output from the equivalent web pages from BWD and BQ2 and the only difference is the validity date of the data. There are no other differences in the javascript code generated by BW in the two platforms.
    The statement that Internet Explorer is saying is the problem is the same in each of the cases we have checked and that is:
    SAPBWSetFocus(anchor);
    Error: Object expected
    Code: 0
    It’s in the set_tab() function.
    <script type="text/javascript">
    <!--
    /* Calls the online Documentation via technical QueryName */
    function callquerydoc() {
      var docustart= '/sap/bw/doc/meta/fldmeta/default?tlogo=elem&objnm=' + document.getElementById('querydoc').innerHTML;
      SAPBWOpenWindow(docustart,'Documentation',800,600);
    /* Sets the displayed tab */
    /* Check, which items of the Array check_items  is not hidden.
        Change the style of the HTML tag with id Group+Area/Group+Link */
    function set_tab() {
         if (!(navigator.appVersion.substring(0,1) == '4' && navigator.appName == 'Netscape')) {
           var check_items = new Array('GR1Toolbar','GR2Chart','GR3TECommon','GR4Broadcaster');
        for (i=0;i<check_items.length;i++) {
                        hidden = true;
                       prop = SAPBWGetItemProp(check_items<i>);
                       if (prop != null){
                                           for(j=1;j<prop.length;j++){
                                                      if (prop[j][0] == "HIDDEN")  hidden = (prop[j][1] == "X");
                   anchor_item = document.getElementById(check_items<i>.substring(0,3)+'Area').firstChild;
                    if (hidden) {
                        document.getElementById(check_items<i>.substring(0,3)+'Area').className='SAPBEXTbsTab';
                        anchor_item.title = 'Inactive Tab Page:' + ' ' + anchor_item.title; 
                    else {
                        document.getElementById(check_items<i>.substring(0,3)+'Area').className='SAPBEXTbsTabSel';
                        anchor_item.title = 'Active Tab Page:' +' ' + anchor_item.title; 
              } /* if */
          }   /* for */
        /* Set the BexHeader invisible when running as IView */
            if (SAPBWGetProperty('RUNS_AS_IVIEW')) {
                               document.getElementById('bexheader').style.visibility='hidden';
                               document.getElementById('bexheader').style.display='none';
              anchor = window.location.hash.substring(1,50);
              <b>SAPBWSetFocus(anchor);</b>
      }  /*function */
    -->
    </script>
    Because the error goes away as soon as we navigate I’m thinking some object isn’t being created or initialized, but since the view source code of these pages are identical I’m wondering if there is some code that should be executing before this page that is not happening in BWD for some reason.
    Any help will be much appreciated.
    Thanks,
    Jeri

    Heike,
    Thanks for your help in this. BWD and BQ2 are both on the same SP. SAP_BW release 350 level 10 (SAPKW35010) with BI_CONT at release 352 level 5 (SAPKIBIEP5).
    I invalidated the server cache following your instructions and tried again, but am still having the same problem in BWD. The initial display gets the "Done, but with errors on page" message until any navigation is done.
    I am using IE 6.0.2900.2180.xpsp_sp2_rtm.040803-2158 when I execute queries on both BWD and BQ2.
    Please, do you have any other suggestions?
    Thanks,
    Jeri

  • 11i Login Page is showing 'Error on Page' while using IE 7

    Hi DBAs,
    I am using Oracle 11.5.10.2 with DB 10.2.0.4 (Single Instance). The EBS is on RUP6 and using JDK 1.6.0_12.
    I was using Firefox and not getting any issue. I used first time IE-7 (7.0.5x) to access the application. I noticed that Pressing the 'Login' button on Login Page , it was saying in the left bottom of the IE says 'Error on page' and was not navigate to any page or did not perform any action.
    I verified all the services and everything was OK. While using Firefox , I was able to navigate the application w/o any issue.
    Using IE 7 , I am able to access
    http://host.domain:8000/OA_HTML/fndvald.jsp?username=sysadmin&;password=sysadmin
    Most of the stuff seems to be working fine while logging in using above URL but the 'GO' buttons are throwing same error in IE 'Error on page'. Rest of the Bottons like 'Edit Navigator' , 'Edit Favorites' are working fine but when on any Page I press the 'Go' button then IE showing Error. It seems to me that when a button need to navigate to next page then IE saying 'Error on page' but when a button have to lunch a new page it is working fine.
    All the responsibilities and links are working fine. Application Navigation using Firefox is working absolutely fine.
    Seeking your advise and suggestions to resolve the issue.
    Thanks
    -Samar-

    Hi Samar,
    You can clear the cache as follows (login as applmgr user, and source the application env file):
    $ cd $COMMON_TOP/_pages
    $ rm -R *
    ML Note: 285218.1 is not helpful as I am on later version of EBS (11.5.10.2 with RUP6 and Developer6i Patchset 19). At Client side I am using Windows XP SP3 with IE 7.0.5.x with JInit 1.3.21 and JRE 1.6.0.12.Did you review the steps under "Recommended MSIE Browser Settings" section?
    Can you reproduce the issue with JInitiator? If yes, any errors in the JInitiator console window? Enable debug (you may also enable trace for Sun JRE) and see if any errors are reported there.
    Note: 549423.1 - How to enable tracing and logging for Sun JRE (Native Plug-in)
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=549423.1
    Regards,
    Hussein

  • File not found when adding a link to another site collection on the navigation page

    When I am adding a link to another site collection in the navigation page, I got the following error. Is there any limitation for the navigation setting? why can't we add a link to another site collection in the navigation page?
    This is SharePoint 2007

    Hi
    the URL provided is working?  (check it in separate browser window )
    Romeo Donca, Orange Romania (MCSE, MCITP, CCNA) Please Mark As Answer if my post solves your problem or Vote As Helpful if the post has been helpful for you.

  • "Errors on page" with simple JSF page

    Hi
    I wrote a very simple JSF page as shown below. It works as is with MyFaces. Now I tried to make it work with Sun RI as well.
    Here's the problem: The page appears perfectly fine (it shows two columns of links). Only one single link works, though: the first one in the left column.
    When I click on that first link, the action handler method ("userClick") is called and executed fine.
    But when I click on any other link, the method is not called at all. All I get is an "error on page" message in the browser status bar. No log message on the command line or log file.
    Am I doing something wrong? With MyFaces it works fine.
    ===============================
    Here's the page:
    ===============================
    <%@ page language="java" pageEncoding="UTF-8"%>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
    <f:view>
         <f:loadBundle basename="ca.gc.nrc.iit.eConservatoire.frontend.bundles.MessageBundle" var="bundle" />
         <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
         <html>
              <head>
                   <title><h:outputText value="#{bundle.menu_frame}" /></title>
                   <link rel="stylesheet" href="style.css">
              </head>     
              <body>
                   <h:panelGrid border="1" columns="2" columnClasses="td">
                        <h:dataTable value="#{MenuBackingBean.menuTabItems}" border="0" var="menuTabItem" >
                             <h:column>
                                  <h:form>
                                       <h:commandLink action="#{MenuBackingBean.userClick}" >
                                            <h:outputText value="#{menuTabItem.itemName}" />
                                            <f:param name="itemID" value="#{menuTabItem.itemID}" />
                                       </h:commandLink>
                                  </h:form>
                             </h:column>
                        </h:dataTable>
                        <h:dataTable value="#{MenuBackingBean.menuItems}" border="0" var="menuItem" >
                             <h:column>
                                  <h:form>
                                       <h:commandLink action="#{MenuBackingBean.userClick}" >
                                            <h:outputText value="#{menuItem.itemName}" />
                                            <f:param name="itemID" value="#{menuItem.itemID}" />
                                       </h:commandLink>
                                  </h:form>
                             </h:column>
                        </h:dataTable>
                   </h:panelGrid>
              </body>
         </html>
    </f:view>
    ==================================
    Here's the faces-config
    ==================================
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE faces-config PUBLIC "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN" "http://java.sun.com/dtd/web-facesconfig_1_1.dtd">
    <faces-config >
         <application>
              <locale-config>
                   <default-locale>en</default-locale>
                   <supported-locale>en</supported-locale>
                   <supported-locale>de</supported-locale>
              </locale-config>
              <message-bundle>ca.gc.nrc.iit.eConservatoire.frontend.bundles.MessageBundle</message-bundle>
         </application>
         <managed-bean>
              <managed-bean-name>DetailsBackingBean</managed-bean-name>
              <managed-bean-class>ca.gc.nrc.iit.eConservatoire.frontend.DetailsBackingBean</managed-bean-class>
              <managed-bean-scope>session</managed-bean-scope>
         </managed-bean>
         <managed-bean>
              <managed-bean-name>MenuBackingBean</managed-bean-name>
              <managed-bean-class>ca.gc.nrc.iit.eConservatoire.frontend.MenuBackingBean</managed-bean-class>
              <managed-bean-scope>session</managed-bean-scope>
         </managed-bean>
         <managed-bean>
              <managed-bean-name>ContentBackingBean</managed-bean-name>
              <managed-bean-class>ca.gc.nrc.iit.eConservatoire.frontend.ContentBackingBean</managed-bean-class>
              <managed-bean-scope>session</managed-bean-scope>
         </managed-bean>
         <navigation-rule>
              <from-view-id>/menu.jsp</from-view-id>
              <navigation-case>
                   <from-outcome>showDetails</from-outcome>
                   <to-view-id>/details.jsp</to-view-id>
              </navigation-case>
              <navigation-case>
                   <from-outcome>menu</from-outcome>
                   <to-view-id>/menu.jsp</to-view-id>
              </navigation-case>
         </navigation-rule>
         <navigation-rule>
              <from-view-id>/details.jsp</from-view-id>
              <navigation-case>
                   <from-outcome>showMenu</from-outcome>
                   <to-view-id>/menu.jsp</to-view-id>
              </navigation-case>
              <navigation-case>
                   <from-outcome>showContent</from-outcome>
                   <to-view-id>/content.jsp</to-view-id>
              </navigation-case>
         </navigation-rule>
         <navigation-rule>
              <from-view-id>/content.jsp</from-view-id>
              <navigation-case>
                   <from-outcome>showMenu</from-outcome>
                   <to-view-id>/menu.jsp</to-view-id>
              </navigation-case>
         </navigation-rule>
    </faces-config>
    =======================================
    I don't think I need to show the backing bean with the userClick() method since the error is that this method is not even called (I added a system.out.println() to this method - which is never executed)
    So the problem must be before
    BTW I am using Sun RI 1.1.01 as shipped with the MyEclipseIDE extensions.
    Thanks a lot for your very much appreciated help
    scrut

    The problem is that you have two forms. Put a single form.

  • Error 404 : page not found

    hi all
    i try to make like this demo:
    http://download.oracle.com/otn_hosted_doc/jdeveloper/11/demos/overview/JDeveloperOverview.html
    i do very thing like it except the change in JavaServiceFacade becaus I don't add any query, only I want insert some data in a table
    the problem :
    when i ry to run my faces the browser display ERROR 404 Page Can't Found
    Any body can help me

    Hi!
    Try selecting some JSPX page in navigator and then click Run (or right click and then select Run). If you edited that facade bean it is big chance that you started Model project instead View.

  • Customer self service form gives the error of  "Page cannot be displayed"

    Hi All,
    Customer self service form from Navigation: Recievables -> Customers --> Standard gives the error of "Page cannot be displayed" but the same form gets opened when i navigate that from Order Management responsibility
    Thanks&Regards,
    APPS DBA

    Hi All,
    I have been trying to install the EBS 11i in configured system core 2 duo with 1 gb ram and 250 gb HDD,
    have been following the below steps to install the EBS 11i,
    1.installed Win20003 server edition
    2.VC++ and copyind the link file into windows\system32,
    3.GNU make done the path set everything,
    4.MKS tool kit,
    5IP config and installing MS loopback,
    started the installtion direct from the DVDs,
    Pre-Installtion everything was OK,
    but after done everything I got struck last min, where the popup window appeared as login page responding but i did wait for 30 min and nothing has happened.
    So closed and I restarted the System and I have restarted process putting 1st DVD and given the command rapidwiz -restart.from command prompt.
    and Again its started as a new installtion, and preinstatltion wizard has came.
    where I haeve commited the mistake i did not understand...?
    Please guide me
    regards
    Satya

  • Customize Error Message Page - Oracle Portal

    Hi,
    Please how i can customize Error Message Page ? or just the page not found ?
    tks
    carlo

    This is documented in the Portal admin guides.
    Make a copy of the standard error page (in the navigator) then change the portal configuration (in builder) and tell it to use your own page.

  • Customize Error Message Page

    Does anybody know how to customize Portal Error Message Page?
    Thanks

    This is documented in the Portal admin guides.
    Make a copy of the standard error page (in the navigator) then change the portal configuration (in builder) and tell it to use your own page.

  • Log on to Runtime Workbench : click display error on page

    Dear all,
    when i try to log on to Runtime Workbench  and click on display message , i am getting error that error on page,
    we have already done post implementation steps for PI(XI),,
    what to do, to test the senario from Runtime Workbench.
    Best regards,
    dushyant.

    Hi,
    This will help you
    SAP Note-768456 &  SAP Note-928862
    http://help.sap.com/saphelp_nw2004s/helpdata/en/06/5d1741b393f26fe10000000a1550b0/content.htm
    Regards
    Agasthuri Doss

  • Error on page in Idm 7.1.0

    I installed IdM 7.1.0 with Tomcat 5.5.23, jdk 1.6 and MySql 5.0.45.
    I login to application and edit user assignments (click to Accounts, eg. Administrator and Assignments).
    There is an error on this page: there is a red cross instead of control to edit Roles, Individual Resource Assignment, Individual Resource Group Assignment or Resource Exclusions. When I click to the "Save" button, Internet Explorer reports "Error on page".
    Do you have any idea how to get rid of this error?

    Those controls are all Java applets, it sounds like you do not have Java applets enabled in your browser.
    If you can't use Java applets you can also edit the form (User Library in this case) and add a property to all of the fields whose display class is MultiSelect:
    <Property name='noApplet' value='true'/>
    This will cause the JavaScript version of the multiselect to render instead.

  • Error on page Access is denied

    Hi
    I created a URL iView to an application that runs on a computer in my internal network
    and attached the iView to a page.
    When I enter that page I get the application user&password to fill out.
    After filling the user&password I get an error on page:
    line: 113
    char:  2
    error: access is denied
    url: http://colsms/nihulit_web/custom/login.asp
    The strange thing is that if I open the IView in a new window (through the menu) I will not get this error and will be able to enter the application.
    I am working on EP6 SP12.
    For any suggestions ....
    Nitsan

    Hi Nitsan,
    I don't know the details of your problem, but in the end, it is more than probable that this is a JS-problem where some JS is referring to some iFrame (inner or outer) which does not come from the same domain.
    If you have your asp application at hand, try to add some domain-relaxing code into the application and make sure that the portal and the application run within the same domain (for instance the portal under portal.colsms.com and the app under app.colsms.com).
    Hope it helps
    Detlev

  • Cannot install Firefox. WHen I click on the link to install, it takes me to an "error loading page" notice. My network connection and internet access are normal with Internet Explorer, so this is not the issue. Some kind of conflict with my settings or pe

    Cannot install Firefox. When I click on the link on the Mozilla website, it goes to an "error loading page". My network connection and Internet Explorer are fuctioning normally.
    == computer was recently wiped clean and am now reinstalling all previous software and applications ==
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)

    None of the stuff in " http://kb.mozillazine.org/Locked_or_damaged_places.sqlite " helps. I have tried and tried and I have even wipe the computer clean still didn't help. I got the same problem as he/she has got in the first posted. Can add some web pages but not all the web pages I want.. I should have never updated to 3.6.13... That's when it all started for me, from that version..... Now Version 3.6.14 is out, I was hoping the version 3.6.14 might would fix the problem wrong again....
    Funny thing is i can not even Bookmark Firefox.com!!!!!...lol
    So any ideas on how to fix it other than the link giving would help.
    Thanks.

  • Web Part Error: This page has encountered a critical error. Contact your system administrator if this problem persists

    Hi there,
    I am getting the following error in SharePoint 2007 site.
    Web Part Error: This page has encountered a critical error. Contact your system administrator if this problem persists.
    Show Error Details
    Hide Error Details
    [WebPartPageUserException: This page has encountered a critical error. Contact your system administrator if this problem persists.]
      at Microsoft.SharePoint.ApplicationRuntime.SafeControls.RethrowExceptionIfNeeded()
      at Microsoft.SharePoint.ApplicationRuntime.SafeControls.GetTypeFromGuid(Guid guid)
      at Microsoft.SharePoint.WebPartPages.SPWebPartManager.CreateWebPartsFromRowSetData(Boolean onlyInitializeClosedWebParts)
    There is no event logged related to this error. I have checked ULS log and nothing much I can find over there.
    Any help would be highly appreciated.
    Thanks,
    Puli
    Puli Bala

    It is not only because of unsafe controls. Please refer the articles below.
    http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2008/09/24/safe-mode-did-not-start-successfully-request-failed.aspx
    http://blogs.edwardwilde.com/2009/12/22/safe-mode-did-not-start-successfully-could-not-load-file-or-assembly/
    https://social.technet.microsoft.com/Forums/sharepoint/en-US/6d81f7b0-33c5-482b-b7aa-9f639c784dea/what-reason-can-cause-the-errorerror-failure-in-loading-assembly-microsoftsharepoint?forum=sharepointadminlegacy
    https://paulsiu.wordpress.com/2008/07/24/sharepoint-loading-assembly-error-in-the-event-log/
    Puli Bala

Maybe you are looking for

  • Crystal Report Preview and Print error

    Hi, I am trying my first Crystal report in SAP; I have created one report using OITE table and run it in Crystal Designer without any problem; Then I added it to SAP / Manager Crystal Report / New Report, but I get the following error message when I

  • Leopard's Safari parental controls should have kept Tiger's approach

    Parental controls for Safari in Leopard do not work as well as Tiger's. Tiger had the option to allow only sites that are bookmarked. Now you have to add them in the parental control's dialog. But more annoying and worst behavior is that you must app

  • NOT A GROUP BY EXPRESSION

    Good Evening, Maybe someone out there can help me out. I have been working on this rather long statement. Line 5 which has the to_char function is throwing an error and I don't know how to get around it. Without this line the query returns the desire

  • Is it possible to search only one column in a multi column data store?

    Assume I create a context index using a multi column datastore for the columns first_name, middle_name, and last_name. Then I can search all of the columns in the index using contains(). Is there any way to use contains() to just search one of the co

  • Problème: Photoshop CC se bloque dès que j'essaie d'ouvrir un fichier :(

    Bonjour, Je n'arrive pas à utiliser Photoshop CC. J'ai Windows 7-64 bits. Intel Core 2.2 GHZ, RAM 8GHz J'utilise Creative Cloud, j'ai déjà Illustrator qui marche très bien. J'ai installer Photoshop, je me suis déconnectée et connectée. Je peux démarr