aspose file tools*
The moose likes Struts and the fly likes How to stop loading dojo files in Strut2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "How to stop loading dojo files in Strut2" Watch "How to stop loading dojo files in Strut2" New topic
Author

How to stop loading dojo files in Strut2

struts programmer
Greenhorn

Joined: May 21, 2008
Posts: 1
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

Joined: Feb 15, 2005
Posts: 4864
Struts Programmer,

Please check your private messages for a message regarding an important administrative matter.


Merrill
Consultant, Sima Solutions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to stop loading dojo files in Strut2
 
Similar Threads
Struts2 and ajax issue
datetimepicker + Struts2 + Ajax
Struts2
Struts1 and Struts2
Struts2 Jquery vs Struts2 Dojo