[jboss-user] [Beginners Corner] - Re: Using file resources in web projects

PeterJ do-not-reply at jboss.com
Tue Nov 20 11:31:46 EST 2007


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.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106459#4106459

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106459



More information about the jboss-user mailing list