Storing and retrieving pdf

I've stored pdf files in oracle database in BLOB field. Now I want to retrieve it by using xsql or some Java program to show it in the browser(the pdf file itself). Is it possible? Can I've some example code?
I'm also using Tomcat server and my overall aim is to combine the power of oracle, xml and other suporting utilities like xsql etc.
Thanks in advance.
null

<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Faisal:
I've stored pdf files in oracle database in BLOB field. Now I want to retrieve it by using xsql or some Java program to show it in the browser(the pdf file itself). Is it possible? Can I've some example code?
I'm also using Tomcat server and my overall aim is to combine the power of oracle, xml and other suporting utilities like xsql etc.
Thanks in advance.<HR></BLOCKQUOTE>
Db Prism can manage ulpoad/download functionality like IAs mod_plsql and runs on Tomcat 3.2.+.
You could see a demo on line at, obviusly DB Prism is an Open Source Framework then, you could see the code of download adapter for Oracle 8i database and create your custom servlet whith the same functionality.
Best regards, Marcelo.
PD: DB Prism 1.2.0-dev web page is at including source code in download section.
null

Similar Messages

  • Oracle forms 6.0 Image storing and retrieval

    Hello to all,
    Iam new to oracle forms, Iam using oracle forms 6.0, i was trying to insert the image into database using blob datatype.. i was continuously getting lot of error...
    Can any one give a sample application for inserting and retrieving the images. If it is a .fmb (form), i would be very thankfull to you.....'

    Mr. manvar khan, can u plz send me this fmb file for inserting and retrieving images in forms 6.0, i would be very grateful to you.
    [email protected]

  • Storing and reading PDF's

    i am trying to figure out a way to store and read pdf's (and possibly other) documents on my iphone. i would like to store them on the iphone instead of on dropbox or iCloud.
    right now i have a suggestion to use iBooks which seems to require me to email the document to myself and then to download it and a suggestion to use Adobe Reader for the iphone which does not get very good reviews.
    does anyone have a good way to get pdf (and possibly other) docs to my phone so i can read them? i'd prefer not to use the pages/numbers/whatever iCloud storage as this requires individual uploads, i am not sure i can upload pdfs and also i would /much/ rather just have a disk on my desktop on my HARD DRIVE that automatically synced to my iphone every time i connected the iphone to the laptop or desktop...

    Thanks.  Works great for me.

  • Where is the binary data of this icon stored and retrieved from Application server?

    Hello guys,
    Today I observed one phenomenon and could not explain it per my knowledge.
    I have one url which points to an icon in application server:
    https://<host name>:44301/sap/public/bc/ur/nw5/themes/sap_corbu/common/libs/Icon/SuccessMessage.gif
    I could successfully open it via chrome:
    and after that I could see an entry in ICM server cache. Everything works perfectly.
    Then I tried to check this icon in mime browser in SE80. To my surprise, the folder /sap/public/bc/ur/nw5/themes is empty.
    However, the ICM cache shows that there is a subfolder called "sap_corbu" under "themes" folder. But why I cannot find it in mime browser?
    Then I write a report to retrieve the binary data of icon via CL_HTTP_CLIENT, and clear the ICM buffer via tcode SMICM.
    I expect this time some database table will be queried to load the content of the icon, since now the buffer is not available.
    To my surprise again, in SAT no database table is involved.
    So now I am confused: since I have already cleared the ICM server cache, where does the icon binary data come from when I run the report to access the icon?
    Best regards,
    Jerry

    Hello guys,
    one colleague today told me that there is a zip file "ur_mimes_nw7.zip" in MIME repository /PUBLIC/BC/UR/ur_mines_nw7.zip. I download it locally and unzip it and indeed find many theme folders including sap_corbu folder and its resource files. So I guess there must be some logic done in web application server which will unzip this archive file and put each theme folder to the corresponding folders in application server. I would assume those logic are done outside ABAP stack side, this is the reason I cannot find any hint of them in ABAP backend via tcode SAT even I clear both client and server side cache.
    Best regards,
    Jerry

  • Storing and retrieving arabic in SQL Server 2000

    hello, i realize this problem has been posted lots before but i read in the forum and i couldn't find a solution to fix my problem
    i am developing a desktop application in java and sql server 2000, and i'm using JBuilder for writing my java codes
    here's the problem
    i can MANUALLY store arabic text in my database (directly in SQL Sever Query Analyzer) and can read it in arabic properly in SQL Server, but if i want to retrieve the arabic text in a query in JAVA, for example: select * from person i see weird characters (not question marks) but not the original arabic text
    and if i type arabic text in a java textfield and use the value entered in an sql query, for example:
    sqlQuery = "insert into person (fname) values ('" + jtfFName.getText() + "')";it is inserted in SQL Server as ?????s and when i retrieve the values from the table i also see it as ?????s
    even when i converted all the data types in the database to unicode data types (*nchar* instead of char and nvarchar instead of varchar) and modified the sql query to the following:
    sqlQuery = "insert into person (fname) values (N'" + jtfFName.getText() + "')";(N outside the single quotation mark since according to rules on msdn)
    it still didn't solve the problem
    please i need urgent help with this issue!

    problem was solved by setting the charSet encoding to "UTF-8" in the connection to sql server using the jdbc-odbc bridge

  • Uploading PDF in to BLOB and Retrieve PDF from BLOB

    hi
    I have recently started working in apex and run into a bump while trying to handle PDF file Attachments and BLOBs.
    I am trying to upload a PDF file into BLOB database Column using APEX, and later view this file from DB.
    I require assistance on how to upload PDF file into BLOB, and how i can later view this inside the browser window, using APEX
    thanks

    Maybe this blog post can help you.
    Regards,
    Sergio

  • Storing and Retrieving Zipped Word Templates

    Hi there,
    I was wanting to know if anyone has tried zipping a Word templage, then saving it into an oracle table using Blobs, and then retrieving it back and unzipping it.
    I would like to know if there are any issues doing this and also see some examples if you'd like to share.
    Thanks in advance.
    Emilio.

    you may set the mime type in the meta tag, but i still think it's safter to use the html codes

  • Viewing and retrieving PDF form responses problem

    Yesterday there were 2 submissions of our driver application form. One was my test and the other was from an actual applicant. Both were clearly displayed under the View Responses tab and I could click on either one and save as a PDF. Today I have 7 new responses. When I click on the number under Total I get a series of horizontal cells: Time Submitted  First Name Middle Name, etc. I am not seeing the individual submissions as I did yesterday. What's the fix.

    Hi,
    This FAQ may be useful for the missing responses, http://forums.adobe.com/docs/DOC-4071.  If still not solve the issue, you can share your forms with me, I'll try to help you find out what is the problem.  You can share the form to my email, [email protected]
    Regards,
    Perry

  • CAR configuration storing and retrieving

    Hi,
    I am looking for ways to save the current configuration and to retrieve it for later purposes. Is it possible to do so?
    We have only one CAR and multiple people are using it. So the CAR has to re-configured for different people purpose. It will be useful if we are able to store the current working configuration of CAR and later be able to retrieve it.
    Please tell me whether this is possible. I couldn't find same information from Cisco CAR documentation.
    Thanks,
    Salai.

    You can use TFTP server to backup & Restore the configuration file. Here is the step by step procedure to back & restore the configuration file click this link.
    http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/products_tech_note09186a008020260d.shtml#bcb

  • Storing and retrieving multiple values into one cookie.

    Hi Everyone,
    I am wondering if anybody knows of any good tutorials involving storing multiple values into one cookie. Any URLs will be greatly apprecated. Thanks heaps.
    Regards
    Davo

    These are normally delimted in HTTP by a semicolon. You can concatenate the string yourself and on the reverse trip use StringTokenizer to get the values back out.
    - Saish

  • Storing and retrieving Photos

    Storage help. I have previous years photos on my external drive and have removed them from my imac drive. I would like to view my old photos but it takes for ever to import them from the external drive. Is there any better way of doing this.
    Thanks. Chris.

    I'm concluding that the photos on the external drive are NOT in an iPhoto library. That being the case, you need to create a second library (on your external drive). Import them once. Afterwards, all you need to do is select that library.
    Hold down the Option key while starting iPhoto. You will see a menu that allows you to either create a new library or select an existing one from a choice of as many as you have previously created. Note: If you then quit iPhoto and subsequently re-open it without the Option key, it will continue to open the most recently selected library.

  • Where is the forum for storing and retrieval of Microsoft.public NNTP Usenet posts in the cloud?

    I'm looking for all the microsoft.public  c, c++ etc.. NNTP usenet posts from years 1998-present that I used to be able to access through Google groups.
    All that was very useful and hard-to-find these-days info, particularly how C and C++ worked with windows-APIs.
    These days, I would think that someone has all those posts in a cloud db somewhere.
    From what I'm reading about Windows Live Mail http://email.about.com/u/r/od/windowsemailclients/gr/live_mail_deskt.htm they say that the support for it is virtually non-existant, and that the data is lost after a while. So please don't suggest this
    as a solution.
    Thanks in advance.
    used: Dos, MSDos, Win3, Win95, WinXP, Vista, Win7, and Win8 || AIX/Linux, etc: HP AIX, IBM AIX, Ubuntu, OpenSUSE, Puppy Linux, OS/2, VM/CMS, SAP

    They're archived here but were abandoned by microsoft as they transitioned to forums.
    https://groups.google.com/forum/#!forumsearch/microsoft.public
    https://groups.google.com/forum/#!search/microsoft.public.vc.*
    MSDN C++ forums are here.
    http://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=vcgeneral%2Cvclanguage%2Cparallelcppnative%2Cvcgeneral%2Cvclanguage&filter=alltypes&sort=lastpostdesc
    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows]
    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

  • Trouble in storing and retrieving RMI object in Weblogic 7 JNDI tree.

    I have created a simple server (BankImpl), implementing a RMI interface
    called Bank. A stub class (BankImpl_Stub.class) is generated from BankImpl
    class using
    "rmic -v1.2". Then I bind an instance of the BankImpl class to the JNDI tree
    in Weblogic
    server 7 under the name of "PeopleBank".
    After the binding, I can see the stub class in the JNDI tree, but with a
    different name: BankImpl_WLStub.class). when a
    client program is trying to lookup the stub associated with "PeopleBank", it
    failed with a puzzling message:
    java.io.NotSerializableException: BankImpl_WLStub
    Why a stub of a RMI object is not serializable? Does Weblogic needs a
    different rmic to generate RMI stubs?
    Thanks,
    Lian

    I have created a simple server (BankImpl), implementing a RMI interface
    called Bank. A stub class (BankImpl_Stub.class) is generated from BankImpl
    class using
    "rmic -v1.2". Then I bind an instance of the BankImpl class to the JNDI tree
    in Weblogic
    server 7 under the name of "PeopleBank".
    After the binding, I can see the stub class in the JNDI tree, but with a
    different name: BankImpl_WLStub.class). when a
    client program is trying to lookup the stub associated with "PeopleBank", it
    failed with a puzzling message:
    java.io.NotSerializableException: BankImpl_WLStub
    Why a stub of a RMI object is not serializable? Does Weblogic needs a
    different rmic to generate RMI stubs?
    Thanks,
    Lian

  • XML storage and retrieval in/out of 8i

    Please take into consideration my lack of exerience in XML and
    Oracle8i when you read this question....
    Our project is considering using Oracle8i to store, query &
    retrieve XML documents. Having read several Oracle web sites on
    XML, I'm left with the impression that the Oracle iFS is at the
    conerstone of Oracle's XML implementation. The idea of a
    drag-n-drop approach to place XML data files into the database is
    interesting, but I suspect our project needs a more "programatic"
    (i.e. background/automatic) approach to conveniently storing and
    retrieving XML data. I've read only "hints" that O8i will support
    this. My question: where can I find out more about what Oracle8i
    has to offer the developer in this area?
    Thanks
    Syd
    null

    Hi Meghana,
    concerning KM (I am assuming 6.0, SP2)in general, connection of repositories, classification of content, creation of your own properties, etc. I can only point you to the documentation for:
    a) Administrators
    http://help.sap.com/saphelp_ep60sp2/helpdata/en/38/76bd3b6e74d708e10000000a11402f/frameset.htm
    b) End Users
    http://help.sap.com/saphelp_ep60sp2/helpdata/en/4a/725b3bad64474ee10000000a114084/frameset.htm
    Concerning APIs, if the standard configuration options of KM (described in Admin Guide) and of the SAP Enterprise Portal are not enough, please check:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sapportals.km.docs/documents/a1-8-4/sap netweaver developers guide.booklet
    Regards,
    Karsten

  • How to store and retrieve chinese characters

    Hi, I am facing some problem in storing and retrieving of chinese characters from oracle,9i .
    This is the character i am trying to store into the database
    自动提款机网络
    while trying to retrieve it, it shows
    自?提款机网?
    ^ ^
    you can see the weird characters like ? at some places.
    here is the sample code which i can using to store and retrieve data from the database
    class testInsert
    public static void main(String[] args)
    try {
         DriverManager.registerDriver (new oracle.jdbc.driver.OracleDriver());
         Connection conn = DriverManager.getConnection ("jdbc:oracle:thin:@172.16.6.81:1521:JFPPTDB1", "citi_user", "citi_user");
         int employee_id = 12345;
    String ename = "自动提款机网络";
         oracle.jdbc.OraclePreparedStatement pstmt = (oracle.jdbc.OraclePreparedStatement)conn.prepareStatement("INSERT INTO employees (employee_id, last_name) VALUES (?, ?)");
         pstmt.setFormOfUse(2, oracle.jdbc.OraclePreparedStatement.FORM_NCHAR);
         pstmt.setInt(1, employee_id);
         pstmt.setString(2, ename);
         pstmt.execute();
    pstmt.close();
    pstmt = (oracle.jdbc.OraclePreparedStatement)conn.prepareStatement("SELECT last_name, employee_id from employees");
    ResultSet rset = pstmt.executeQuery();
              String name = "";
              while(rset.next())
                   name = rset.getString(1);
         int id = rset.getInt(2);
              System.out.println("the name is :"+name);
    catch (SQLException sqe)
              System.out.println("Java SQLException caught, error message="+sqe.getMessage());
    and the table in oracle is
    SQL> desc employees;
    Name Null? Type
    LAST_NAME NVARCHAR2(10)
    EMPLOYEE_ID NUMBER
    I am using classes12.zip for oracle,9i. Is there any database setting that i need to know to retrieve the chinese characters?.
    I have been facing this problem for quite sometime and it makes my life tough. Please help me in solving this issue.
    Thanks
    PD

    hi, can you retrieve the chinese character from your os? When it comes to the wild code of asian character, you should focus on the database/client character setting. you may ask more about it from your dba.
    have a nice weekend!
    eilison
    [email protected]

Maybe you are looking for

  • After upgrade to IOS 8.3 sync with iTunes doesn't work

    After upgrade iPhone 6, iPad Air to IOS 8.3, the sync (over wifi, as well) to iTunes doesn't work anymore. On iMAC iTunes, the last sync's hour and day appear different from what is recorded on mobile devices (iPhone and iPad); with IOS 8.2 and the p

  • Delta load to ODS taking too much time

    Hi, I have one delta load running everyday to ODS .its getting data from R3 & its taking too 3-4 hours daily.due to this data is not getting updated in cube on time and there arises issue with data in Reports Please let me know what are possible solu

  • Photo stream picture size

    I am sure this must have been covered before, but I am obviously not using the correct search terms to locate the answer. I have photo stream active for Aperture and not iPhoto. If I want to just use the photo stream in Aperture am I correct that on

  • Processing photos in the field taken with DSLR

    I want to be able to take my DSLR (Nikon D800e) and iPad to a workshop and accomplish minor edits in the field. If i transfer RAW files to my iPad, will LR Mobile allow me to edit them?

  • SOAP over JMS with Oracle tool chain

    Hi, is there an easy way to create a webservice with SOAP over JMS for Oracle Application Servers? Are there any tutorials, docus or examples? Any hint is appreciated....