Setting UTF-8 encoding in a JSP (changing ISO-8859-1 to UTF-8 on IBM Rational Application Developer)

Today, I was integrating a custom JSP component into IBM WCM and I noticed some characters were not displaying as expected, after looking into the generated source code in Firefox I realized the used encoding was ISO-8859-1, let me explain what ISO-8859-1 means… According the W3C the ISO-8859-1 encoding: ISO-8859-1 is the default character set in…

“IWKMU1026X: File not found” error when render WCM components or elements in IBM WCM 6 SOLVED

Today, I spent a lot of time trying to render an ImageComponent using the WCM 6 API, because when I used the method render() from the workspace this error was appearing: IWKMU1026X: File not found The thing is, almost all in the web point to a permission issue, but at the end my solution is…

Solving “The matching wildcard is strict, but no declaration can be found for element mvc:annotation-driven”

If you are using Spring to create an awesome enterprise application and you are a beginner like me this article is for you. Today when I was integrating new configurations to Spring MVC to an existing project an error appeared, this error was related with <mvc-anotation-driven /> annotation. At the beginning I thought it would…

How to solve the “Class has two properties of the same name” JAXB error (WebSphere Application Server)

Today, when I was creating a RESTful service in JavaEE for a dynamic web application to run in IBM® WebSphere  Application Server (WAS) an error like this was appearing: Class has two properties of the same name “userId” this problem is related to the following location: at public java.lang.String com.rest.model.UserProfile.getUserId() at com.rest.model.UserProfile this problem is…

How to use and understand Binary Search on Java SE

Java is a Platform to create robust, secure and scalable stand-alone and enterprise web applications. It has a lot of classes and resources that make easy to develop many functionalities in systems. One of the most interesting parts of the Java API (Application Programming interface) is work with collections and generics. Basically, Java has three…