• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to stop loading dojo files in Strut2

 
struts programmer
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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,

Struts Progarmmer
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Struts Programmer,

Please check your private messages for a message regarding an important administrative matter.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic