This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
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: 2850
    
  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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem to download word file