Microsoft Word from JSP

Hi geeks! help me out..
How can u create a MS Word document from JSP?
I am developing an application which takes in large user data.I want it to be saved in ".doc" format at the server side.
Please help me
Alternate solutions will also help!
javed p m

Take a look to this :
http://www.must.de/default.html?Javactp.htm
you can also create a RTF and PDF document using the iText excellent free API at : http://www.lowagie.com/iText/
regards

Similar Messages

  • I want to share Microsoft word from my desktop mac to my laptop but every timeIi try and do it, it says that it can't open because it is not supported by the software. I have tried several times and updated it on the mac but its still not working.

    I want to share Microsoft word from my desktop mac to my laptop but every timeIi try and do it, it says that it can't open because it is not supported by the software. I have tried several times and updated it on the mac but its still not working. Any ideas?

    You need to install Office on the computer from the installer DVD or disc image you purchased.

  • Invoking Microsoft Word from Java code

    I want to invoke Microsoft word from Java code. How can i do this plz ............... Help

    do something along these lines.... here is an example with notepad
    create a .bat file with the commmand in to run notepad for example
    notpad c:\test.txtthis command calls notepad and passes it the argument C:\test.txt which is the file and it's location, that I want to open.
    The Java program
    import java.util.*;
    import java.io.*;
    public class Run
    public static void main(String args[])
        try
           //the name of the batch file with your commands in
           String command ="runprog.bat";
           //get the runtime 
           Runtime rt  = Runtime.getRuntime();
           //run the bat file  
           Process proc = rt.exec(command);
          //wait for the program to exit i.e notepad then get the return code
          int exitVal = proc.waitFor();
          //print out the exit value
          System.out.println(2THe Process exit value is: " + exitVal);
      catch(Throwable t)
         t.printStackTrace();
    }have a look at this
    http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Runtime.html
    and this
    http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps_p.html

  • How to prevent Microsoft word from switching which desktop I am on?

    I have a 2011 Macbook Pro, OSX Version 10.9.2 as well as microsoft word for mac 2011 (the most recent update). I have had an issue for a number of years where when I have microsoft word open in one desktop and am using another application in another desktop, I will automatically jump back to the desktop with microsoft word without doing anything. I am then forced to switch between desktops back to the desktop I was on before. It's obviously pretty obnoxious. Does anyone know a fix for this? I tried searching for an answer, and tried unchecking "...switch to a space with open windows of that application" in System Prefences. But the problem persists, and I don't mind switching desktops when I click on an app I actually want to use.

    You need to install Office on the computer from the installer DVD or disc image you purchased.

  • Extract words from JSP into text file

    Hi,
    I have a big problem:
    I want to extract selected words from a jsp file.
    Following are found in one of my jsp file:
    E.g.
    1) <td width="217"><font face="verdana,arial" size=2>ORGANISATION UNIT NAME<font color="#FF0000"> <font
    id="fontMandatory">*</font></font>
    I want to retrieve "ORGANISATION UNIT NAME"
    2)errPrompt(frm.txtDesc, "Maximum length is just 100 character only");
    I want to retrieve "Maximum length is just 100 character only"
    I try String tokenising, then check that is the token ends with ">", then the next token is the one
    I want, then loop until "<" is found. BUT this would not work as there is no spacing between some of
    the tags and the words.(e.g. <p>abc)--> This cauese the whole token to be <p>abc, so the "abc" will
    not be extracted as it does not have a "ends with >" in front of it.
    Even with using ">" as a checking does not work for pop up messages, as it does not have tags(refer
    to e.g 2).
    Please reply a.s.a.p...
    Really urgent!!
    Thank You
    Michelle

    for extracting the HTML tags, u can use DOM/DHTML
    I dont remember the syntxes, how to use, but i know that it is possible, just go thru' the DOM/DHTML
    Regards,
    Ritesh

  • Searching a string in Microsoft word from a Jav Application

    Would appreciate if you could provide me with an example/ suggestion to search for a string in Microsoft Word document from a java aplication. Thanks

    Short and rude answer: STFW.
    Long and polite answer: If you use "java apache word excel" as the criterium to search the web with Google, the first hit is what we are looking for:
    http://jakarta.apache.org/poi/
    Good luck anyway!

  • Problems highlight, drag and drop text in Microsoft Word from Adobe Free

    We work with two screens (monitors), and is open on a document opened from the Adobe (free) (extension. PDF) and other Word (Microsoft). In previous versions of Adobe, you could highlight a word or text and just drag them to the Word, without the need to "copy" and "paste". In this version of the Adobe XI, there is the same possibility, since we're not getting to do as before?

    Hi Rave:
    Many thanks for the tip and information. Really, after that there was updated in our system of electronic procedural actions (I work in Federal Court in the state of Santa Catarina in Brazil) stopped working the highlight text and drag it to the document from Microsoft Word 2007. Anyway, I believe that the problem is not with Adobe Reader, but our system has been updated.
    Greetings.
    Paulo Dozoretz

  • Stop Microsoft Word from re-opening files

    As the subjects says, I need to stop Microsoft Word, Mac office Package, from reopening files. each time it opens, it opens the files from the last 2 weeks and it's driving me crazy.
    I tried to unselect the option "Close Windows When quitting an app" from General, System Preference.
    Thanks in advance.

    Just to reiterate. Choose Shut Down or Restart from the Apple menu and make sure this check box is off.
    Open the System Preferences. Under the General icon, make sure the check box for "Close windows when quitting an application" is on.

  • Present MS Word from JSP

    We are using Solaris/Netscape Web Server.
              I have JSP question for the JSP community.
              Scenario:
              1. We are developing a web site to store sensitive MS Word documents
              for the authorized intrnet users to browse and download.
              2. Users are force to redirect to the company HR web site to enter their HRID
              and password first when they're accessing our site.
              3. Then the HR web site will redirect the users to our site with users'
              cookie info.
              4. Our site check the cookie info, if the accesing user is an authorized
              user, our site will set the session, and JSP codes will display links
              in HTML to allow user to access the sensitive MS Word documents.
              Security Risk:
              The users who accessing the sensitive MS Word documents could cut/paste
              the document URL and email to other parties, when other parties access
              this document URL they are by passing the session control, they can access
              it directly.
              What We Did:
              1. Convert all the MS Word Documents to HTML then warp with JSP codes. This
              will only work for those MS Word Documents without embedded marcos.
              2. Hide the URL from Popup Browser. Users can still get the URL from
              Browser's Properties.
              3. Put all the MS Word Documents in the secure directory. Two layers of
              password protection is annoying, our users are complaining.
              How Can We Improve:
              1. Could we set content type to "application/msword"? and present these
              sensitive MS Word documents directly thru JSP, then each embedded hyperlink
              is JSP presenting these Word files.
              If this is doable, how to include MS Word in JSP?
              2. Is there a better way to achieve this?
              Thanks,
              Willy Jair
              [email protected]
              

    You can use iText (its open source) to generate rtf-files which can be read by Word.

  • How do you retain links within a page when converting from Microsoft word from a Mac?

    Keeping Microsoft Word page links within a document or converting the filed map into bookmarks are not options when you work on a Mac. I subscribe to the Adobe Acrobat Plus  service specifically to address that issue. But I can't find any documentation on this site that will walk one through the process. Can someone please direct me to a tutorial page that will allow me to keep my links and convert my bookmarks?

    Have you tried using Safari's built-in method to email the content of a web page?
    File > Mail Contents of This Page
    (Keboard shortcut: Command-I)
    If you don't want to email the entire page's content, you can easily edit it in the resulting email window, deleting the portions that you don't want.
    Message was edited by: Rachel R

  • I bought a new macbook pro with no CD drive. Want to trasfer my old microsoft word from my old macbook

    I bought a new macbook pro with no CD drive. Want to trasfer my old microsoft office from my old mac book. My mocrosoft office is an old version (2008) that came with a CD.

    Downloads available:
    Suites and Programs:  CC 2014 | CC | CS6 | CS5.5 | CS5 | CS4 | CS3
    Acrobat:  XI, X | 9,8 | 9 standard
    Premiere Elements:  13 | 12 | 11, 10 | 9, 8, 7 win | 8 mac | 7 mac
    Photoshop Elements:  13 |12 | 11, 10 | 9,8,7 win | 8 mac | 7 mac
    Lightroom:  5.7| 5 | 4 | 3
    Captivate:  8 | 7 | 6 | 5
    Contribute:  CS5 | CS4, CS3
    Download and installation help for Adobe links
    Download and installation help for Prodesigntools links are listed on most linked pages.  They are critical; especially steps 1, 2 and 3.  If you click a link that does not have those steps listed, open a second window using the Lightroom 3 link to see those 'Important Instructions'.

  • How do you delete microsoft word from your Mac?

    In september I got the 30 day trial for microsoft word, powerpoint, outlook, and excel. It's over now and I can't seem to delete it off of my mac air. I have done the two things that are normally suggested which are hold on to the app icon and then delete it when they all start wiggling, but that option doesn't work for those four because they don't show the delete sign in the corner. The other option was to drag it into my trash, but yet again, it doesnt work! Please someone help!

    Google "remove MS Office 2011 for Mac". Which will come up with a MS site with detailed instructions to remove MS Office. Follow those instructions to the Letter.

  • How do I insert a photo into Microsoft Word from the new Photos app?

    I have Word for Mac 2011 on my Macbook Pro with Retina and am now unable to simply go in and insert a picture into ANY Microsoft program since the update from iPhoto to Photos. I'm an archaeology grad student in the middle of multiple term projects that require countless Figures, almost all of which come from pics I took in the field that are all in Photos. These projects have to be submitted electronically, thus I cannot simply copy and paste everything into Pages (my professors all use PCs). I've found that I can insert an image into Pages and then copy and paste it to Word, but the quality is severely diminished.
    Is there some way to change the settings on the Photos app to allow for image insertion? Or do I need to go in and somehow manually copy and re-save every photo into a separate folder outside of the Photos app?

    Select a photo  in Photos. Press COMMAND-C to copy. Go to your document location where you wish the pic to appear and press COMMAND-V.

  • OLE2: Calling Microsoft Word from Forms

    I am writing an Forms application which requires me to be able to open a Word template file; then replace the bookmarks in the template with data from an oracle database; then to save and print the Word document.
    I know I can do this using the OLE2 package, but I don't know how to. Does anyone know where I can find a good source of information showing actually how to do it, the standard Oracle documentation is syntax only, I could do with some example code, etc.
    Thanks
    Nik

    Hi there,
    You can take a look at the samples-forms. When you install Forms you can install demos too. One of those demo-forms shows how to use Forms and Word through OLE2. For ths source you can take a look within the FMB file.

  • Invoking Microsoft Excel from jsp??

    Hello:
    Im going to install jdeveloper 903 and convert my application and I now want to add a button to call an excel spread sheet, is this possible? What are its limitations if any? Any input would be appreciated.

    To create excel files from Java have a look at Jakarta's POI project.
    Also you might be interested in Java to COM bridges.
    There are some companies creating those and there is also the open-source JACOB project.
    A google search on any of these will get you there.

Maybe you are looking for