3 Replies Latest reply: Nov 16, 2012 6:36 PM by 924742 RSS

    Programmatically Return HTTP Code

    924742
      Hi all,

      Using JDeveloper 11.1.1.6.0

      In .NET I was able to throw an exception such as HTTPNotFoundException which would return to the client the proper HTTP code for scenarios such as 404 "not found", "unauthorized" 401, etc. Is there a similar methodology for ADF? I'm hoping to throw an exception and have the application return the proper page for that HTTP error which has already been configured.

      Thanks for your help!