By Chris on September 2, 2014
If you happen to rename your folder that contain your jsp and js, don’t forget to update the struts config (and the tiles). This will save your precious time even hours …
Posted in java | Tagged java, javascript, js, jsp, struts |
By Chris on July 9, 2014
Really quick post to a problem I’ve got un hibernate when converting to mySQL, I’ve found that the problem was because we were using a generator class “sequence” and in mySQL we needed to use “assigned” or “increment” instead. Note you might not have that problem in your project but that was preventing me from […]
Posted in db | Tagged hibernate, java, mysql, oracle |
By Chris on September 16, 2013
I’ve stumbled upon that problem recently and couldn’t remember how to do it. Has you except it’s trivial to do and like most of what can be done in programming there more than one way to do it. 1- Good old jdk String 🙂 Since Java 1.5 you have the new String format method do […]
Posted in java, tips | Tagged Apache, format, Guava, java, String, StringUtils |
By Chris on September 5, 2013
They’re always a question that comeback either in interview or when you are playing old code. Why the hell are they using Vector over arrayList ? Vector is a class that exists since the beginning of java (aka Java 1.0) it’s implement List. It seems to pollute old code and still use programmer that don’t […]
Posted in prog, tips | Tagged arraylist, collections, java, java.util.List, List, synchronization, synchronizedList, vector |
Recent Comments