Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Common Share folder in Web or Application Server

 
Vijay RamaRaju
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what was the code you used to store the images on the server.
 
Vijay RamaRaju
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic