Try placing the pictures in a jar file.  Use the java.util.zip.* or
java.util.jar extenstion.  Create a zip or jar file and place it somewhere
in JBoss.  When you need it you can write an image servlet to read the
pictures and place it anywhere you want on your pages.  Vice-versa you can
delete files for the jar.
 
Southin

-----Original Message-----
From: Penn [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 17, 2001 8:31 AM
To: [EMAIL PROTECTED]
Subject: [JBoss-user] Where to keep the uploaded picture files.


Hi all,
 
May i know where to keep the uploaded picture files......
The uploaded file must be able to view/load by the browser via the
hyperlink.
 
problem....
 
To provide the hyperlink the file must be sit inside the web context
directory  jBoss/tmp/deploy/Default/MyWar/
 
this directory will be deleted and recreate when the jBoss restart......
 
if i put the files outside the web context dir, i  can't havre the
hyperlink.
 
 
any suggestion.....
 
 
tia
 
Penn


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to