Prepare for your Next Interview
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?...
|
|||
|
Re: java
Try this code in ur servlet....
String fileName = "c:\\Files.doc"; Runtime.getRuntime().exec("rundll32 SHELL32.DLL,ShellExec_RunDLL \""+fileName+"\""); |
| The Following User Says Thank You to eswar_ambati For This Useful Post: | ||
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| 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 |