Comparing Strings in Java has evolved from the character comparisons to String comparisons to StringUtils comparison. Using the StringUtils to compare Strings is so much safer and faster to code.
For those running Tomcat 5.5 on a JDK 1.4, there will be compatibility issues. Testing it on Eclipse, the error would appear as such.
This release of Apache Tomcat was packaged to run on J2SE 5.0
or later. It can be run on earlier JVMs by downloading and
installing a compatibility package from the Apache Tomcat
binary download page.
This [...]
Been playing around with Hibernate and mapping classes with Java. A reason why Hibernate is useful is so to facilitate users to stop writing pure SQL for queries and reduce code redundancy. A slight note, Hibernate also works well with the .NET platform.
Though there was this error which TechieDan experienced
org.springframework.orm.hibernate3.HibernateSystemException: [...]
Have been searching how to do multiple values in Spring.
What is Spring?
There are no complications when displaying only a single id or a value while using spring and form taglib by doing this.
<form:select path=”prospect.wholeSaleId” items=”${List}”
itemLabel=”wholeSaleId” itemValue=”wholeSaleId”>
Now itemLabel would display the wholeSaleId value. The problem now is how to display let’s say [...]
Most of us grew up with “Learn How To Program in C“. Then some of us shifted to JAVA due to the phrase, “Write Once, Run Everywhere“. Now back then, learning to write a loop in those days are considered good programming practice during the C Programming era. TechieDan even has his experiences on C [...]