The moose likes Servlets and the fly likes Problem to download word file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Problem to download word file" Watch "Problem to download word file" New topic

Problem to download word file

addy rose

Joined: Jan 22, 2013
Posts: 2
I'm trying to run the below code but it gets me error while downloading from weblogic server.

what wrong m i doing ??

I'm putting the word file in web-inf/lib/ folder. is it the correct way?
Greg Charles

Joined: Oct 01, 2001
Posts: 2840

Hi Addy,

Welcome to JavaRanch!

In the future, please UseCodeTags when posting code. Also, it's very helpful to tell us what sort of problem you're having. That is, give us error messages and stack traces if there are any, or at least tell us what you're expecting and what's actually happening. In this case, there may be a problem finding the file in the lib directory, or it may be a problem with the mime type you're using, or you may not even be hitting the servlet. We need more information from you.
jQuery in Action, 2nd edition
subject: Problem to download word file
Similar Threads
file download servlet does not work on IE8
Problem displaying pdf
.pptx and .docx problem
video playing/streaming
Download servlet creates aditional files