TECH BLOG

Advanced Software
Engineering
Made Simple

End to end UTF-8 encoding usage with MySql and Spring – Part 2

One thing I forgot to mention was the usage of Spring message bundles. Usually, a ResourceBundleMessageSource is configured to inject bundle messages for Spring MVC. The only bad thing is that I could not specify an encoding for the configured message.properties files. As the default properties format is ISO 8859-1 character encoding and tedious operations like the transformation of Unicode…
Read More

DBUnit loses data

If not used properly Dbunit can lose data. I’m using dbunit version 2.1 which has the following bug: when importing a file if the first row in the dataset file has missing columns, no further data from subsequent rows will be imported. The solution when using the dbunit ant task will be to first perform an export operation to an…
Read More

The package jedit needs to be reinstalled, but I can’t find an archive for it

I tried installing the .deb package for jedit. Big mistake :-). Not only that Ubuntu refused to install it, but it also brought my synaptic into an inconsistent state: every time I started synaptically I was getting this error: and then no package was displayed. One of the reasons I like Linux (Ubuntu) over Windows is apt and synaptic interface….
Read More

Perforce Windows shell integration

I’m happy again. Perforce shell integration is used to make my machine hang on every file browse operation. As we are working with a remote Perforce server we’ve set up a Perforce proxy so we do not hit the remote US machine for the same files. If the proxy was up and remove server communication was down Windows could not…
Read More

Accessing Java Constants from JSTL

It’s been a while now since the first specifications of JSTL. Since then it emerged as a standard for the presentation layer in web applications, replacing the ugly scriptlets with nice looking tags that resembles the HTML or XML markup. JSTL provides tags for typical presentation layer tasks, such as iterations, conditional content, data formatting, XML manipulation and database access, and its expression language makes working with dynamic attribute values a lot easier.

Unlock innovation and digital transformation for your business.