Geeks Talk

Prepare for your Next Interview




java

This is a discussion on java within the Java forums, part of the Software Development category; Can anybody tell me programatically how can we will open word format file in our Servlet program?...

  #1 (permalink)  
Old 06-11-2007
Junior Member
 
Join Date: Jun 2007
Location: Hyderabad
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
subhani_syed is on a distinguished road
java

Can anybody tell me programatically how can we will open word format file in our
Servlet program?
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 06-12-2007
Junior Member
 
Join Date: Mar 2007
Location: Bangalore
Posts: 10
Thanks: 0
Thanked 2 Times in 2 Posts
eswar_ambati is on a distinguished road
Re: java

Try this code in ur servlet....

String fileName = "c:\\Files.doc";
Runtime.getRuntime().exec("rundll32 SHELL32.DLL,ShellExec_RunDLL \""+fileName+"\"");
Reply With Quote
The Following User Says Thank You to eswar_ambati For This Useful Post:
Reply

  Geeks Talk > Software Development > Java


Thread Tools
Display Modes


Similar Threads

Thread Thread Starter Forum Replies Last Post
Why JAVA is NOT sudeep.goel Java 11 3 Weeks Ago 12:19 PM
before JAVA Timir Career Advice 1 12-18-2007 08:18 AM
How to test java project in QTP without java addin Geek_Guest QTP 7 09-18-2007 07:53 AM
is java is a.. samineni6 Java 5 06-07-2007 02:45 AM
Java rajesh.tripathi Java 2 04-26-2007 07:35 AM


All times are GMT -4. The time now is 05:06 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Copyright © 2008 GeekInterview.com. All Rights Reserved