aspose file tools*
The moose likes Servlets and the fly likes Java FileUploading Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Java FileUploading" Watch "Java FileUploading" New topic
Author

Java FileUploading

Anthony Smith
Ranch Hand

Joined: Sep 10, 2001
Posts: 285
I have an app that lets me upload files for later dispaly as a webpage. I can also upload images. However, I dont upload either into the actual web folder and I dont want to. I can get the html text to show up, but how do I get the pictures to show w/o them having to be in the web folder?
The files are uploaded to the server, just not the web folder.
Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

you wrote:
I can get the html text to show up

Do you mean that you can get your browser to display the raw HTML source? Or you can get the browser to display the rendered page.

The answer doesn't really matter I suppose, because either way, you've gotten the browser to show something, so that means you must have served it with the web server. An image can be served up the same way. Not sure what the exact problem is... could you give a bit more detail?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Java FileUploading