Caldarale, Charles R wrote: >> From: Susan G. Conger [mailto:sus...@bfcassociates.com] >> Subject: RE: Serving images from classes directory >> >> Sorry, it is a treated as a package with .xml, .html, .class files, and >> .java files. So it is serving up the .html files that are in there >> just fine.
Which is what I was trying to establish. > You're saying that you already have some mechanism of delivering .html files > from WEB-INF/classes? How does that work? Which is what I was going to ask next. p >> Maybe the images directory needs to be >> added to the classpath? > > A classloader's classpath is used to access .class files and other resources > *via a classloader*; a classloader can not deliver .html files to an HTTP > client, so how are you doing it? Do you already have a servlet that reads > .html from WEB-INF/classes and writes the output to the response output > stream? > > - Chuck > > > THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY > MATERIAL and is thus for use only by the intended recipient. If you received > this in error, please contact the sender and delete the e-mail and its > attachments from all computers. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org