Category Archives: Uncategorized

Setting the JAVA_HOME in Windows 7 (64 bit)

After you have downloaded and installed the Java Development Kit (JDK) in Windows, you must set the JAVA_HOME environment variable to point to the JDK installation directory. You must follow these steps to set JAVA_HOME variable on your Windows system. … Continue reading

Posted in Uncategorized | Tagged , , | 10 Comments

Oracle SQL Developer full pathname for java.exe

If you are asked to enter the full pathname for java.exe when you are installing Oracle SQL Developer, click Browse and find java.exe. For example, the path might have a name similar to C:\Program Files\Java\jdk1.6.0_37\bin\java.exe Source: http://docs.oracle.com/cd/E10405_01/doc/install.120/e10407/install.htm

Posted in Uncategorized | Tagged , , | Leave a comment

Uppercase Converter

“In many situations it’s useful to store some properties in upper case. It’s a common practice of many data modeller and designers which prefer upper case for visible unique keys like codes, names, etc.” Let’s say we have an unique … Continue reading

Posted in Uncategorized | Tagged , , | 1 Comment

Girişimciliğin 10 Temel Kuralı

Birçok insan girişimci olmak istese de, başarılı bir girişimin nasıl başlatılacağı ve sürdürüleceği temel bir sorundur. İşte size yıllar boyu yaptığım incelemelere dayanak geliştirdiğim girişimciliğin 10 temel kuralı: İyi bir iş fikri gezerken keşfedilir! Gitmediğiniz yere gitmeli, konuşmadığınız insanlarla konuşmalı, … Continue reading

Posted in Uncategorized | Tagged , , , | Leave a comment

Escaping single and double quotes in JavaScript onclick event handler

The simple code block below results in a javascript error if ${photoCaption} contains single or double quotes. So I thought that It needs to be Javascript escaped. I used escapeJavaScript method of org.apache.commons.lang.StringEscapeUtils class. First I inserted the code below … Continue reading

Posted in Uncategorized | Tagged , , , | Leave a comment

jQuery AJAX Cache Problem on Internet Explorer

Internet Explorer (IE) caches the AJAX request. So if I make ajax queries with same URL(with the exact same parameters), it tends to give me same result/output as IE caches the data that it gets from first query. No other … Continue reading

Posted in Uncategorized | Tagged , , | Leave a comment

Comparing Struts 1 and 2

Feature : Threading Model Struts 2 Action objects are instantiated for each request, so there are no thread-safety issues. (In practice, servlet containers generate many throw-away objects per request, and one more object does not impose a performance penalty or … Continue reading

Posted in Uncategorized | Tagged , , | Leave a comment