• Post Reply Bookmark Topic Watch Topic
  • New Topic

Question about tomcat configuration...  RSS feed

jonathan ford
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13411
Firefox Browser Redhat VI Editor
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!