This may sound like a trivial question but where do I store my JavaScript files? Is there a convention that everyone follows? I have a Tomcat 5.5.17. Also using MySQL and JSF. Thanks in advance for your thoughts. Regards Zein
Originally posted by Animesh Saxena: I usually store it in WEB-INF\JScript\ folder.
How does this work? The servlet container won't serve any files out of WEB-INF. Do you use a servlet that streams the JS files to the client? That would seem a bit pointless, as direct access would work just as well. I guess I'm missing something here.
I've stored by JavaScript files in Root/jscripts/...., I suppose this way they can be accessed directly as the location of the JS files is visible when you right click and view source in your browser. Is this safe? Or does it not matter?
Originally posted by Zein Nunna: I suppose this way they can be accessed directly as the location of the JS files is visible when you right click and view source in your browser.