This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
my tomcat path on server is: /home/peter/tomcat my files path is: /archive/repository/data/ my web program located in: /home/peter/tomcat/webapps/test I have example.jsp page in /home/peter/tomcat/webapps/test， and if I input http://localhost/test/example.jsp in IE browser， that page can show properly, and if I put moon.jpg in the same directory /home/peter/tomcat/webapps/test, then use http://localhost/test/moon.jpg in IE, it also can show properly. My problem is if moon.jpg isn't in /home/peter/tomcat/webapps/test, I put it into /archive/repository/data/ which configuration file I should modify in tomcat in order to use http://localhost/test/data/moon.jpg to show that picture.