kesava, We don't have many rules at Javaranch, but our naming policy is one of them. Please read this policy and change your display name to comply with it if you wish to continue posting. Thanks. You can change your display name here. Also you are not eligible for the book giveaway if your display name does not comply with the policy.
I'm surprised that MS-Word doesn't complain anything. You need to do much more than just tell the web browser "I'm sending you a Word document" -- you also need to generate the .doc file! There is an open source project at http://jakarta.apache.org/poi, which aims to provide Java developers libraries for reading and writing MS Office file formats but unfortunately the Word project is still in its infancy (at least it was when I last checked).