Knowledge Base - FAQ

Question: Does the serlvet see that it is in the /WEB-INF/classes directory?

Anyone writing a servlet needs to use the serlvetContext to the
the "real" path for "/whatever".

So if your path is www.yourdomain.com/images via the web server
use the servletContext to get "images" real directory
ie /home1/y/youraccnt/domain1.com/images other wise it doesn't
path correctly.

Last Modified: May 09, 2003


Kattare is Trustwave Certified and Safe Harbor Certified | Rated Safe For Kids by ICRA | All Rights Reserved Worldwide
Copyright © 1997 - 2012 Kättare Internet Services | Processed in 0.014 seconds by pyramid-06 in Corvallis, Oregon