Spring: Customize the XmlWebApplicationContext
Hi, I will expose you a solution implemented in order to: - filter imports/resource loading in a spring context of general applicationContext.xml, - filter resources in imports or even overloading of beans, - test the environment and conditionally add path locations, For our example, in an web application with a root context definition applicationContext.xml: This context is loaded in the web.xml file of web application: In our ...more»
Spring: Web Application – Spring MVC and UTF-8 Encoding with CharacterEncodingFilter
In the web based application, it is necessary to encode the incoming request and outgoing response in UTF-8 in order to have a application compliant with all characters. It exists a http filter to set the contentType attribute including the content type and the encoding of the content writer (see Servlet specification). The CharacterEncodingFilter class provided by Spring enables an automatic ...more»
Backup your projects
Hello again, Here, I expose a simple solution to backup your developments in the remote directory \\YOUR_SERVER_or_EXTERNALDISK\backupWorkspaces\. To do this: - Create file "backup.dat" in your Eclipse workspace ie "R:\java\dev\eclipse_workspaces\default-3.3": - Create file "backup_listfile.txt" in your Eclipse workspace ie "R:\java\dev \eclipse_workspaces\default-3.3": - Create a Windows scheduled task ("Scheduled Task") that runs the daily BATCH. Notes: -  This batch uses 7zip compressor to be installed in C:\Program Files\7-Zip. - You ...more»
Sencha ExtJS [4.0.2] garbage collection produces error in IE8
Hello! In my experience with Sencha/ExtJS4.0.2 framework, i am faced with a problem with the garbage collector which is run automatically every 30s stops JS execution in my IE8 / WINXP. The following JS error apprears randomly: Error occured: Message: 'events' is null or not an object Line: 10708 Char: 9 Code: 0 URI: http://localhost:8080/qe2web/extjs/ext-all-debug.js The solution is to disable the Ext garbage collection by: Ext.enableGarbageCollector = false; Note: I have ...more»
Page 54 of 54:« First« 51 52 53 54
Copyright ® 2012 Huseyin Ozveren. No reproduction, even partial, can be used from this site and all its contents including text, documents, images, etc.. without the express permission of the author.