Where to store images, CSS and javascript files on glassfish?
问题 I've looked around a lot (trust me :) before posting this questions and I'm still confused. Here's the scenario: Hosting a J2EE web-app on glassfish v3 using Restlet 2.0 The freemarker template files are located in the /WEB-INF folder. The templates link to jQuery/javascript files, some static images and stylesheets using relative URLs. Since it's not a good practice to store them in /WEB-INF (as stated at many places on the web) I moved the files to the WebContent folder WebContent: +-