Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

opening word file

 
Vandiyadevan senthan
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear all,
I have an jsp page.In that whenever i click the 'showfiles' Button,it has to show the list of files.
If a user clicks the particular file ,say a .word file ,it should open.
Can anybody attend the similar task like this.If so,share your experience with me.

Thanx in advance.
Your help is highly appreciated!!!
Regards,
Vandiyadevan
 
Praful Thakare
Ranch Hand
Posts: 643
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
list of files from client meachine or server ???
if client meachine this here it goes
<input type=file>
Cheers
Praful
 
Jay Ashar
Ranch Hand
Posts: 208
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have done the same thing before, but it was RTF format. I had used FRAMES tag in HTML to do this. For that frames you can set a different header type and it will display it in that format.
I dont have exaclt piece of code with me right now, but I will try to get it if interested.
Hetal.
 
Jay Ashar
Ranch Hand
Posts: 208
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
oops...I mean content-type, I think I had set it to application/rtf and that did the trick for me.
 
Vandiyadevan senthan
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Hetal Mehta,
It would be nice if u send the code as said by you.
Thanx in advance.
Regards,
Vandiyadevan
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!