Generate html page

I am wanting to call a procedure which has all the html code in it to generate the HTML page. The procedure has the <html> and <body> tags within.
Has anyone tried to do this? If so how would I call the procedure and how would I display the procedure.
Thanks in advance.
Andrew

Andrew,
I've seen this before - it's called the PL/SQL Web Toolkit.
how would I call the procedure - you could call it directly from a URL that is configured to use modplsql against your database.
how would I display the procedure - if, by that, you mean how would the results be rendered? The results from your PL/SQL procedure (which would make calls to the PL/SQL Web Toolkit functions and procedures) would be streamed back to the requesting browser from modplsql.
By the way, Application Express (nee HTML DB) is built on top of the PL/SQL Web Toolkit and modplsql. That's exactly how it works.
Joel

Similar Messages

  • Generated html page size

    Hello, do anybody know an approach how to check html page size generated by jsp (servlet) in run time ?
    Thanks.

    String myFile ="C:\\Path\\To\\File\\name.html";
    File repositFile = new File(myFile);
    long repositFileSize = repositFile.length();

  • How to reduce size of generated html page?

    Hi,
    Is there an option in oc4j which will remove unneeded white space from the html generated by a jsp page? I have jsp page which generates a html page of 120kb (lots of lines containing only spaces). Formatting this html page using tidy results in an html page of 20kb. (considering that normal modems achieve about 5kb/s downloading these spaces could take about 20 seconds).
    I've tried setting the reduce_tag_code option to true but this didn't help. Are there any options in oc4j which might help?
    Thanks,
    Andrej

    Hi,
    Is there an option in oc4j which will remove unneeded white space from the html generated by a jsp page? I have jsp page which generates a html page of 120kb (lots of lines containing only spaces). Formatting this html page using tidy results in an html page of 20kb. (considering that normal modems achieve about 5kb/s downloading these spaces could take about 20 seconds).
    I've tried setting the reduce_tag_code option to true but this didn't help. Are there any options in oc4j which might help?
    Thanks,
    Andrej

  • Adding custom code in generated HTML pages?

    Hi
    We have a customer running Weblogic Portal 8.1 sp3 ia64.
    They need to add some custom html code like <META ... tags within the <HEAD.
    How to do that?
    Best regards Anders Rothman

    add it to the framework jsp - head.jsp i believe.
    Kunal Mittal

  • Fireworks generated HTML page breaking apart when text resized

    What's the best way to prevent the Fireworks generated slice
    gifs from breaking apart when a browser increases the text size in
    IE?

    #nav li {
    list-style:none; }
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "AndyBute" <[email protected]> wrote in
    message
    news:ef5jb5$8hc$[email protected]..
    > Hi,
    > Thanks for the suggestions. I've rewritten the site
    using a DIV layout in
    > CSS.
    > On small tjing that has cropped up is that I can't
    remove the bullet
    > images on
    > my menu. Take a look at the site at
    http://www.360iview.co.uk
    > The bullet images are crampimg the already tight space
    on the menu.
    > Can you see where the problem is
    >
    > Thanks
    >
    > Andy
    >
    > Here's the CSS and XHTML code:
    >
    >
    > #nav {
    > list-style-image:none;
    > position: absolute;
    > top: 295px;
    > left: 679px;
    > width: 120px;
    > }
    > .menu a:link, .menu a:visited, .menu a:active {
    > color: #FFFFFF;
    > text-decoration: none;
    > font-family: Verdana, Arial, Helvetica, sans-serif;
    > font-variant: none;
    > font-size: 12px;
    > font-weight: bold;
    > }
    > .menu a:hover {
    > color: #FF6600;
    > text-decoration: none;
    > }
    >
    >
    > <div id="nav" class="menu">
    > <?php page_menu(); ?></div>
    >

  • Use of WHERE clause to get 2 columns from dynamically generated html page.

    I am using postgresql.I have to complete a java program , which is a forum like thing.User can login and submit question.....if anybody know the answer he can post the answer........Now the problem is that if more than one questions are entered it all should be displayed when we click on a "faq" button.........i created that one......these questions have the hyperlink.........When we click on a single question a text box will come........we have to write the answer there and answer should lie on the column corresponding the question clicked..............
    Here i need the querry to write in servlet so that the answer is stored in the corresponding column only.................
    Pleaseeeeeeeeeeeee help me as soon as possible..................
    Regards
    Shine..

    Sir,
    Other than you are using postgres and a servlet I have absolutley no idea what you are on about.
    Please try explaining in a less distressing manner.
    Sincerely,
    Slappy

  • HTML page generated by Netweaver studio is very big

    Hi,
    Is there any way to make the generated HTML pages (when developing a web dynpro application from Netweaver studio) smaller in size  ?
    It appears to be big even for a very simple hello world page.
    Thanks.
    Regards,
    Daniel

    No, I don't think so.
    The generated html code cann't be altered.
    Regards,
    Ashwani Kr Sharma

  • Displaying dynamically generated HTML

    Hi!
    Is it possible to display dynamically generated HTML-page by means of ITS?
    I want to write report in ABAP and generate HTML-page with report data, then display it on client side.
    Is it possible?
    Thanks!

    Hello,
    As long as it has a transaction code then probably yes.  Just use the webgui service.
    Edgar

  • Printing html pages from JSF-JSC created pages

    Hi all,
    I have a serious problem with my web apps created with JSC using the JSF components. I designed a page full of tables, developed in vertical for a total of about three or four pages scrolling down.
    When I try to print the generated page from the browser (Firefox, Safari, Explorer) I always get just the first 'page', the entire webpage generated by my application is not saw as a long page, but just 'cutted' out.
    It seems like all JSF components have some problems being like layers or so...any hint? How can I print my html page generated by my web app?
    G

    Perhaps viewing the source of the generated html page will give you a clue to what's wrong..

  • Servlet to generate  *new*  html pages for browser

    Dear all,
    Greetings!
    I am write a servlet, and I want this servlet to generate different html pages (say 5 pages) simultaneously, and then display them in 5 different pages in client browser.
    The sequence is like this:
    1) the user click a link in a web browser and send request to web server.
    2) web server has a servlet to handle this request, then in doGet() or doPost() method it will do some calculations first, after that, it generate 5 different html pages (it can use redirect in a chain fashion) and send back to client browser.
    3) the client browser will display these 5 different html code in 5 different pages (should not be the same as the original pages that submited the request), i.e, it will pop up new web pages automatically to serve 5 different pages (since each page will have <html> ... </html> codes).
    Any solution, if possible, please give me some idea.
    //-- My main problem is: how to ask servlet to generate html codes,
    //-- and when send back to client, let browser displays the information in
    //-- a new web page (not original page the submit the request)? show some servlet doGet() code if possible.
    if you have solution for even only 1 page, your help is also very appreciated!
    once again, many thanks!

    However, for wild guessing,
    are you included d:\richard in your CLASSPATH?No. Does the CLASSPATH affect the default directory to create file - and I have to put the Tomcat as the first path in my classPath? But I just found that I set environment variable HOME to be d:\richard. It must be the reason.
    How about this:
    When a use submit a request, the servlet starts a new
    thread to do the process, for example.....I thought about this solution earlier. It is true that this is a solution. Now I am not worrying about it, since when I move on about this project, I found something more interesting (worse?) for this project. Detail follows:
    This morning I was informed that the project needs the request being sent from the front end applet, (*NOT from browser link*), so now even simple client side scripting does not work. This is because when servlet sends back response, it will send back to applet by Connection.getInputStream() - this is what I can think about right now. Basically, it means, the browser will not even have a chance to process the returned HTML code. So the question becomes: How to ask browser open a web page to display the servlet response from an front end applet directly? ;(
    I am almost run out of idea! Will check back later, meanwhile spend some more time considering... It is very late here now (early in the next morning)!
    Thank you very much indeed for all you kind help!!!

  • How can I generate a html page in a servlet-applet connection?

    Hello, I have an applet which contains an ok button, when I click this button, I need that servlet generate an html page and view it in browser. How can I do this?
    Thanks

    But with this method only is possible I think open a page web, and if it is possible call url of the servlet, you generate other request and response object (other call to method doGet or doPost because ShowDocument needs parameter url), so the previously request when I click button ok it's no the same and how I obtain the prinwriter from first request, showDocument don't obtain html page from printwriter.

  • Page length problem in PDFs generated from HTML pages in Acrobat

    I just spent an exhausting 2-1/2 hours on the phone with Adobe tech support (offshore) in order to get a 5 minute fix. I figured that I'd document it here in case another user has the same problem. (I'd checked the forums and a few e-mail lists and hadn't found a solution.)
    When generating PDFs from HTML (Web) pages, Acrobat squeezed all of the text into the middle of a single page (with just the last inch or so of text on page 2). This resulted in pages that Acrobat identified as being 30", 40", even 60" long, and the printed results were unusable. I haven't been able to identify an event or a system change that caused this to happen; Acrobat had been generating PDFs properly before this trouble started.
    THE FIX:
    1. Start Acrobat and run the Repair Installation option from the Help menu.
    2. Go to C:\Documents and Settings\user\Application Data\Adobe\Acrobat\8.0
    and rename the Preferences file to PreferencesOld. A PC restart will be
    required after this change.
    3. Restart Acrobat. This creates a fresh Preferences folder.
    4. Test creating PDFs from a single HTML page and from multiple pages.

    Thanks, Bernd, but where are these settings?  While I'm writing, is there a setting to make an html file fit on one page in Acrobat?

  • How to generate dynamic HTML pages using Swing Application?

    Hello,
    I am writing a Java application to connect to a local light-weight java database. I would like to generate and present a HTML on the fly after selecting records from a database. At server side, I could easily use JSP/Servlet to do this. How can I do this on a desktop client machine using Java application? I do not want to install Apache web server on the desktop machine. Any help will be greatly appreciated. Thanks in advance.
    Dominic

    The way u need to generate your html pages depened on what u want to generate,
    anyway what i can help with, is how to display a generated page.
    u have to use JEditorPane with HTMLEditorKit and HTMLDocument to display any HTML.
    also u can use the methods provided with the above objects to generate your html format.
    I hope I helped.

  • Cursor placed in 2nd character position of an HTML page generated thru Web Bean.

    I am not sure if others have noticed it but in my HTML page (generated thru EDitCurrentRecord web bean), the cursor is not always placed in the first character position of a text box/text area.
    Is there a way that I can ensure that the cursor starts blinking in the first character position always (instead of the 2nd or 3rd character position)?
    Thanks in advance!

    This is a bug. I don't have a workaround for you. I will fix it in the next release.

  • How to generate a html page when a button is pressed

    hi
    i have to generate a html page when a help button is pressed
    so please help me
    thanks
    shiva

    "touch index.html"
    Might not be what you're looking for but creates an html page.

Maybe you are looking for