This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes BEA/Weblogic and the fly likes Not able to open the attached file in the application. (Server:weblogic server 11g) 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 » Products » BEA/Weblogic
Bookmark "Not able to open the attached file in the application. (Server:weblogic server 11g)" Watch "Not able to open the attached file in the application. (Server:weblogic server 11g)" New topic
Author

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

Midhun Sivasankaran
Greenhorn

Joined: Aug 06, 2009
Posts: 16
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

Joined: Feb 24, 2006
Posts: 6661
    
    5

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


SCJP 6 articles - SCJP 5/6 mock exams - More SCJP Mocks
Midhun Sivasankaran
Greenhorn

Joined: Aug 06, 2009
Posts: 16
Deepak Bala
Bartender

Joined: Feb 24, 2006
Posts: 6661
    
    5

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Not able to open the attached file in the application. (Server:weblogic server 11g)
 
Similar Threads
Deploying a Struts application on Weblogic 10.3.3
I am getting this message : "Error 404--Not Found" while starting an app by Weblogic
Rad ver 7.0 and WebSphere version6
Error 404--not found From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
problem deploying an appilcation in weblogic