how can dispaly the pics that are not included in the program folder.
Joined: Dec 28, 2002
e.g the program put in the dir"C:\Program Files\Apache Tomcat 4.0\webapps\ROOT",and there is a pic "logo.gif" in d:\images\. now ,how can i show the pic "logo.gif" on the brower to client.
Joined: Aug 14, 2001
Move the image . Actually, you'll either have to write the image into the response's output stream (response.getOutputStream()) via some server side code or expose it to the web and just path to it. If you go with the response stream route, your code is going to have to know about the path to logo.gif via a property specified at runtime or you could hardcode the thing into your code (boo). All that said -- look into moving it into your webapp. [ December 30, 2002: Message edited by: Cory Wilkerson ]