This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes JSP and the fly likes attachement problem Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » JSP
Reply Bookmark "attachement problem" Watch "attachement problem" New topic
Author

attachement problem

vivek java
Greenhorn

Joined: Jun 13, 2003
Posts: 6
In My application I want to send attachements
along with plain message(just like yahoo).
But how do i protect folders(in appache-tomcat server) which will contain this attachements.what i mean user can type URL of this folder and see this attachements.I want only valid (logged in) user acess the attachement by clicking on a link on the web page how to do this.
some proposed to keep it away from webroot.
but dont no how to do this.and one more possibility use security constraint in deployment
descriptor.i tried this but it is not working
Please show me some way regarding this.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: attachement problem
 
Similar Threads
Java mail attachments
FIle upload and download
Attachement (URGENT)
Error While Starting JBoss 5.1.0 GA!!!
How To Store Attachement To Local Directory using JavaMail??