Create WEB PAGE using PL/SQL

Does anyone have explicit example of how to generate web page by invoking a PL/SQL stored procedure from Windows desktop?

here's a starting point for documentation
http://download-east.oracle.com/docs/cd/B19306_01/appdev.102/b14251/adfns_web.htm
you'll need to install an http service (if using 10g, just install the companion cd), and set up a DAD for MOD_PLSQL
http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14190/confmods.htm#sthref550
good luck

Similar Messages

  • Generating Web Pages using PL/Sql

    Friends,
    Would eb gr8 if you can provide me with some help files to learn about developing Web pages using Oracle 8i Procedures.
    Would really appreaciate your help
    null

    Ex:
    CREATE or REPLACE PROCEDURE hello
    IS
    BEGIN
    htp.p('<html>');
    htp.p('<head>');
    htp.p('<title>Hello World Test</title>');
    htp.p('</head>');
    htp.p('<body>');
    htp.p('<h1>Hello World Biju</h1>');
    htp.p('<p>The time is '
    &#0124; &#0124;to_char(sysdate, 'hh24:mi:ss yyyy-mm-dd')
    &#0124; &#0124;'</p>'
    htp.p('</body>');
    htp.p('</html>');
    end hello;
    You can call the above stored procedure by using the following URL: http://machinename:portno/pls/sid/hello
    Jack
    null

  • How to create web pages in Flash?

    Hi,
    I am trying to create a personal portfolio website using Flash CS4.
    Understand that there are a number of ways to create web pages using Flash.
    One way is to create separate swf files for the web pages and load them when the web page is requested.
    Another way is to put the pages in separate frames in the same swf file or to use scenes and use gotoAndPlay().
    Another possible way is to create separate movie clips for the web pages.
    Wonder if anybody can advice the recommended way of creating the web pages.
    Thanks in advance.
    regards,
    ladybug

    there are pros and cons to each approach.  which is best for your situation depends on your specifics.

  • How to create web site using STRUTS frame work

    Hi,
    I know how to create web pages using JSP & Servlets.But now i have to create Matrimonial web site using STRUTS frame work.Plz any one guide for me...
    Thank U....

    Struts is not to be confused with JSF.
    Start at their own homepage over there at apache.org.
    Good luck.

  • Creating Web services using JDeveloper for Pl/SQL package having ref cursor

    Hi,
    I am trying to create web services for PL/SQL package in JDeveloper. When I am trying to create this web service, the functions in the package which is returning referential cursor or record cursor are not visible. When I highlight the function and click "Why Not?", it displays the message "The following types used by the program unit do not have an XML schema mapping and/or serializer Specified: REF CURSOR". Could you please let me know, how I can create this web service?
    I am getting similar error when I am trying to create web service for a package with overloaded functions also.
    Thanks,

    Ok so I played around with this some more. I created the same process in bpel using oracle bpel designer and here are the results.
    1. Against 10g database running a synch process data is retutned without error.
    2. Against 9i database running an asynch process data is retutned without error.
    3. Against 9i database running a synch process data is retutned with error.
    I'm definilty missing something.

  • Why use Dreamweaver for create web pages

    Hi I am new in Dreamweaver and I want to know why use Dreamweaver for create web pages?

    Twitter
    http://twitter.com/altweb
    Blog
    http://alt-web.blogspot.com/
    Site
    http://alt-web.com/

  • Create an entire web page using cffile

    I would like to create an entire web page using cffile..
    it seems that the output attribute is where you put the
    content like:
    output="this is a test."
    Q: so how do you add the full .htm content inside ....
    output=""
    ... where there will be lots of other double quotes?
    (if it involves 'escaping' characters - then I'll need some
    help with that.)
    Also : is it possible that the content could be some data
    combined with an cfinclude - i get errors when i try this...

    Well, I dont think I fully understand your intentions or
    goals are. However, from what I gather so far, you could output the
    data into pdf files. But like I said I dont understand what your
    trying to achieve. As far as the errors with <..etc, if they are
    included and you are trying to produce results those characters
    very well could cause problems when you are trying to do something
    that they were not intended to do.

  • How to import html5 animation (created/published using flash) into a web page using Dreamweaver.

    I have created an animation in Flash and published it as a html5 animation.
    How do I get this into an exisitng web page using Dreamweaver?

    Hi Nancy,
    I am using Flash CC2014 which publishing as html.
    (When I publish as html with edge animate you can create an oam file which allow the inserting of the resulktant animation into a web page)
    The files produced with Flash CC 2014 are: html try.html and html.try
    I was hoping I could use some way to just insert the html animation produced by Flash.
    Source Code in html file is ....
    <!DOCTYPE html>
    <html>
    <head>
    <meta charset="UTF-8">
    <title>html try</title>
    <script src="http://code.createjs.com/easeljs-0.7.1.min.js"></script>
    <script src="http://code.createjs.com/tweenjs-0.5.1.min.js"></script>
    <script src="http://code.createjs.com/movieclip-0.7.1.min.js"></script>
    <script src="html try.js"></script>
    <script>
    var canvas, stage, exportRoot;
    function init() {
      canvas = document.getElementById("canvas");
      exportRoot = new lib.htmltry();
      stage = new createjs.Stage(canvas);
      stage.addChild(exportRoot);
      stage.update();
      stage.enableMouseOver();
      createjs.Ticker.setFPS(lib.properties.fps);
      createjs.Ticker.addEventListener("tick", stage);
    </script>
    </head>
    <body onload="init();" style="background-color:#D4D4D4">
      <canvas id="canvas" width="550" height="400" style="background-color:#99CCFF"></canvas>
    </body>
    </html>
    Tony

  • Launch HTML Page using PL/SQL package

    Hi,
    Am trying to launch an HTML page in which i have used javascripting using
    catridges htp.p
    while registering the function , only in the HTML call i have given package.procedure name
    are there any special parameters that i need to pass in the package.
    How do i build the url of the page to display in the package?
    the problem i am clicking on the function i am getting logged as the function is unable to find the right url i guess

    MOD_PLSQL is an Apache (Web Server) extension module that allows one to create dynamic web pages from PL/SQL packages and stored procedures. It was formerly called the Oracle PL/SQL Cartridge and OWA (Oracle Web Agent). So I guess, you are referring to the same.
    As for UI development, why don't you use the Oracle Applications Framework [OAF]? That's the standard for any UI development in apps. As mentioned earlier, mod pl/sql code is not supported on R12, so why use it? Better have a look at OAF.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How to create a counter using Oracle SQL Developer?

    Is there any way to create a counter using Oracle SQL Developer to create the below scenario. Meaning it will recorded down the name of user and ID and time and the date they login.
    Library portal home statistics shows how many users (outside and within the campus) visit the library portal.
    Page Access statistics is recorded on an hourly basis. Users may select the statistics by
    yearly (statistics displayed by all months in the selected year)
    monthly (statistics displayed by all days in the selected month)
    daily (statistics displayed by all hours in the selected day)

    I'm giving here one basic post - hope this will solve your problem --
    SQL>
    SQL>
    SQL> create table audit_info
      2   (
      3     usr        varchar2(50),
      4     log_time   timestamp(6)
      5    );
    Table created.
    SQL>
    SQL>
    SQL>  create table err_log
      2     (
      3       log_cd      varchar2(20),
      4       log_desc    varchar2(500)
      5     );
    Table created.
    SQL>
    SQL>
    SQL>   create or replace procedure ins_err(errcd   in  varchar2,
      2                                        errnm   in  varchar2)
      3    is
      4      pragma autonomous_transaction;
      5    begin
      6      insert into err_log values(errcd,errnm);
      7      commit;
      8    end;
      9  /
    Procedure created.
    SQL>
    SQL>
    SQL>   create or replace procedure ins_aud(ud   in varchar2,
      2                                        unm  in varchar2)
      3    is
      4      pragma autonomous_transaction;
      5    begin
      6      insert into audit_info values(ud,unm);
      7      commit;
      8    exception
      9      when others then
    10        ins_err(sqlcode,sqlerrm);
    11    end;
    12  /
    Procedure created.
    SQL>
    SQL>
    SQL>
    SQL> create or replace trigger log_odsuser1
      2   after logon on odsuser1.schema
      3   begin
      4     ins_aud('ODSUSER1',sysdate);
      5   exception
      6     when others then
      7       ins_err(sqlcode,sqlerrm);
      8   end;
      9  /
    Trigger created.
    SQL>
    SQL*Plus: Release 9.2.0.1.0 - Production on Tue Jun 12 12:21:09 2007
    Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
    Connected to:
    Oracle9i Enterprise Edition Release 9.2.0.6.0 - 64bit Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.6.0 - Production
    SQL>
    SQL>
    SQL>
    SQL> set serveroutput on
    SQL>
    SQL>
    SQL> select * from audit_info;
    USR
    LOG_TIME
    ODSUSER1
    12-JUN-07 12.00.00.00000000 AMHope this will solve your purpose.
    Regards.
    Satyaki De.

  • Need help to access a web page using midlet to retrieve some informations

    Hi everyone i'm trying to access a web page using midlet to retrieve some informations in text format, the web page is [http://daviddurand.info/D228/?villes|http://daviddurand.info/D228/?villes] for my project.
    the problem is that i always get error 10049 in socket::open meaning no adresse could be found i tried IP adresse and still the same.
    i managed to recreate the same web page to test it on local and the surprise that it works fine but when accessing it online i have this error.
    i tried also to get the page i created on a webserver i own to try it saying that there might be security issues but the same error appears again. so help plz
    here is my code :
    package mobileapplication5;
    import java.io.*;
    import javax.microedition.io.*;
    import javax.microedition.lcdui.*;
    import javax.microedition.midlet.*;
    public class GetMidlet extends MIDlet {
    private Display display;
    String url = "http://dayaati.com/villes/index.php?villes";
    public GetMidlet() {
    display = Display.getDisplay(this);
    public void startApp() {
    try {
    getBirthdayFromNameUsingGet(url);
    } catch (IOException e) {
    System.out.println("IOException " + e);
    e.printStackTrace();
    public void pauseApp() {   }
    public void destroyApp(boolean unconditional) {  }
    public void getBirthdayFromNameUsingGet(String url) throws IOException {
              HttpConnection httpConn = null;
              InputStream is = null;
              OutputStream os = null;
              try {
    httpConn = (HttpConnection)Connector.open(url);
    httpConn.setRequestProperty("User-Agent", "Profile/MIDP-2.1 Configuration/CLDC-1.1");
    httpConn.setRequestProperty("Content-Language", "en-US" );
    httpConn.setRequestProperty("Content-Type", "text/html; charset=iso-8859-1");
    httpConn.setRequestProperty( "Connection", "keep-alive" );
    httpConn.setRequestProperty("Content-Length","51200");
              getConnectionInformation(httpConn);
              int respCode = httpConn.getResponseCode();
              if (respCode == httpConn.HTTP_OK) {
                   StringBuffer sb = new StringBuffer();
                   os = httpConn.openOutputStream();
                   is = httpConn.openDataInputStream();
                   int chr;
                   while ((chr = is.read()) != -1)
                   sb.append((char) chr);
                   // Web Server just returns the birthday in mm/dd/yy format.
                   System.out.println(sb.toString());
              else {
                   System.out.println("Error in opening HTTP Connection. Error#" + respCode);
              } finally {
                   if(is!= null)
                   is.close();
                   if(os != null)
                        os.close();
              if(httpConn != null)
                        httpConn.close();
    void getConnectionInformation(HttpConnection hc) {
    System.out.println("Request Method for this connection is " + hc.getRequestMethod());
    System.out.println("URL in this connection is " + hc.getURL());
    System.out.println("Protocol for this connection is " + hc.getProtocol());
    System.out.println("This object is connected to " + hc.getHost() + " host");
    System.out.println("HTTP Port in use is " + hc.getPort());
    System.out.println("Query parameter in this request are " + hc.getQuery());
    **Heeeeeeelp Please**

    [http://java.sun.com/javase/6/webnotes/trouble/TSG-VM/html/crashes.html]
    SIGSEGV (0xb)Most common cause of that is JNI code used directly or indirectly through a 3rd party library.
    64-Bit Server VM (11.2-b01 mixed mode linux-amd64)Conversely that VM gets less traffic than others so you might have hit a bug in it.

  • How can I add a podcast episode to an existing web page using iWeb?

    How can I add an episode to an existing web page using iWeb?
    I could probably figure this out but I am afraid if I make changes to the site and re-upload it to the podcast area I will have just doubled it. I see them repeated from time to time.
    What is the proper protocal? Thanks
    Mac G4   Mac OS X (10.4.3)  

    Hi apple-owner,
    Method 1.
    To create this scatter-plot, I selected the whole of Columns A and B. (Shift click on the Column reference tabs).
    The plot ignores blank rows, but they are "ready" for new data:
    Method 2
    If you did not select whole columns, you can extend the "active" rows. Rows 1-5 selected:
    Add more data rows and drag the fill handle (small white circle, bottom right) down
    Regards,
    Ian.

  • How to create web page same as Struts tiles in OPA?

    Hi,
    How to create web page containing consistent Header,Fotter,left right pannel which embed OPA screen?

    Web Determinations uses Velocity templates to configure the appearance of a paritcular page. You can configure these tempaltes to get the look and feel that you like.
    For more information search for "Oracle Web Determinations Template Reference Guide" in the Oracle Policy Automation Developer's Guide (http://docs.oracle.com/html/E38272_01/toc.htm)

  • Creating Web service for PL/SQL Procedure with Complex Data Types

    I need to created web service for PL/SQL Procedure with Complex Data types like table of records as parameters, how do we map the pl/sql table type parameters with web service, how to go about these?

    Hello,
    When you are creating a service from a Stored Procedure, the OracleAS WS tools will create necessary Java and PL wrapper code to handle the complex types (table of record) properly and make them compatible with XML format for SOAP messages.
    So what you should do is to use JDeveloper or WSA command line, to create a service from your store procedure and you will see that most of the work will be done for you.
    You can find more information in the:
    - Developing Web Services that Expose Database Resources
    chapter of the Web Service Developer's guide.
    Regards
    Tugdual Grall

  • How to embed 3D models in web page using JAVA?

    Hello
    I'm doing a project at University to create a virtual tour of a village. I am creating the buildings in MAYA using polygon planes and cubes and then exporting to VRML.
    I plan to embed each individual model into a separate web page. Then when the user clicks on a location in a 2D map they will be taken to the web page containing that building.
    However, I can't work out how to embed these 3D models into web pages using JAVA. Can anyone help me with this, please?
    Also, I've been told to use JAVA 3D to interact with the project but am unclear as to how JAVA 3D would be used in this project - aqny ideas/suggestions welcome!
    M.

    If you use Java-plugin, you can embed Java3D in a web page.
    Here is the URL(http://www.geovista.psu.edu/products/demos/LorenzAttractor3D/index.html) which used Java3D.
    I hope this helps.
    Masa

Maybe you are looking for