Creation of html file

Hi All,
I want to create an html file containing data from database in table format. and also i want to allow it download so how should i go.
Thanks
Anil

I am using jsp+jdbc
i tried FileWrite it creates file but contents are
not thr.then load your table values in your JSP.
ofcourse, you'll just be formatting it as HTML TABLE.

Similar Messages

  • Help URL in the Table Title Edit- need help on html file creation

    Hello All,
    Can you Please let me know how to create an html file for the help url in title? Can I have the sample text and the exact location to place the file. I guess it is under analytics res\images?
    Thanks for the Help!!
    Thanks
    SR

    Your question is not clear, for Title of window check the below code, for custom Help file in BI check this link https://forums.oracle.com/thread/2569872
    <html>
    <head>
    <title>Title of the document</title>
    </head>
    <body>
    The content of the document......
    </body>
    </html>
    if helps mark

  • Accordion Panels and List Menu don't work if I place html files in subfolders

    Hi all,
    Switched from Dreamweaver to Muse and I have very limited knowledge of code.
    Not an IT expert and not a web developer this is just for my own site.
    I have sub-folders in my site. All html files are inside sub-folders except index.
    ie contact.html or products.html I move them manually from root to the subfolder, using the easy interface of Dreamweaver. I call the subfolder "en"
    so I can have pages such as mysite.com/en/contact.html
    In the subfolder I copy and paste from  root the css, images and script folders,
    keeping the original css/images/scripts as well, in the root, so index.html is not affected.
    and same time the look of the html pages inside the subfolders does not change.
    BUT
    list menus and accordion panels don't work. I click and there is no movement
    How can I solve this ? I know Muse does not allow the creation of subfolders,
    everything is uploaded in the root.
    When in Dreamweaver I had placed 50 pages in subfolders and I was indexing them in google and bing.
    Now can't again put 50 pages in root and can't remove URLs and make new indexing for all these pages
    Any help ? many thanks for any assistance.

    The iPhone, like the Ipad, uses the Mobile Safari browser, so here's an earlier thread that might give you some insight: http://forums.adobe.com/thread/613494

  • Upload html files

    Hello Team,
    I followed the instructions in the how-to section to create a form to be able to upload and download files.
    It works very good. However, it does not work for html files.
    I have done that before using PL/SQL outside HTMLDB and I remember that this involved the creation of a table: ****PORTAL_CONTENTSPART which is equivalent in structure to the table WWV_FLOW_FILE_OBJECTS$PART.
    So now how this table can be used to store HTML contents.
    Thank you and appreciate your help in advance.

    This is a modfied version of the code I used on AskTom.oracle.com. Should do the trick.
    Create this table, it is pretty much a copy of wwv_flow_files
    create table  uploaded_files
       (id                  number not null enable,
         name                varchar2(90),
         pathid              number,
         filename            varchar2(400),
         title               varchar2(255),
         mime_type           varchar2(48),
         doc_size            number,
         dad_charset         varchar2(128),
         created_on          date,
         last_updated        date,
         content_type        varchar2(128),
         blob_content        blob,
         description         varchar2(4000),
         file_type           varchar2(255),
         file_charset        varchar2(128),
          constraint uploaded_files_pk primary key (id) enable
    create index uploaded_files_idx1 on uploaded_files(filename)
    This is the proecure used to download the files
    create or replace procedure  download_file (p_file in number)
    as
        v_mime varchar2(48);
        v_length number;
        v_file_name varchar2(2000);
        lob_loc blob;
    begin
        select mime_type, blob_content,filename,dbms_lob.getlength(blob_content)
          into v_mime,lob_loc,v_file_name,v_length
          from uploaded_files
         where id = p_file;
        owa_util.mime_header( nvl(v_mime,'application/octet'), FALSE );
        htp.p('Content-length: ' || v_length);
        -- 11/29/04 - Tyler just added this if statement to fix the download of html files
        if v_mime != 'text/html' then
            -- the filename will be used by the browser if the users does a save as
            htp.p('Content-Disposition: attachment; filename=' || v_file_name || '');
        end if;
        owa_util.http_header_close;
        wpg_docload.download_file( Lob_loc );
    end download_file;
    Grant execute on this file to public since the DAD connects as HTMLDB_PUBLIC_USER. You could just grant execute on it to that user if you like.
    grant execute on download_file to public;
    This is the process used to UPLOAD files. Assume it is on page 2 and you have 2 items: P2_FILE of type "File Browse" and P2_DESCRIPTION of type "Text Area".
    declare
        l_id    number;
    begin
        -- After file upload, HTML DB sets the value of the
        -- file upload item to the "name" of the file uploaded.
        -- We'll use that to get the primary key of the file.
        select id
          into l_id
          from wwv_flow_files
         where name = :P2_FILE;
        -- Copy the new row from wwv_flow_files into our own table (uploaded files)
        insert into uploaded_files(
               id,
               NAME,
               FILENAME,
               TITLE,
               MIME_TYPE,
               DOC_SIZE,
               DAD_CHARSET,
               CREATED_ON,
               LAST_UPDATED,
               CONTENT_TYPE,
               BLOB_CONTENT,
               DESCRIPTION,
               FILE_TYPE,
               FILE_CHARSET)
        select id,
               NAME,
               FILENAME,
               TITLE,
               MIME_TYPE,
               DOC_SIZE,
               DAD_CHARSET,
               CREATED_ON,
               LAST_UPDATED,
               CONTENT_TYPE,
               BLOB_CONTENT,
               DESCRIPTION,
               FILE_TYPE,
               FILE_CHARSET
          from wwv_flow_files
         where name = :P2_FILE;
        -- Set the description = to the description from the item on our page.
        -- You could do this in the insert, but I broke it out to make it more
        -- readable.
        update uploaded_files set description = :P2_DESCRIPTION where id = l_id;
        -- Delete the new file from wwv_flow_files since we now have it in our
        -- own table
        delete from wwv_flow_files where id = l_id;
    end;
    This is the report used to display your files. I would put it on a different page than the upload page.
    select ''||filename||'' link1,
           description,
           case when doc_size < 102.4
                  then round(doc_size,1)||'b'
                when doc_size < 1048576
                  then round((doc_size/1024),1)||'kb'
                else round((doc_size/1024/1024),1)||'mb'
           end the_size,
           mime_type,
           created_on
      from uploaded_files fHope this helps,
    Tyler

  • Can HTML files be parsed as JSP

    I currently have my web-app configured to process html files as JSP. Is it possible to configure NitroX so that it will parse .html files as JSP?
    I thought changing the Editor in the Preferences: Workbench->"File Associations" might work, but it didn't.

    Thanks, that solution works great. It would be terrific if options such as that were configurable within the NitroX Preferences.
    Another great preference setting would be a way to change the specified webroot. (I figured out how to do it manually.) The reason I had to do this was due to complications in getting JSTL support in the NitroX JSP editor for my existing webapp.
    I use JSP 1.2 and Resin 2.x for my production server. Since JSTL is automatically provided within the container, I do not have the JSTL tld's within my WEB-INF subdirectories. In order to get the JSTL support in the NitroX JSP Editor, (without having to edit my ant build script, directory/file structure, etc), I had to create a new project, choose JSTL support, and then manually edit the .m7project file to specifiy my existing webroot folder, and then restart NitroX (or close and reopen the project). One great enhancement that would be nice, would be the ability to specify the webroot directory while creating a new Web Application.
    A solution to my dilemma, and for many other people I imagine, would be to provide JSTL support inherently by allowing the developer to set a flag for the project (during and after creation). When setting that flag, the developer could then be given the option of copying the files as well. Then JSTL could be available via the corresponding standard taglib uri, such as the uri http://java.sun.com/jstl/core for the core JSTL taglib.
    I am still in the trial period of NitroX. I almost gave up after spending 3-4 hours trying to get JSTL and EL to work. Things finally look promising and I can't wait to see how NitroX for JSF pans out. If some of these issues are taken care of, I imagine our company will buy a couple of licenses.
    Thanks,
    Jeffrey Lilly
    HomeGauge

  • HT204433 iBooks not recognizing main html file in widget

    I've created a main hmtl file and created a widget (i think).  iBooks isn't recognizing that a main html file exists.  What's going on?

    Confirm your process w/iBooks Author: About HTML widget creation.

  • Issue in Creation of XML file from ABAP data

    Hi,
    I need to create a XML file, but am not facing some issues in creation of XML file, the in the required format.
    The required format is
    -<Header1 1st field= u201CValueu201D 2nd field= u201CValueu201D>
       - <Header2 1st field= u201CValueu201D 2nd field= u201CValueu201Du2026u2026. Upto 10 fields>
              <Header3 1st field= u201CValueu201D 2nd field= u201CValueu201Du2026u2026. Upto 6 fields/>
              <Header4  1st field= u201CValueu201D 2nd field= u201CValueu201Du2026u2026. Upto 4 fields/.>
               <Header5 1st field= u201CValueu201D 2nd field= u201CValueu201Du2026u2026. Upto 6 fields/>
          </Header2>
       </Header1>
    Iu2019m using the call transformation to convert ABAP data to XML file.
    So please anybody can help how to define XML structure in transaction XSLT_TOOL.
    And one more thing, here I need to put the condition to display the Header 3, Header 4, Header 5 values. If there is no record for a particular line item in header 3, 4 & 5, I donu2019t want to display full line items; this is only for Header 3, 4 & 5.
    Please help me in this to get it resolved.

    Hello,
    you can use CALL TRANSFORMATION id, which will create a exact "print" of the ABAP data into the XML.
    If you need to change the structure of XML, you can alter your ABAP structure to match the requirements.
    Of course you can create your own XSLT but that is not that easy to describe and nobody will do that for you around here. If you would like to start with XSLT, you´d better start the search.
    Regards Otto

  • Assigning a String Value to the value attribute of html:file

    Hi,
    we facing a problem while assigning a value to the VALUE attribute of file tag
    <html:file property="fileupload" size='25' value="sample.xls" onchange="callsheet()" />
    can anyone help me out plzzz,

    Two points -
    1) Java is not Javascript or HTML; you would do better to find a more appropriate forum.
    2) When you take this to a better forum, you need to describe the problem.

  • I want to use my Time Capsule as a central 'hub/hard-drive' in order to keep all my working files in one place. I then plan to use my laptops/desktops as peripheral devices for editing and creation of these files. Is it possible? Create a personal cloud?

    I want to use my Time Capsule as a central 'hub/hard-drive' in order to keep all my working files in one place. I then plan to use my laptops/desktops as peripheral devices for editing and creation of these files. Is it possible? To create a personal cloud?
    Can someone advise as to whether i can do the following:
                                Future Internet connection -------------------TIME CAPSULE (containing all files) -------------- Backed up on the WD 2T Hard-drive I have
                                      (not connected yet)                                         I                                                          (*connected to timecapsule physically)
                                                                                                            I
                    I                                         I                                                I                                                              I                                                I
          Macbook Pro                             iMac                                       HP (PC)                                             OLD Macbook Pro                         iPhone
    (used for remote working)       (Used for home working)     (used for heavy CAD and rendering)    (not being used for anything at the moment)        (& iPods)
    I am looking to have all my files in one place as i am hopelessly disorganised. I know the online clouds are a good solution (used Dropbox at work and uni for 3 years) however i am wanting to create my own 'dropbox/icloud' at home. So whenever i get back home with my laptop, any work i have been working on whilst out that day is updated to the timecapsule, and then ultimately as i turn on the other devices, they update to those newer versions of the files. Please tell me that the 3TB time capsule i have can do this, otherwise it feels rather overpriced as a wireless storage device?
    Another note (to those in the know) If i am to be working on large files (REVIT/SOLIDWORKS/KEYSHOT/CREO/AUTOCAD) - is the timecapsule connection good enough to support editing and updating these files?
    I know i may be asking a question that many have before, but as a bit of a technical novice I wanted a clear-cut answer to my specific circumstances. Your help is greatly appreciated.
    (*can i use this WD hard-drive that is connected to the Time Capsule as a back up? so that the time machine back-ups/any back ups are also backed up onto this one? can the WD be a backup for the TC?)
    Kind Regards
    Joe

    The diagram was supposed to look more like this......
    Internet ---------TIME CAPSULE(containing all files) --------WD 2T Harddrive
                                                I
         I                           I                          I                            I                                   I
    Macbook Pro         iMac                 HP (PC)            OLD Macbook Pro           iPhone
    Sorry!
    Regards
    Joe

  • How can I edit an html file in Firefox using View Source?

    I have created an html webpage and saved it to my pc. I can't edit the html file in firefox when I right click on the page and select "View Source". I can view the code but I can't edit it. I can do this in IE9.
    I thought I was able to do this before in Firefox.
    Did my settings change somewhere that I can no longer do this?
    Do I have to have something checked in the Web Developer extensions for it to work?
    I'm using Firefox 24.0
    Thank you for any help with this. :)

    The View Source window in Firefox cannot be used to change computer codes. Nor can the Web Developer tools.
    Sorry for any inconvenience.
    I suggest using Programmer's Notepad.

  • Relative path for HTML file

    Hi ,
    This is my requirement. In the ESS Personal information overview page, I can add a HTML file to the additional information section.
    I have created a HTML file by creating a web module and enterprise application and deployed the same through NWDI.
    I declare a resource wher ei mention the path. Here i specifed the complete path of the html file ... like
    http://hostname:portname/addinfo/addinfo.html.  Which i know is a wrong thing to do since when i move the html filel to the production system it will still be accessing the html file in the dev system.
    How do i give the relative path here so that the html file accessed is from the production system when we  go-live.
    Please suggest.
    regards
    sam

    Hi,
    One simpler solution is to use an AppIntegrator iView, as explained in the weblog <a href="https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/2786">Integrating your Web Front-ends into the SAP Enterprise Portal using the Application Integrator</a>. It worked well for us.
    You can remove the user authentication part in the portalapp.xml if you don't need it.
    Regards,
    Martin

  • How to generate & publish  webhelp html files in different folder than default folder

    Hi All,
    I am new to robo help. I have a requirement to generate & publish webhelp html files in a different folder than default folder.
    Could anyone please tell me the steps to change the folder
    Thanks
    Rashmi

    You change the generate folder and filename in the first field on the first page of the wizard. It must be a folder on your hard disk.
    You change the publish folder in the last page of the wizard. Anywhere you like.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • Importing/adding html files with bookmarks to project/TOC

    Overview:
    I've been importing some old html files that have a massive number of bookmarks/anchors in them (few hundred html 'pages' some of them mini help document libraries) in an effort to move the manuals into RH format. Using RH11
    Problem:
    when I import them all the bookmarks are showing up under each topic page. Second, when I add a folder into the TOC or auto generate a TOC it pulls each bookmark as a page (see screen shot). Any way I can get around this issue? I can manually add (drag/drop) the 'updates' page here into the TOC and it doesn't pull the bookmarks as pages. However i'm interested in knowing if I can simply not import the bookmarks or exclude them from populating as pages in the TOC. This seems to be new to RH11 (i've used RH9 without this issue in the past, on a similar project).
    System;
    RH11
    Office 2013
    SharePoint 2010
    Thanks

    Hi there
    Note that when you choose to auto-generate a TOC, you have a choice as to whether to create links to bookmarks. Look at the dialog below:
    My guess is that in the older version this option wasn't enabled when you auto created a TOC and you really didn't pay attention to the way it was set in the new version.
    Cheers... Rick

  • Help needed  while exporting crystal reports to HTML file format using java

    Help needed  while exporting crystal reports to HTML file format using java api(not using crystalviewer).i want to download the
    html file of the report
    thanks

    the ReportExportFormat class does not have HTML format, it has got to be XML. Export to HTML is available from CR Designer only.
    Edited by: Aasavari Bhave on Jan 24, 2012 11:37 AM

  • HTML file is not being shown properly in the JEditorPane

    Hi,
    I am using JEditorPane to display an HTML file from the local disk. This HTML file contains the html tables. Now when this file is getting displayed in the JEditorPane, one top row grid is not being displayed in the editor pane. content of the row is there...but the column grid is missing. All other rows and columns are being shown but the first row-column grid which contains the heading for column.
    Also when I m printing the content of this JEditorPane using Java Print API then no grid is being printed on the paper. content is coming properly but no table grids. when i have taken the print out of the original html file from the browser then table grids are being printed out properly.
    Please do help me out in showing the HTML file in the JEditorPane properly and printing the same.
    Many Thanks,
    gshankar

    Hi,
    JEditorPane renders HTML with many limitations.
    You can use JDIC for the same. refer: jdic.dev.java.net
    But JDIC does not work on windows 98.
    Anand

Maybe you are looking for

  • MacPro 5,1 - 6 Hard Drives (with internal Superdrive)

    I'm throwing this out there because I searched for a long time for an EASY way to set up 6 hard drives in the MacPro case.  This is how I did it.  I'll throw some comments in at the end for anyone interested and also what I would have liked to have d

  • Airport Express refuses to be administered!

    I have an Airport Express unit which refuses to be administered. Relevant specifications: Powerbook G3, OS X 10.2.8 with all current updates Airport Admin Utility says version 3.1.1 Airport Express has version 6.3 firmware Whenever I try to connect w

  • Photoshop cc 2014 and lightroom doesn't work

    Hi, I need your help. Installed Photoshop and Lightroom as trial today. Since 5 hrs I try to make them work and I am close of loosing my patience. I have a laptop, windows 7, 64 bit. Updated all the drivers. Installed and deinstalled the products cou

  • Can i connect my ps4 to my mac os x

    Please can anyone help I have bought my son a PS4 console and want to connect it to my imac can you please give me instructions on the best way to do it?

  • Merge XML

    I have 2 Strings representing xml: (The first String) <bookshelf> <book><title>1st Book</title> <book><title>2nd Book</title> <book><title>3rd Book</title> <bookshelf> (The second String) <bookshelf> <book><title>4th Book</title> <book><title>5th Boo