Hello everyone!
Recently, I'am working on a JSP project, in that project, I'm responsible for building a .png file and saved it on a hard disk with JFreeChart on the server side(the server is Tomcat 5.0.28),and then insert the .png file into a jsp page using a customized tag lib, in effect, that tag only return the absolute path of that .png file. Here is the complete code:
some fraction of my jsp file is:
but when I run the application, only me can see the image(since the Tomcat is installed on my computer), the image always stored under the {tomcat_home}/bin dir, rather than the com.amoysa.tag package.
My question is how can I solve this problem, let others see the png image.