Hi all (Gosh, I'm starting to feel like a regular on this list...) After my experiences below I have rewritten my application to store the images in a local sub-directory, however when I ran this new version the sub-directory was created under the Tomcat/bin directory - not really appropriate.
Should I be trying to reference my application directory and store the images under my "/WEB-INF" directory? Do I have to setup a special directory on the server that can be referenced by Tomcat to serve the images directly? What are others doing? Also, if you are referencing this directory in your application, is it hard-coded or do you have an entry in your 'context.xml'? What sort of entry do you use? Kind regards mc On 7 Sep 2005 at 10:55, Murray Collingwood wrote: > Hi all > > I got my app storing and retrieving images from MySQL database - what a > mistake! > > A simple image of 130k took 8 seconds to appear on the page. This is a huge > time to > sit and stare at a large blank space on the screen. > > I can't help thinking that this is a bug (performance problem) somewhere. > What could > the servlet / database / whatever be doing for such a long time? No need to > respond. > > Kind regards > mc > > > > FOCUS Computing > Mob: 0415 24 26 24 > [EMAIL PROTECTED] > http://www.focus-computing.com.au > > > > -- > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.344 / Virus Database: 267.10.18/91 - Release Date: 6/09/2005 > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > -- > No virus found in this incoming message. > Checked by AVG Anti-Virus. > Version: 7.0.344 / Virus Database: 267.10.18/91 - Release Date: 6/09/2005 > FOCUS Computing Mob: 0415 24 26 24 [EMAIL PROTECTED] http://www.focus-computing.com.au -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.10.18/91 - Release Date: 6/09/2005 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]