Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Not able to open the attached file in the application. (Server:weblogic server 11g)

 
Midhun Sivasankaran
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everybody,

I'm migrating an application developed in websphere to weblogic server 11g.

Application is running fine except the problem in viewing the attachment. Attachment is stored in the local directory of my system. When I'm clicking the attached file an error is coming as given below:

Error 404--Not Found
From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
10.4.5 404 Not Found
The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.

If the server does not wish to make this information available to the client, the status code 403 (Forbidden) can be used instead. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address.

Please help me on this

Thanks,
Midhun

 
Deepak Bala
Bartender
Posts: 6663
5
Firefox Browser Linux MyEclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Attachment is stored in the local directory of my system.


Define attachment and provide more details about your problem. A log, a request URL, and what you expected would happen but what happened instead
 
Midhun Sivasankaran
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
Deepak Bala
Bartender
Posts: 6663
5
Firefox Browser Linux MyEclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why dont you just provide a servlet that will stream the data to the client. The client hits the servlet; servlet finds the file to stream; servlet streams the file to the client; client saves the file.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic