Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to stop loading dojo files in Strut2

807591May 21 2008 — edited May 21 2008
Hi,

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.

Regards,

strutsProgrammer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 18 2008
Added on May 21 2008
2 comments
106 views