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 Common Share folder in Web or Application Server 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 "Common Share folder in Web or Application Server" Watch "Common Share folder in Web or Application Server" New topic
Author

Common Share folder in Web or Application Server

Vijay RamaRaju
Greenhorn

Joined: Feb 27, 2006
Posts: 7
Hi
I have a small problem sharing resources between two or more web applications. Can i have any thing like a share folder in Web or Application server so that the contents of the shared folder can be accessed by all the applications in the container.

I have one application that uploads images and mantains the path information in the Database. It would be nice to have these images stored in a share folder so that other applications can use the images.


Pls suggest., Thanks in advance.

Rama Raju
Prabhakar Rao
Ranch Hand

Joined: Aug 23, 2006
Posts: 40
what was the code you used to store the images on the server.
Vijay RamaRaju
Greenhorn

Joined: Feb 27, 2006
Posts: 7
Hello

I used Struts html:file tag for uploading the images as of now the code is uploading the images to one of the application's context., and i will change the code to upload the images to the shared folder iff we can have a share folder in Web or Application Server.
So the question is can we have a shared folder in Web or Application Server?


Thanks
Rama Raju.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Common Share folder in Web or Application Server