| Author |
Question about tomcat configuration...
|
jonathan ford
Greenhorn
Joined: Feb 16, 2008
Posts: 4
|
|
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. Thank you!!!
|
 |
Ben Souther
Sheriff
Joined: Dec 11, 2004
Posts: 13410
|
|
"jdk tomcat", Please check your private messages.
|
Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
|
 |
 |
|
|
subject: Question about tomcat configuration...
|
|
|