servlets jars and images

"Dimitar Trifonov" <[email protected]> Tue, 11 Nov 2003 12:00:12 +0200
Newsgroups gmane.comp.java.enhydra.general
Message-ID <[email protected]>
Hi folks,

I developed a web site using enhydra5.0. I put an option which gives opportunity to users to upload their photo. I did that using FormUpload.po from DemoApp example. Unfortunately when I have to displayed user's photo I have to put the absolute path for pics in html <img src="file:///images/user1/photo"/> which is insecure.

I had an idea to find out an API which will helps me to put images in the servlet jar file but I could not.

My question is, Is it possible to update dynamicly servlet jar file and is this the best way in my case?

Thanks

Dimitar

----------
Tired of spam? Get advanced junk mail protection with MSN 8.