Saving word doc in database and retrieving

hai all,
Is it possible to save a word file in database and retrieve the word file in web dynpro application?
Thanks n Regards
Sharanya.R

Hi,
To save the wordfile to the database make use of lob types.
Make use of JDBC to do this.
retreiving
Make use of JDBC to fetch the previously saved doc.
Populate a context of type IWDResource(Nw04s onwards) or  Binary(Nwo4).
Set the appropriate  mime type
Create a filedownload and bind this.
Regards
Ayyapparaj

Similar Messages

  • I have my Mac with Mountain Lion and my IPad synched and have Pages on both. I have doc in Word on my Mac I want to access on my IPad while I am away travelling. But I can't locate them. Where should I look to find my previously saved Word docs?

    I have my Mac with Mountain Lion and my IPad synched and have Pages on both. I have doc in Word on my Mac I want to access on my IPad while I am away travelling. But I can't locate them. Where should I look to find my previously saved Word docs?

    Welcome to the Apple Support Communities
    It looks like you haven't got them on iCloud. On your Mac, open Pages and drag the Word documents to the iCloud window

  • I bought the pdf to word doc converter subscription and the transaction went through and worked the day i got it. Now it tells me i need to subscribe and wont convert. what to do?

    I bought the pdf to word doc converter subscription and the transaction went through and worked the day i got it. Now it tells me i need to subscribe and wont convert. what to do?

    Contact Adobe Customer Care - click on the Still need help? button to chat with an agent.
    [topic moved to ExportPDF forum]

  • Can i store a word document in icloud and retrieve on my ipad 2?

    Can I store a windows word doc in my icloud and retrieve it on my ipad 2? how do I access icould on a windows pc?

    This feature cannot be turned off. It is almost "Microsoft-ish" as far as I am concerned .... In the way that Word wants to turn every email address that you type in a document to blue. However, I change it in Word, but you can't turn it off on the iPad.
    Thats just way the way the mail app and the notes app work with the iOS and it cannot be disabled.

  • Problem saving Word doc as PDF - Vista?

    I have a pc with Vista and Word 2007. I have adobe Reader 9 or 9.1. Some free download or add on thing allows me to save word docs as PDFs. This worked fine to start with but then I found I couldn't move the PDFs I have created from one file to another or delete them. Next I found I couldn't move other PDFs I have downloaded from websites. Then I found I couldn't open the PDFs I had created but I could still open website PDFs I had downloaded. I can still open, move and delte PDFs created on a mac and sent to me by email or memory stick. What is going on? Please help!

    So you're saving them from Word using "Save as", correct?
    If so, what happens if you use File>Save as>Adobe PDF?

  • How can I store a word file in database and other one download this file

    My dears:
    I want to upload a word file at my form then store in database
    and other one user want to download this file
    I Use developer 10g R2
    Database 1og
    thanks more

    If you take a look at the WebUtil page, there is a demo which can be downloaded. Look carefully at the option to upload to DB. If you want to manipulate the doc you can use OLE. This is also offered as part of the example.
    http://www.oracle.com/technetwork/developer-tools/forms/webutil-090641.html
    Be sure to carefully review the included ReadMe file as it includes some minor configuration required to use file upload/download functionality.

  • Word doc import/export and line spacing differences with Pages '09

    When I save or open a Word .doc, the default line spacing differences messes up the document formatting, the document ends up being more pages in Pages than when I open in Word:Mac.
    One work around I learned about on this forum is to set the line spacing to "exact" in Pages. This is okay, except many Word documents have subtle line spacing before or after paragraphs and/or different size fonts in the document that affects line spacing. Setting Pages line spacing to exact makes a mess of these documents.
    Why can't Apple build a proper line spacing function into Pages so it is more compatible with Word? If they are touting compatibility, they need to make a disclaimer in their advertising as only simple documents seem to work without issues.
    Is there a better work around available?
    Thanks.
    Bud

    Bud,
    It seems that there is incompatibility in the before and after spacing (Ctrl + 0 in Word for Windows adds 12 points, if I remember correctly).
    Since you mention a .doc file, it makes me think you have a Word 2003 or earlier format. I have a couple of suggestions:
    1. If you have access to Word 2007 or Word 2008 for Mac, try saving in .docx. Basically, a .docx is compliant with Office Open XML, the ECMA standard that is the basis for the document formats in Microsoft Office 2007 and Microsoft Office 2008 for Mac.
    [Note: The Office Open XML ECMA standard, or OOXML is a source of polemic since it was donated by Microsoft and competes with Open Document Format, or ODF. You can find more here:
    http://en.wikipedia.org/wiki/OfficeOpen_XML#Implementations_of_new_2008version
    and Microsoft has stated they'll support the newer standard and retrofit Office 2007. Let's hope they do the same for Office 2008 for Mac and that Apple picks up as well with an upgrade for Pages '09 or in Pages '10]
    2. If the above does not work, I would suggest reporting this to Apple. This would indicate a compatibility problem in Office Open XML compliance, which should be independent of Word itself. A way to support this claim would be to test it in another word processor that adds space before and after a paragraph and that supports OOXML, which I think would be too much I would not bother reporting it for a Word 2003 format because it is proprietary.
    Hope it helps.

  • Saving data in a database and publishing data to multiple clients

    Hi there.  I'm using a bunch of Compact FieldPoint modules to read out a few hundred voltages, temperatures, currents, etc.  I acquire this data at about 1 Hz (pretty slow).  I would like to record this data to some sort of database on a cpu (running LV 8.0, connected to the FieldPoint mods), and serve the data to multiple (between 10 and 50) clients over the net, each running a compiled stand-alone "data grabber and viewer" application (which I'll have to write of course).  I'd like these external clients to basically be able to pick a certain variable from the database, and plot it for the last week (or something like that).  Presumably the standalone client would send some database query to the server.  The server would then send the data to the client, and the standalone client would receive the data and plot it as the user sees fit.  My question is how to implement this database?  Should I use the LabView "Database" Add-On to create a database to store the data? Is it better to just store the data as binary and write my own data fetching routine to handle queries?  How can I write this database to disk for permanent storage? Could this database be accessible outside of LabView?
    Any help on this would be appreciated.  Thanks!
    Jesse Wodin
    Post Doctoral Researcher
    Stanford Linear Accelerator Center
    650-504-2512

    Hi Jesse,
      The Citadel database is not a relational database.  It's highly optimized for storing lower-rate (non-waveform) channel-by-channel, or "trace" measurement data.  Another option you can consider is using DSC and Citadel on the server then writing a utility to export the data from Citdael to an SQL database.  --That would solve the problem of having to write a logger application from scratch.  You would only have to write the relatively simple application to export the data from Citadel and import it into a relational database.
      You could accomplish this two ways.  First, DSC includes a set of VIs that will retrieve historical data from Ciatdel.  You could use LabVIEW to parse this data and write it to a table in a relational database.  Second, Citadel actually includes a locally accessible ODBC interface.  (You can query Citadel using an SQL query from the local computer).  You could query Citadel using this interface, then write the result to a table in a relational database.
      To view Citadel in its native format or query a Citadel database using ODBC from a remote comptuer that comptuer would need to have a licensed DSC RTS installed.
    ~~

  • Word .docs with Horizontally and Vertically oriented pages

    I have 30 plus Word .docs that have Horizontally and Vertically oriented pages in them. A new PDF is created each time the orientation changes. Is there a way to have Acrobat keep those in the same PDF?
    I am using Acrobat Pro for Mac 10.1.10

    As far as I know there are no patches available for the software and OS I am using (I ran the update check on each), but my version of Acrobat Pro is older.
    OSX 10.9.4 Mavericks
    Acrobat Pro for Mac 10.1.10
    Word 2011 14.4.3 (140616)

  • Text-only Pop-ups with linked Word docs in RH8 and links in general

    Procedures have been written in Word with several words to have pop-up definitions.  The Word-styles have been set up in my RH8 project.  I plan on linking the Word docs instead of importing them.
    What are the impacts to the pop-ups and links when the original Word document gets modified down the road.  Do these all need to be set up again?
    Am I better off performing an import or will linking be acceptable?  I have not tried to create the pop-ups or links at this point.
    Additionally, we already called out related procedures at the bottom of our procedure (they are not linked-would do that in RH).  Should I remove these in the Word document and perform the drop and drag function in RH8 to add the related documents?

    A pop-up menu can be associated only with timelines not with playlists.

  • How to store images in database and retrieve them back to page?

    Well I don't know how to store an image file to a database (say MSSQL) from the JSP and retrieve it back whenever needed and put it on the JSP page? Please help me.

    I am not sure how to store images in database but what you can do is store the image into particular folder using FileOutputStream and its unique name into the database...and than retrieve it from the folder using that name retrieved from database...
    <%
    response.setContentType("text/html");
    response.setHeader("Cache-control","no-cache");
    String err = "";
    String lastFileName = "";
    String contentType = request.getContentType();
    String boundary = "";
    final int BOUNDARY_WORD_SIZE = "boundary=".length();
    System.out.println("contentType --> "+contentType);
    System.out.println("BOUNDARY_WORD_SIZE --> "+BOUNDARY_WORD_SIZE);
    if(contentType == null || !contentType.startsWith("multipart/form-data"))
    err = "Ilegal ENCTYPE : must be multipart/form-data\n";
    err += "ENCTYPE set = " + contentType;
    else
    boundary = contentType.substring(contentType.indexOf("boundary=") + BOUNDARY_WORD_SIZE);
    System.out.println("boundary --> "+boundary);
    boundary = "--" + boundary;
    try
    ServletInputStream sis = request.getInputStream();
    byte[] b = new byte[1024];
    int x=0;
    int state=0;
    String name=null,fileName=null,contentType2=null;
    java.io.FileOutputStream buffer = null;
    while((x=sis.readLine(b,0,1024))>-1)
         System.out.println("************ x ********** "+x);
         String s = new String(b,0,x);
                   System.out.println("************ s ********** \n"+s);
         if(s.startsWith(boundary))
         state = 0;
         System.out.println("name="+name);
         System.out.println("filename="+fileName);
         name = null;
         contentType2 = null;
         fileName = null;
         else if(s.startsWith("Content-Disposition") && state==0)
              System.out.println("-- 1 --");
              state = 1;
              System.out.println("s.indexOf(filename=) --> "+s.indexOf("filename="));
              if(s.indexOf("filename=") == -1)
                   name = s.substring(s.indexOf("name=") + "name=".length(),s.length()-2);
                   System.out.println("after name substring 1 "+name);
              else
                   name = s.substring(s.indexOf("name=") + "name=".length(),s.lastIndexOf(";"));
                   System.out.println("after name substring 2 "+name);
                   fileName = s.substring(s.indexOf("filename=") + "filename=".length(),s.length()-2);
                   System.out.println("fileName --> "+fileName);
                   //String fileName1 = s.substring(s.indexOf("filename=") + "filename=".length(),s.length());
                   //System.out.println("fileName1 -->"+fileName1);
                   if(fileName.equals("\"\""))
                   fileName = null;
                   else
                        String userAgent = request.getHeader("User-Agent");
                        System.out.println("userAgent --> "+userAgent);
                        String userSeparator="/"; // default
                        if (userAgent.indexOf("Windows")!=-1)
                        System.out.println("test --> "+"\\");
                        userSeparator="\\";
                        if (userAgent.indexOf("Linux")!=-1)
                        userSeparator="/";
                        System.out.println("userSeparator "+userSeparator);
                        System.out.println("fileName before inserting userSeparators "+fileName);
                        fileName = fileName.substring(fileName.lastIndexOf(userSeparator)+1,fileName.length()-1);
                        System.out.println("fileName after userSeparators "+fileName);
                        if(fileName.startsWith( "\""))
                        fileName = fileName.substring( 1);
              name = name.substring(1,name.length()-1);
              System.out.println("name 2 --> "+name);
              System.out.println("final file name "+fileName);
              if (name.equals("file"))
                   if (buffer!=null)
                   buffer.close();
                   lastFileName = fileName;
                   buffer = new java.io.FileOutputStream("/Documents and Settings/sunil/Desktop/images/"+fileName);
         else if(s.startsWith("Content-Type") && state==1)
                             System.out.println("-- 2 --");
              state = 2;
              contentType2 = s.substring(s.indexOf(":")+2,s.length()-2);
              System.out.println("contentType2 --> "+contentType2);
         else if(s.equals("\r\n") && state != 3)
                   System.out.println("-- 3 --");
              state = 3;
         else
              System.out.println("-- 4 --");     
              if (name.equals("file"))
              System.out.println("Final x :: "+x);     
              buffer.write(b,0,x);
    }     // while closing
    sis.close();
    buffer.close();
    }catch(java.io.IOException e)
    err = e.toString();
    boolean ok = err.equals("");
    if(!ok)
    out.println(err);
    else
    %>
              <SCRIPT language="javascript">
              history.back(1);
              alert('Uploaded <%=lastFileName%>');
              window.location.reload(false);
              </SCRIPT>
    <%
         out.println("done");
    %>
    </BODY>
    </HTML>
    I think it will solve ur problem..

  • How to 'Paste' a Word doc into InDesign and keep all of the settings?

    I've set up styles in the Word doc, that I was hoping would transfer into InDesign, once pasted. The Word doc is very large, and has hundreds of jpegs placed within it. My issue is that once it is pasted, the images are overlapping the text above it, as well as others.
    How would I rectify this? ...Is this a Word settings problem, or a transferring/'pasting' problem?

    BigEnd wrote:
    When pasted from Word, the graphics are Inline by default.  You can correct each one by selecting the graphic and then Anchored Object, Options and selecting Above Line (centered etc).  What I do then is create an object style to these specs and this makes it quicker to apply to the graphics.
    You say that there are very many graphics in the doc - does anyone know how to make the above settings the default when graphics are pasted from Word?
    M
    Thank you M, but I believe I figured it out:
    I made styles in Word to make things a bit simpler when changing large sections of text, so within the settings of the images style select Format>Paragraph>Line and Page Breaks. Under 'Textbox Options' the Tight wrap defaults to 'None' - Select 'All'.
    When the file is placed into InDesign, the images don't overlap, and are exactly where they need to be.

  • Can we connect Mapview to multidimensional database and retrieve data

    I have zero knowledge on MapViewer and hence I am curious to know, if we can connect MapViewer to multidimensional database(Like Essbase etc...) and retrieve data from them ???

    Currently, MapViewer needs a conection to an Oracle Database where MapViewer metadata is stored. You may be able to access external spatial data if there is a java implementation of an interface to access external native data. MapViewer provides a spatial provider implementation for shapefiles. For other data, including from external databases, you may be able to access them if a java class implements the spatial provider interface class. Mapviewer Users Guide has some notes about implementing a external spatial provider.

  • Drag or Saving Word Docs - No Access?

    Hi Guys,
    got a strange situation on our small network, wonder if anyone can throw some light on it?
    If I create a word doc on my desktop (Laptop running Windows XP), and then drag it into a shared folder on our server (running OSX 10.5.8), I cannot access the file again!
    It shows NO ACCESS in the sharing & permissions window.
    I have to go into the server as ADMIN and change the permissions every time.
    No matter what I create or drag onto the server, Im getting the same issue.
    (Apart from using a Windows machine) what am I doing wrong?
    Thanks

    {musicwind95 wrote:}
    Are you dragging from Windows or OS X? What is your exact setup (how did you connect your PC to the server)?
    I'm dragging from several newish iMacs (less than a year old - running 10.5.8 & 10.6.3
    Which computer is the NO ACCESS issue in? The PC or server (or another client)?
    Can't access the files on the "Server" (see below).
    What about from another mac?
    Same issue from either Mac OSX or from the Windoze XP machines.
    Now . . . . I think I'd better explain the setup of the "Server" (which isn't really a server)
    We have a Mac Mini (less than a year old, running 10.5.8 - not server), sitting in a cabinet and this has an external 1Tb drive attached to it. The Mac Mini is basically running the "file sharing" throughout the small office rather than acting as a dedicated server (no idea why it's been setup like this).
    This is where we're constantly having problems.
    If I save a file to the "shared" backup drive (from OSX or XP), it provides us with access to this file for a short while, then after a few days, it locks everyone out except the top level user.
    So "Everyone", & "Staff" (groups) are "Read Only" or "No Access" after this period. I then have to go to screen sharing to get myself onto the "Server"(Mac Mini), locate the file on the backup, unlock it, re-allocate "Read & Write" access, then close down the screen sharing again.
    It's all a real pain in the butt!
    I hope this makes sense to someone, cos' it sure as heck is baffling me!

  • Formatting is off when opening Word docs in Pages and vice versa

    I recently decided to switch from Windows to Mac and bought a MacBook. I used to use Word on my Windows computer and now when I open .doc or .docx files in Pages, the formatting is off, i.e. bullets, tabs, spacing, etc. This formatting problem also happens when other people use Word to open my files that I created in Pages and saved as a .doc. Is there some fix for this so that I don't have to reformat each document that was created in Word but that I now open in Pages?

    For maximum compatibility I think you need to use Word for Mac or OpenOffice.

Maybe you are looking for