2016-05-01から1ヶ月間の記事一覧
I was faced with the issue that it takes for a while to launch Emacs GUI version and resolved it by the way written as Resolved the issue of 2016-02-12 - Shammerism. But this setting is reset by MacOS X security update. So, I looked for ot…
This is my memo. We can write JSP with using c:choose and c:when, c:otherwise behave as if-else syntax. This example inclues c:forEach and sql:query also. Getting some data from database with sql:query, and show them with c:forEach loop an…
I use the postgresql with tomcat, related articles are PostgreSQL JDBC Driver on tomcat8 - Shammerism and Test connecting PostgreSQL DB from tomcat8 - Shammerism, but these article is the case that tomcat and postgresql are running on the …
The web.xml file included war archive of Java WebApp tends to be bigger with a lot of URIs if there are a lot of functions like Restful Web Service Applications. The maintenance of such applications is very mistakable. The debugging URI mi…
Here is a procedure to install Apache Ant manually. Check the latest version at Apache Ant Site Getting latest version ZIP Expand the ZIP(automatically expanded into $HOME/Downloads, I believe) sudo mkdir /usr/local/share/ant sudo cp $ANT_…
Java16進数演算 on String - Shammerismで、自分で16進数の演算をやるようにしてみたが、なんかもっとうまいやり方がありそうな気がして調べたら・・・あった。標準ライブラリでできる。Integer.parseInt(String, int)とかInteger.toString(int, int)を使用…
Javaで16進数の計算を行いたい。でも、Hexadecimalというようなクラスはない。String/Integer/Doubleなどのようにあってほしかったが。 とりあえず、16進数の任意の値を文字列で受け取り、それを計算する例。 public class Hexadecimal { private static fin…