Results 1 to 2 of 2

Thread: java

  1. #1
    Junior Member
    Join Date
    Jun 2007


    Can anybody tell me programatically how can we will open word format file in our
    Servlet program?

  2. #2
    Junior Member
    Join Date
    Mar 2007

    Re: java

    Try this code in ur servlet....

    String fileName = "c:\\Files.doc";
    Runtime.getRuntime().exec("rundll32 SHELL32.DLL,ShellExec_RunDLL \""+fileName+"\"");

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.