aspose file tools*
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
JavaRanch » Java Forums » Java » Servlets
Bookmark "Problem to download word file" Watch "Problem to download word file" New topic
Author

Problem to download word file

addy rose
Greenhorn

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
Sheriff

Joined: Oct 01, 2001
Posts: 2861
    
  11

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