|
From: todd r. <tod...@ya...> - 2005-03-16 20:32:01
|
New code has been committed to CVS which includes changes to the internal database. A "resources" directory has been added which will allow administrators to "drop" images for use in decorating reports. Ming created a ResourceServlet which is able to locate and display image files in the resources directory. This allows us to create <img> tags that refer to these images as if they were inside of the web application. Very cool - thanks Ming! To test the servlet on your system, recompile the war file and create the new directory in the internal database. Copy a gif, jpg or png file into the resources directory (make sure the extension matches .gif,.jpg or .png) and call the servlet like (assuming your web server is on port 8080 and the image file name is image.png): http://localhost:8080/pocolap/servlets/Resources?type=image&name=image.png Todd The only "dumb question" is the one you were too afraid to ask. ________________________________________ Check out RouteRuler - Free software for runners, cyclists, walkers, etc. http://routeruler.sourceforge.net ________________________________________ Get a handle on your data with "pocOLAP", the "little" OLAP project http://pocolap.sourceforge.net ________________________________________ __________________________________ Do you Yahoo!? Yahoo! Mail - Find what you need with new enhanced search. http://info.mail.yahoo.com/mail_250 |