JSP Portlet Returns 404 HTTP Error

Hello,
I have a portlet provider that is a simple JSP page that passes a select query string to a table in the database, straight forward. In JDeveloper the JSP and related Classes work fine. As a portlet the provider is registered and the JSP page where the query is entered all function fine, but when a query string is entered and the submit button is pressed the result is a blank page or 404 error. Any thoughts?
Thanks,
Jeff

i would guess the action parameter in your form is the problem.
in a standard JSP, called "myPage.jsp", if you want to page to post to itself,
you simply use <form action="mypage.jsp" method="post">
however, a portlet is simply a content region on a PL/SQL page.
your JSP needs to use the Java Portlet APIs to determine what page it's on,
and then post to that page, listening for params on the refresh.
in other words, the JSP does not exist as a unique entity,
and therefore would be expected to generate a 404 on request.
see the Parameter Passing Java Portlet sample for details.
good luck,
rich

Similar Messages

  • I cannot fix a 404 HTTP error help please

    hello i am trying to access a web address and i try using safari or firefox, and i always encounter this error :
    HTTP Error 404 - File or directory not found.
    Internet Information Services (IIS)
    Technical Information (for support personnel)
    Go to Microsoft Product Support Services and perform a title search for the words HTTP and 404.
    Open IIS Help, which is accessible in IIS Manager (inetmgr), and search for topics titled Web Site Setup, Common Administrative Tasks, and About Custom Error Messages.
    the web address i am trying to go to is www.shoemetro.com i only have this kind of error when i tyoe this address otherwise i don't have any problem using other addresses that is kind of weird !!!
    if you can help me i would appreciate.
    thanks

    A 404 error is a server error and can only be 'cured' by the mainatiner of that server not by you.
    http://en.wikipedia.org/wiki/Link_rot
    Stefan

  • DMM 5.1 - 404 HTTP Error

    Hi,
    I am trying to connect to DMM5.1 admin page for the first time and yet getting a 404 error. I am sure I can ping the hostname of the DMM and it matches the same one configure on DMM applicance. I am using the URL  http://<DMM Hostname>:8080 and no luck. I am getting the following error:
    Any ideas?
    HTTP Status 404 - /dmsadmin/main.jsp
    type Status report
    message /dmsadmin/main.jsp
    description The requested resource (/dmsadmin/main.jsp) is not available.
    Thanks

    Glad to see someone else is having this issue.  I've used VMs of the demo 5.1 without a problem, and on several different machines.  Now I'm trying to set up a server from scratch and get the same issue as the previous post.
    I know my DNS is working, I can ping the hostname of the server fine, and I can access another DMM that is running as a VM fine, but not this machine.  I have restarted everything and flushed DNS on the computer I am trying to use to http to the DMM (when I had the same IP address for one physical and one virtual DMM, and tried to disconnect one and switch between the two).
    I have reloaded a new ISO, one I downloaded and one was downloaded by a coworker, and both do exactly the same thing.  My next step will be to try to download and run the 5.2 ISO.  If that doesn't work, I don't know what to do.

  • ICal Server 404 HTTP Error

    Hi all,
    I'm having a perplexing issue with iCal server.  Every now and again, iCal reports that it encountered an HTTP 404 error with my iCal account on one of my Lion servers.  I can't seem to figure it out.  Anyone else having this issue?  Any suggestions?
    Chris

    Do you ever get 404 errors accessing server.example.com/webcal ?
    If you are using SSL check that your SSL sertificat is correctly set for iCal. In Server app go to Hardware => Server => Settings => SSL Certificate.
    You can try enabling the webcal manually by doing this:
    iCal with SSL:
    sudo webappctl start com.apple.webapp.webcalssl
    iCal without SSL:
    sudo webappctl start com.apple.webapp.webcal
    This rebuilds you apache httpd.conf and restarts apache which suppressing often solves problems in Lion Server. Alternatively you might try to disable all services, change your servers hostname (just go through the process but change the hostname to what the hostname already is) and then re-enable all your services.

  • How to consume web service in WDP ABAP ---HTTP error (return code 404, mess

    Hi,
    Am trying to consume a web serivce in WDP where I got error HTTP error (return code 404, message "conn failed")in sdn i came to know that it could be resloved by giving the IP address of the host but in case it is not the web services am using are the external links.
    kindly help me to sort it.
    Regards
    Raj

    hi,
    in addition to above thread
    refer this too
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b0d4aa08-beed-2a10-fab2-ad975cead04a
    bvr

  • Error in Webservice Call HTTP error (return code 404, message conn failed)

    Hi
    We wish to call  a standard EP7 webservice through ABAP.
    When we try to create consumer proxy , we get the following error.
    HTTP error (return code 404, message "conn failed")
    Message no. SPRX090
    ==> Display Error Document
    If you want to generate a proxy for an external WSDL document by specifying a URL, check that the proxy settings of the system are correct (transaction SICF - Client - Proxy Settings). If you want to generate a proxy for an XI Repository object, check the connection to the Enterprise Services Builder as follows:
    Check List for Setting Up a Connection to the Service Repository
    1. The address of the Enterprise Services Repository must be known in the SAP system
    Check with report SPROX_CHECK_IFR_ADDRESS
    The address is taken from the following parameters in the exchange profile ('Connections' section):
    com.sap.aii.connect.repository.name: Server (for example,pwdf0436)
    com.sap.aii.connect.repository.httpport: Port (for example, 1080)
    com.sap.aii.connect.repository.contextroot: Root (for example,rep)
    The logon data is also read from the exchange profile ('ApplicationSystem' section):
    com.sap.aii.applicationsystem.serviceuser.name: User
    com.sap.aii.applicationsystem.serviceuser.pwd: Password
    As an alternative to using the exchange profile, you can maintain the RFC destination SAP_PROXY_ESR. If this RFC destination is maintained it will be used by the proxy generation in place of data from the exchange profile to access the Service Repository. In this case, the Exchange Profile will even not be read.
    The RFC destination has to be set up using transaction SM59 and should look like this:
    RFC Destination: SAP_PROXY_ESR
    Connection Type: G (HTTP Connection to External Serv)
    Description1: ESR for Proxy Generation
    Target Host: esr_host
    Service No: 1080
    Path Prefix: rep
    Logon and Security:
    Basic Authentication: active
    User: esr_user
    Password: esr_password
    2. The HTTP Framework of the Web Application Server must function
    Check with report SPROX_CHECK_HTTP_COMMUNICATION
    If necessary, contact your system administrator. Please be aware of the fact, that the HTTP framework is depending on the application server. Thus the result of the report may differ for different application servers.
    3. Proxy generation must interpret the data of the Enterprise Services Repository correctly
    Check with report SPROX_CHECK_IFR_RESPONSE
    you can also login in dev and go to Xn se91
    enter msg id SPRX and msg no 090
    select the message and click on long text..
    you get the same message in a formatted manner..
    How to get rid of this ?
    Regards
    Rajendra

    Hi
    we have given the correct path as we have tested the webserive from
    other technology (.net) by providing the same path.
    regards
    Rajendra

  • When trying to download Acrobat Pro XI Student I only get this " http error: 404/support/downloads/dlm/main.jsp " warning.

    Hi!
    When trying to download Acrobat Pro XI Student I only get this " http error: 404/support/downloads/dlm/main.jsp " warning. This happens with Akamai and the altervative method too. I've paid it, is this because Adobe hasn't progressed my payment yet?
    Kind regards, xpooler.

    Luckily the problem seems to have vanished. I am not sure what happened but I think the reason was one of the browser extensions, thanks for the advice anyway!

  • HTTP ERROR: 404 /support/downloads/dlm/main.jsp

    In 2008 I bought CS3 Web Design Premium, I now have a new computer and wanted to download the software off the internet since I still have the license to input however I keep getting the same error code. When I go to the download page it opens a window that always fails and says:
    HTTP ERROR: 404 /support/downloads/dlm/main.jsp
    I used firefox and had problems as well: The following disk couldn't be opened--reason: image not recognized. Any ideas what's going on?

    with prodesigntools.com, you must follow the instructions on the download page.
    Downloads available:
    Suites and Programs:  CC 2014 | CC | CS6 | CS5.5 | CS5 | CS4 | CS3
    Acrobat:  XI, X | 9,8 | 9 standard
    Premiere Elements:  13 | 12 | 11, 10 | 9, 8, 7 win | 8 mac | 7 mac
    Photoshop Elements:  13 |12 | 11, 10 | 9,8,7 win | 8 mac | 7 mac
    Lightroom:  5.6| 5 | 4 | 3
    Captivate:  8 | 7 | 6 | 5
    Contribute:  CS5 | CS4, CS3
    Download and installation help for Adobe links
    Download and installation help for Prodesigntools links are listed on most linked pages.  They are critical; especially steps 1, 2 and 3.  If you click a link that does not have those steps listed, open a second window using the Lightroom 3 link to see those 'Important Instructions'.

  • I need Photoshop CS3 for mac download.. Adobe site says: HTTP ERROR: 404 /support/downloads/dlm/main.jsp  RequestURI=/support/downloads/dlm/main.jsp

    i need cs3 photoshop...
    HTTP ERROR: 404 /support/downloads/dlm/main.jsp
    RequestURI=/support/downloads/dlm/main.jsp

    http://helpx.adobe.com/creative-suite/kb/cs3-product-downloads.html
    Gene

  • Trying to download Photoshop CS3 for Mac but keep getting error message  (HTTP ERROR: 404 /support/downloads/dlm/main.jsp, RequestURI=/support/downloads/dlm/main.jsp)

    Trying to download Photoshop CS3 for Mac but keep getting error message  (HTTP ERROR: 404 /support/downloads/dlm/main.jsp, RequestURI=/support/downloads/dlm/main.jsp)

    Jessicawaters are you trying to download from Download CS3 products?  If so then please try a different web browser.

  • I tried to reload a previously downloaded CS3 program on to my new hard drive and this is the message when I click on the english link for Mac products: HTTP ERROR: 404 /support/downloads/dlm/main.jsp RequestURI=/support/downloads/dlm/main.jsp

    I tried to reload a previously downloaded CS3 program on to my new hard drive and this is the message when I click on the english link for Mac products: HTTP ERROR: 404 /support/downloads/dlm/main.jsp RequestURI=/support/downloads/dlm/main.jsp

    Make sure you have cookies enabled for your browser.  Try using a different browser if the problem continues.

  • Can not down load my programs, my disk dose not work.,, and I keep getting this massage when i try down load off Adobes sight....  HTTP ERROR: 404 /support/downloads/dlm/main.jsp

    can not down load my programs, my disk dose not work.
    and I keep getting this massage when i try down load off Adobes sight....  HTTP ERROR: 404 /support/downloads/dlm/main.jsp

    Hi Tim,
    Kindly try the link mentioned below.
    Other downloads
    Thanks,
    Atul Saini

  • [Error running JSP portlet in JDeveloper

    I'm writing a JSP portlet with JDeveloper 9.0.3.
    The "index.jsp" works OK, and I can see the registration URL for my new provider.
    I deploy the application to Oracle9iAS 9.0.2.0.1 Application Server succesfully throught DCM servlet, register the new provier and I can run the portlet succesfully.
    But if I try to run the "pasa_parametroShowPage.jsp" inside the Jdeveloper, I get an HTTP 500 Error :
    java.lang.NullPointerException
         void htdocs.pasa__parametro._pasa__parametroShowPage._jspService(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
         [htdocs/pasa_parametro/pasa_parametroShowPage.jsp]
              pasa_parametroShowPage.jsp:12
    Line 12 is:
    Hello <%= pReq.getUser().getName() %>
    Thanks in advance.

    In order to successfully run, "pasa_parametroShowPage.jsp" must be called in a portal context - JDeveloper does not do this.
    Therefore, when called from JDeveloper, the PortletRenderRequest object is not present, hance the null pointer exception.
    You shouldn't attempt to run this JSP directly from with in jdev. You'll notice that if you point a browser directly at that JSP, you will get the same null pointer exception.
    If you need to debug this JSP in jdev, you can use a portal instance **or** the test harness (http://portalstudio.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/PDK/TESTSUITE/PDKTEST/PDKTEST.ZIP)
    to fire http requests at JDeveloper's embedded OC4J.

  • AdControl error: HTTP error status code: NotFound (404)

    For over a week now, a Silverlight WP 8 app with an AdControl configured for "test_client" continues to report this error and thus no bing ad visible either while running from an emulator (8.1 512) or from a WP 8 device. If I change the AdUnit
    to use a PubCenter ID it works fine on the device and ads are displayed. The emulator connects to the Internet just fine via IE.
    Could the ad server not be responding to the "test_client"?
    Could someone let me know if it has worked recently for them? I tried contacting MS and no one seems to have an app configured with the test ad... I could give MS so many helpful suggestions. But looking at the hundreds of un-answered posts here - I
    suppose they're busy with Windows 10...and have they asked developers if they're willing to put up everything on the cloud? all the while people still waiting to see the 'start' button on Windows 9?
    here's the trace
    Ad Err: NetworkConnectionFailure,Microsoft.Advertising.Shared.AdException: HTTP error status code: NotFound (404) ---> System.Net.WebException: The remote server returned an error: NotFound. ---> System.Net.WebException: The remote server returned
    an error: NotFound.
       at System.Net.Browser.ClientHttpWebRequest.InternalEndGetResponse(IAsyncResult asyncResult)
       at System.Net.Browser.ClientHttpWebRequest.<>c__DisplayClasse.<EndGetResponse>b__d(Object sendState)
       at System.Net.Browser.AsyncHelper.<>c__DisplayClass1.<BeginOnUI>b__0(Object sendState)
       --- End of inner exception stack trace ---
       at System.Net.Browser.AsyncHelper.BeginOnUI(SendOrPostCallback beginMethod, Object state)
       at System.Net.Browser.ClientHttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
       at Microsoft.Advertising.Shared.HttpRequest.EndGetResponse(IAsyncResult asyncResult)
       at Microsoft.Advertising.Shared.WebRequestWrapper.WebRespCallback(IAsyncResult result)
       --- End of inner exception stack trace ---
    I do love Windows - don't get me wrong - I'll check my 2nd dev system soon.

    Hi Ravi,
    Reward points if this helps
    The J2EE server might be overburdened and cannot accept the call. The 'Receive'servlet is not called. You will find further details on the HTTP status code definitions under "http://www.w3.org". Check the accessibility of the server by calling: http://<hostname>:<port>/MessagingSystem/receive/AFW/XI.
    The Listener Beans of the affected connection (AFW, Marketplace, BC,see above) were not registered or the log-specific Event Handler was not found.
    Check out this trouble shooting guide for SAP XI...Section 7.4.4.4 talks about exactly the same problem:-
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/bd5950ff-0701-0010-a5bc-86d45fd52283
    Reward points if this helps
    Regards
    Pragathi.

  • HELP! Why am I getting HTTP ERROR: 404 when trying to download CS3?

    I am trying to download CS3 Design Premium from Adobe because I lost my installation discs and need to reinstall.
    The link to download CS3 Design Premium English is broken and gives the following error:
    HTTP ERROR: 404 /support/downloads/dlm/main.jsp
    RequestURI=/support/downloads/dlm/main.jsp
    Any help out there?

    Downloads available:
    Suites and Programs:  CC 2014 | CC | CS6 | CS5.5 | CS5 | CS4 | CS3
    Acrobat:  XI, X | 9,8 | 9 standard
    Premiere Elements:  12 | 11, 10 | 9, 8, 7
    Photoshop Elements:  12 | 11, 10 | 9,8,7
    Lightroom:  5.6| 5 | 4 | 3
    Captivate:  8 | 7 | 6 | 5
    Contribute:  CS5 | CS4, CS3
    Download and installation help for Adobe links
    Download and installation help for Prodesigntools links are listed on most linked pages.  They are critical; especially steps 1, 2 and 3.  If you click a link that does not have those steps listed, open a second window using the Lightroom 3 link to see those 'Important Instructions'.

Maybe you are looking for

  • ***CALLING ALL MACBOOK AIR USERS*** Will the base model of the 2013 Macbook Air 11" be enough for my needs?

    Ok, This is my first post to this forum. I have a Late 2011 i5 Macbook Pro. I used this last year during college but the weight was just unbearable. I have decided this year to upgrade to a Macbook Air. Here is my question. I am starting uni and will

  • How do I create a Repository in ISE for 1.2 upgrade?

    Hello, I am upgrading out 1.1.4 ISE nodes to version 1.2 in the next few weeks. Following the Cisco guide for this I should create repositories on both our admin nodes and store the upgrade file locally. These repositories cannot be created using the

  • Mac mini+hp w2216 monitor (DVI)= problems!

    The strangest thing happened when I moved my Mac mini (G4, 1.42 GHz) from an Apple Cinema Display (no problems) to a new HP w2216 (1680x1050 wide screen monitor). I connected with a DVI cable. At first, it worked. But after a while, artifacts started

  • Problems connecting second pc to the router

    Hi everyone, My first PC is connected to my FIOS router and everything is fine with that. I know the router admin login and the router password. But I am having a hard time connecting my second PC to my FIOS router and to the internet. I have been us

  • Workflow Attribute Names

    Answer me this... When you create a workflow in the Workflow builder, one is FORCED to have the item level and function level attribute internal names to be all uppercase. Fine. So I make a work attr called MY.ATTR.NAME. But then, in a PL/SQL functio