On Sun, 21 Apr 2002, Jeffrey Bonevich wrote:

Thanks Jeff... I'll try this out - following your suggestion, I was thinking to put 
the dimensions of the image (jpg) in the database too and to retrieve it along with 
the image - the html will be a combination of includes and dynamic written by the 
servlet.
Don't know if this is really a relevant question - from a design point of view, is it 
better to use one servlet to handle all of this or multiple chained servlets?

regards
/j-p.



> <img src="http://mydomain.com/mywebapp/imagestreamservlet?imageID=xxx";>
> 
> The only sticking point is that you do not know the image dimensions 
> before grabbing the image (duh!), so if you need width/height info for 
> the image in the page, it may be worthwhile having the HTML page also 
> produced by a servlet that also looks up the image, but only retrieves 
> metadata about it and sticks it in the appropriate places.



--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to