I�m facing a real problem here. I need users to upload files (images, album photos and other types) into a application deployed into a clustered server (Weblogic Server - Portal 8.1.6).
The thing is that I want to save the files directly into the file system. But if I am in a cluster, the user is uploading the file(s) into one physical machine. Is that a decent way of replicating the files uploaded? Maybe Weblogic itself has a way, but I can�t seem to figure it out by it�s documentation.
Thank�s for any replies.
<b><i>Bengt Hammarlund</i><br />� Sun Certified Java Programmer</b>
You can do file upload in servlets. As a matter of fact, Struts provides support for file uploading and it's very easy to use.
As for shared storage device, my company's web server cluster (running Gentoo linux) is using one: all the user uploaded images are stored in that shared directory and if one web server goes down, the other server kicks in and takes over the shared folder. But unfortunately, I didn't set it up, so can't provide you with any more info.
Time flies like an arrow. Fruit flies like a banana. Steve flies like a tiny ad:
a bit of art, as a gift, the permaculture playing cards