I am using Struts2, which already includes dojo files. My project does not use dojo, so I want to disable loading the dojo files from struts2.jar. If I run my application in Mozilla (with fire bug), I can see request to dojo.js and dojoRequire.js. In order to stop loading, I added struts.serve.static=false in struts.properties file. Only the size has reduced to 2KB now. But I dont want to load any of dojo files at all. Please let me know what can be done.