Hi, there,

I'm still trying to find a way to put large number of product images on
a centralized folder not under the application WEB. 

I was able to use this to get my images from a folder not under WEB
application:

public IAsset getProductImage(String path){
  // e.g. path = c:\products\images\sony_dvd.gif"

  return (IAsset) new ExternalAsset(path,null);
}

The image shows up fine in IE after getting this annoying warning:
  "This page contains both secure and nonsecure items..."

However, the image does not show up at all in FireFox.

Can someone give me a hint?
Is there a better way to get my images that are not under the WEB
context?

Thanks.


-----Original Message-----
From: Patrick Yip 
Sent: Monday, May 16, 2005 5:01 PM
To: [email protected]
Subject: Serving large number of product images 

I apologize if this question has been asked too many times.   I did a
quick search and haven't been able to find a satisfactory answer.
 
Currently, I face a practical issue of serving the images when the image
files are packaged into the war file.
Adding images require me to repackage the war file and upload to the
JBoss server. 
 
Is there a way to specify a directory outside of JBoss server directory
(but on the same physical machine) so I can have a permanent home for my
product images?    
 
For instance, I would like to store all the product images under
c:\products\  directory.
Any suggestion is greatly appreciated.
 
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to