HTTP Error 403 - Forbidden  error when auto including a jspx page

Hi All -
We have a situation where one of different reports pages gets included inside a main reports page based on user selection via a selectOneChoice control.
But when the Reports Main page tab is clicked for the first time we get a "You are not authorized to view this page" HTTP Error 403 - Forbidden error.
Upon clicking "Refresh" and then clicking the Reports Main page tab again, the page renders correctly.
This is our code snippet. All the report related pages(MainPage.jspx, Schedule.jspx and Budget.jspx) are inside a reports folder under the context root. Please help.
Thanks for your time.
MainPage.jspx
=====================
Here I have a selection box, and based on the user selection I include different JSPX pages. The page Definition of this page
contains all the executables and the bindings of the included pages also.
<af:selectOneChoice value="#{backing_Reports.measureSelected}"
label="Measure" unselectedLabel="Select One"
id="selectmeasure" autoSubmit="true"
immediate="true">
<af:selectItem label="Schedule Data"
value="Schedule.jspx"/>
<af:selectItem label="Budget Data"
value="Budget.jspx"/>
</af:selectOneChoice>
<af:panelGroup>
<jsp:include page="${backing_Reports.measureSelected}" flush="true"/>
</af:panelGroup>
Faces Config:
===================
<navigation-rule>
<from-view-id>*</from-view-id>
<navigation-case>
<from-outcome>GlobalHome</from-outcome>
<to-view-id>/pages/Welcome.jspx</to-view-id>
<redirect/>
</navigation-case>
<navigation-case>
<from-outcome>GlobalReports</from-outcome>
<to-view-id>/reports/MainPage.jspx</to-view-id>
</navigation-case>
<!-- 1. Reports menu tab item -->
<managed-bean>
<managed-bean-name>menuItem_Reports</managed-bean-name>
<managed-bean-class>cs.view.menu.MenuItem</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
<managed-property>
<property-name>label</property-name>
<value>#{resources['scorecard.menu.reports']}</value>
</managed-property>
<managed-property>
<property-name>viewId</property-name>
<value>/reports/MainPage.jspx</value>
</managed-property>
<managed-property>
<property-name>outcome</property-name>
<value>GlobalReports</value>
</managed-property>
</managed-bean>
:

We have solved this, temproarily. But don't know if this is the best method to do this. Please post if somepne has a better way of doing this.
While debugging we found that the ${backing_Reports.measureSelected} field which was set to a default value in backing bean was returned as null when the page renders for the first time. So we had a work around like this in our MainPage.jspx
<af:panelBox width="80%" partialTriggers="selectmeasure"
inlineStyle="margin:40.0px;">
<af:panelGroup>
<jsp:include page="${backing_Reports.measureSelected==null?'BlankPage.jspx':backing_Reports.measureSelected}"
flush="true"/>
</af:panelGroup>
</af:panelBox>
Thanks.

Similar Messages

  • What does "ajax submit failed: error = 403, forbidden" mean when trying to sign up for eprint?

    what does "ajax submit failed: error = 403, forbidden" mean when trying to sign up for eprint?

    Hi,
    Please use different browser such as Firefox or Chrome and try again.
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • Why can't I sign in? I get an "Ajax submit failed: error =403, Forbidden" error message

    Why can I no longer sign in to ePrint Center?
    I get an "Ajax submit failed: error =403, Forbidden" error message -- MAC OS 10.7, D110a printer.

    Here you go.
    http://www.google.com/search?q=Ajax+submit+failed%​3A+error+%3D403%2C+Forbidden&sourceid=ie7&rls=com.​...
    Say thanks by clicking the Kudos Thumbs Up to the right in the post.
    If my post resolved your problem, please mark it as an Accepted Solution ...
    I worked for HP but now I'm retired!

  • Return The remote server returned an error: (403) Forbidden error for some file types

    hi
    am using below code to get the byte array 
    byte[] myDataBuffer = client.DownloadData((new Uri(sourceUrl)));
    for source of type .txt/.jpg no problem with accessing.but the file type with .master/.wsp/.cs
    it is returning "The remote server returned an error: (403) Forbidden error for some file types" Error.how can i get rid of this.please help me
    Thanks in Advance

    Hi,
    It seems there is something wrong with your code, from your code the account and key are the same, because their appsetting name are the same.
    string account = ConfigurationManager.AppSettings["StorageAccountName"];
    //string account = CloudConfigurationManager.GetSetting("StorageAccountName");
    //string key = CloudConfigurationManager.GetSetting("StorageAccountAccessKey");
    string key = ConfigurationManager.AppSettings["StorageAccountName"];
    string connectionString = String.Format("DefaultEndpointsProtocol=https;AccountName={0};AccountKey={1}", account, key);
    return CloudStorageAccount.Parse(connectionString);
    If you use CloudConfigurationManager.GetSetting, please consider set azure project as the startup project, if not, this value will be null, this resulted in solution being started as a web project that didn't run inside the Azure emulator. Since CloudConfigurationManager.GetSetting
    tries to get setting by contacting Azure (or Azure emulator in this case), and it is not running, it returns null.
    Best Regards,
    Jambor
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • HTTP Error 403 - Forbidden Error Accessing Simplest Example

    If I follow the instructions for creating the SIMPLEST example in the "iFS Online Resources" document, everything seems to work until the very last step. When I click on one of my sample objects a new window is launched for the JSP, but it gets an HTTP-403 error in it.
    Anone have any ideas? Thanks.

    Strangely enough, we're having no problems viewing the XML case files from within the JSW interface, they call the InsuranceForm jsp without any errors - which would indicate that the Java beans are in the right place. Yes?
    The problem we're getting is trying to log into the iFS repository via the URL http://<iFS Server>/public/examples/insuranceApp/src/login.jsp
    as per the demo instructions, we get HTTP Error 403 - Forbidden. I checked the permissions on the adk.jar file as per Monty Burns posts, and it's world readable. What gives?
    We've installed the 1.0.8.3 patch and the 8.1.6.0.1 JDK. NT Server 4, SP6, 8.1.6 database.
    Thanks in advance for your help,
    Cheers
    Geoff.

  • Ajax submit failed: error =403, Forbidden error when signing in

    when trying to log in or create a new account for www.eprintcenter.com this is the error I get, and I can't get past the log in page.

    Try here..
    http://www.google.com/search?q=Ajax+submit+failed%3A+error+%3D403&sourceid=ie7&rls=com.microsoft:en-...=
    Say thanks by clicking the Kudos Thumbs Up to the right in the post.
    If my post resolved your problem, please mark it as an Accepted Solution ...
    I worked for HP but now I'm retired!

  • The remote server returned an error: (403) Forbidden on container.CreateIfNotExistsAsync() method

    static class StorageUtils
            public static CloudStorageAccount StorageAccount
                get
                    string account = ConfigurationManager.AppSettings["StorageAccountName"];
                    //string account = CloudConfigurationManager.GetSetting("StorageAccountName");
                    //string key = CloudConfigurationManager.GetSetting("StorageAccountAccessKey");
                    string key = ConfigurationManager.AppSettings["StorageAccountName"];
                    string connectionString = String.Format("DefaultEndpointsProtocol=https;AccountName={0};AccountKey={1}", account, key);
                    return CloudStorageAccount.Parse(connectionString);
    I have a web project and I converted it to "MS Azure Cloud Service Project"
    I make the Azure project default and run CreateAndConfigureAsync() to create the container. It works fine and creates the images container in Azure storage.
    Then I make my web project default and change CloudConfigurationManager.GetSetting to ConfigurationManager.AppSettings in StorageUtils class and run the web app project. Then I get "The remote server returned an error: (403) Forbidden" error whencontainer.CreateIfNotExistsAsync()
    line get executed.
    What is the reason for this?
    async public void CreateAndConfigureAsync()
                try
                    CloudStorageAccount storageAccount = StorageUtils.StorageAccount;
                    // Create a blob client and retrieve reference to images container
                    CloudBlobClient blobClient = storageAccount.CreateCloudBlobClient();
                    CloudBlobContainer container = blobClient.GetContainerReference("images");
                    // Create the "images" container if it doesn't already exist.
                    if (await container.CreateIfNotExistsAsync())
                        // Enable public access on the newly created "images" container
                        await container.SetPermissionsAsync(
                            new BlobContainerPermissions
                                PublicAccess =
                                    BlobContainerPublicAccessType.Blob
                catch (Exception ex)
            }

    Hi,
    It seems there is something wrong with your code, from your code the account and key are the same, because their appsetting name are the same.
    string account = ConfigurationManager.AppSettings["StorageAccountName"];
    //string account = CloudConfigurationManager.GetSetting("StorageAccountName");
    //string key = CloudConfigurationManager.GetSetting("StorageAccountAccessKey");
    string key = ConfigurationManager.AppSettings["StorageAccountName"];
    string connectionString = String.Format("DefaultEndpointsProtocol=https;AccountName={0};AccountKey={1}", account, key);
    return CloudStorageAccount.Parse(connectionString);
    If you use CloudConfigurationManager.GetSetting, please consider set azure project as the startup project, if not, this value will be null, this resulted in solution being started as a web project that didn't run inside the Azure emulator. Since CloudConfigurationManager.GetSetting
    tries to get setting by contacting Azure (or Azure emulator in this case), and it is not running, it returns null.
    Best Regards,
    Jambor
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • [SOLVED] The requested URL returned error: 403 Forbidden

    Hi guys
    (sory for my english
    I have a problem with packer -Syu
    the output:
    Proceed with installation? [Y/n] y
    Edit openbox-menu PKGBUILD with $EDITOR? [Y/n] n
    ==> Making package: openbox-menu 0.3.6.8-1 (Tue Feb 12 15:52:19 UTC 2013)
    ==> Checking runtime dependencies...
    ==> Checking buildtime dependencies...
    ==> Retrieving Sources...
      -> Downloading openbox-menu-0.3.6.8.tar.bz2...
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
      0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
    curl: (22) The requested URL returned error: 403 Forbidden
    ==> ERROR: Failure while downloading openbox-menu-0.3.6.8.tar.bz2
        Aborting...
    The build failed.
    for full detials:
    http://pastebin.com/Acq0uY78
    iam try another mirrors... but i get same problen
    i install tor (for use tsocks or torify) but its dont work in my country
    HELP ME PLZ
    thanks
    Last edited by tareef (2013-02-14 19:39:07)

    It's http://mimarchlinux.googlecode.com/file … .8.tar.bz2, just as the PKGBUILD says.
    Edit:
    If something is broken, you should ask on the AUR page for the maintainer to fix the PKGBUILD https://aur.archlinux.org/packages/openbox-menu/, but the PKGBUILD worked for me.
    tareef wrote:
    for full detials:
    http://pastebin.com/Acq0uY78
    iam try another mirrors... but i get same problen
    i install tor (for use tsocks or torify) but its dont work in my country
    openbox-menu is from the AUR and not from the repos, so changing mirrors won't do anything here. You might want to read on what AUR is and deal with the issues with the signatures first.
    Last edited by karol (2013-02-13 00:10:04)

  • WSRM messages stuck in PI with HTTP code:403 forbidden

    Hi Guys,
    We have interface from FILE to WS where file is being sent from third party system to ECC in which we are facing issue.
    This service uses HTTPS protocol and while creating the binding in ECC SOAMANAGER we have used communication security as "SSL over HTTP" whereelse in HTTP portocol "none" is selected.
    I have tested the wsdl url in browser and is working fine but while sending the message it throwing HTTP code: 403 forbidden error.
    Can you help me to resolve this issue?
    Thanks
    Aki

    HI,
      I have tested the wsdl url in browser and is working fine but while sending the message it throwing HTTP code: 403 forbidden error.
      Can you help me to resolve this issue?
         HTTP code: 403 forbidden error might occur The server understood the request, but is refusing to fulfill it
         Path sap/xi/engine not active
                 u2022 HTTP 403 during cache refresh of the adapter framework - Refer SAP Note -751856
                 u2022 Because of Inactive Services in ICF u2013Go to SICF transaction and activate the services. Refer SAP Note -517484
                 u2022 Error in RWB/Message Monitoring- because of J2EE roles u2013 Refer SAP Note -796726
                u2022 Error in SOAP Adapter - "403 Forbidden" from the adapter's servlet. u2013Because of the URL is incorrect or the adapter is not              correctly deployed.
    regards,
    ganesh.

  • Getting a "403 Forbidden" error when I login ..

    Hi all ... Well yesterday I did a new installation of Oracle Express Edition 11g DB, which installed fine ... I then installed OC4J, and then finally installed APEX Listener 4.1 ...
    Now, when I opened 127.0.0.1:8888/apex/listenerAdmin for the very first time .. I saw a page where I was to configure the connection .. At that point I was unable to get the 'Basic' connection working (I think the error was that the Listener was unable at connect to the database), and so I closed down that page ..
    Now, one day later, when I open 127.0.0.1:8888/apex/listenerAdmin, I am asked for some login details ... I don't know what to put here to login .. In fact I have not successfully logged in here even once ..
    However, some clues are as follows: Before installing APEX Listener, I defined some new roles and users from the OC4J web interface ... If I try logging in through any of these, I get the '403 Forbidden' error ... Otherwise, if I enter any other random login details, the same login box keeps popping up ..
    So anyone know whats the problem here ? ... I suspect that no connect between APEX Listener and the Oracle DB is yet defined, which is why these problems are occuring ...
    I tried 'undeploying' APEX listener from the OC4J web interface, and then again 'deploying' it, but the exact same thing is happening ..
    Can anyone help me out here ?
    EDIT:
    I assume maybe I'm supposed to use the APEX_PUBLIC_USER account, which I configured in oracle before installing APEX (as per intructions in Oracle installation guides), but even when I try logging in through APEX_PUBLIC_USER, my login details are not accepted ... Also, I AM able to login into Oracle Database using APEX_PUBLIC_USER, but not in APEX Listener ... And since unlike what I described above, when I enter my APEX_PUBLIC_USER login details, the same login prompt keeps reappearing, meaning the login is not recognised at all ...
    Edited by: user7366837 on Sep 9, 2011 3:39 AM

    Hi,
    Now, when I opened 127.0.0.1:8888/apex/listenerAdmin for the very first time .. I saw a page where I was to configure the connection .. At that point I was unable to get the 'Basic' connection working (I think the error was that the >Listener was unable at connect to the database), and so I closed down that page ..I think the page you actually opened was http://127.0.0.1:8888/apex/listenerConfigure . At least, this is the page for the initial configuration. You can call it again until you've configured the database successful for the first time.
    Now, one day later, when I open 127.0.0.1:8888/apex/listenerAdmin, I am asked for some login details ... I don't know what to put here to login .. In fact I have not successfully logged in here even once ..The admin page needs the credentials you've configured on your OC4J.
    However, some clues are as follows: Before installing APEX Listener, I defined some new roles and users from the OC4J web interface ... If I try logging in through any of these, I get the '403 Forbidden' error ...... which you seem to have done, but probably you've some typo in there. Please note that you have to use the exact role names as described in the installation manual. A common problem is that users don't care about case sensitivity... This would fit to the symptom: You have a correct username/password combination, so the basic authentication is done, but the user is not authorized to call listenerAdmin because he doesn't have the appropriate role.
    -Udo

  • I just set up my new iMac, and receive error messages when trying to purchase from the iTunes store (error 8003) or update from the App store (error 403 forbidden). THOUGHTS?

    I just set up my new iMac, and receive error messages when trying to purchase from the iTunes store (error 8003) or update from the App store (error 403 forbidden). THOUGHTS?

    I am not sure what you mean by "Flash Player for steam"; the only Flash Player installers I know is the ActiveX (for Internet Explorer) and the plugin (for other browsers); you can find both at http://helpx.adobe.com/content/help/en/flash-player/kb/installation-problems-flash-player- windows.html#main-pars_header
    [topic moved to Flash Player forum]

  • OAAD Picture upload - HTTP Error: 403 Forbidden

    Dear forum,
    When trying to upload a picture for our Q/A HR system in tx OAAD I get the error HTTP Error: 403 Forbidden. However, I can do it with no issues in our prod environment. Anyone has an idea why this is? I have checked SICF and icman is enabled. Does anyone have an suggestion? Hence it isnt portal communication I cant use httpwatch, which most likely could have told me whats wrong.
    I hope someone is able to comment on this issue.
    Thanks in advance!
    Kind Regards,
    Soren

    Dear Friis,
    We have a steps of configurations that needs to be completed for the photo upload to be working. As you say the same is working in the production system, I hope you have the steps with you.
    Most common things that needs to be checked in this scenario are,
    1. HTTP service availability through the configured profile parameter in the system
    2. Restart after the profile parameter change
    3. Content Server node activation in SICF transaction
    4. User ID and Password to be mentioned in the SICF service as communications or system user
    5. Other checks for the content repository and the number range
    You can also try repeatedly, to upload the pic (in a JPG format) - because most usually the first trial ends in a failure for the HTTP service with a 403 Forbidden error message.
    Let me know your response and the steps you had followed for the config.
    Thank you
    Regards,
    Vineeth

  • HTTP Error 403 - Forbidden on Cisco ISE and SCEP RA

    Dear Experts,
    We are in process of deploying ISE 1.2 in our environment for BYOD.
    The initial step of this process is to configure ISE as an SCEP Proxy and it requires certain configuration on the local CA. We have done all the required configurations on the local CA server.
    Now, when we try to connect ISE with the local CA using SCEP RA Profiles, it gives "HTTP Error 403 - Forbidden". The URL we are using is http://ipaddress/certsrv/mscep/mscep.dll.
    It seems that the local CA is not letting the ISE access the mscep.dll file. Now I dont understand how to allow ISE to access this file or the url. Please advise if there is any step by step process guide. Although, I have followed the ones from Cisco but it doesn't state how to give ISE the required rights for accessing mscep.dll.
    Thanks in advance.
    Jay

    Jay,
    You should use this URL:
    https://ipaddress/certsrv/mscep
    If you try to get the cert from an http address, you will get an error.  You should be using https.  Also, the mscep.dll should not be part of the URL.
    You can test this connectivity from any browser by putting that URL in the sddress bar.  You should see a page similar to this:
    Please Rate Helpful posts and mark this question as answered if, in fact, this does answer your question.  Otherwise, feel free to post follow-up questions.
    Charles Moreton

  • Error 403--Forbidden - From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.

    Hi, I have a problem with WebLogic Server: 10.3.5.0.
    I need to set that anyone who sees my enterprise application can view the website but not how. I always displays an error.
    The error is:
    Error 403--Forbidden
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    10.4.4 403 Forbidden
    The server understood the request, but is refusing to fulfill it. Authorization will not help and the request SHOULD NOT be repeated. If the request method was not HEAD and the server wishes to make public why the request has not been fulfilled, it SHOULD describe the reason for the refusal in the entity. This status code is commonly used when the server does not wish to reveal exactly why the request has been refused, or when no other response is applicable.
    Can you help me?

    When I'm working with web servers, and I've not worked with weblogic for quite a while, it has always been rights that have been the gotcha for the 403 error. You need to make sure that if you want everyone to be able to brouse the given folder, you need public read and execute rights on the contents.

  • Error "Ajax submit failed: error =403, Forbidden" when trying to sign up

    Hi,
    I am trying to sign up for eprint, but get this error when ever I try to create an account "Ajax submit failed: error =403, Forbidden" Does anyone have any ideas.
    thanks,
    Bob

    If you are experiencing this issue through the desktop browser, if available, try downloading the mobile app and see if you still experience issues signing up. Another recommendation is to try a different browser (Firefox, Chrome, etc) after restarting your machine.
    Hope this helps!
    Help the community by marking this post as a solution if it solved your issue!.
    If my post helped you in any way, please click the blue KUDOS star under my name! It would mean a great deal.

Maybe you are looking for