This content has been marked as final.
Show 1 reply
-
1. Re: Using file resources in web projects
peterj Nov 20, 2007 11:31 AM (in response to hlamprecht)Two possibilities.
1) Write a servlet that returns the icon. Your html page would then reference the servlet, providing enough information in the url so that the servlet can identify the icon.
2) Use an external directory (http://wiki.jboss.org/wiki/Wiki.jsp?page=ExternalDirectories) and place the icons there. Unfortunately, this means having two three things to deploy instead of just two.
I would go with option 1.