JSP or EL expression is not evaluated. I have seen couple of times JSP directly displaying the el-expression on webpages. It may be because of couple reasons 1) Typo in your jsp. 2) Attributes are not set in reqeust or pageContext. 3) You have not enabled EL expression in your JSP or not enabled in [...]

Spring MVC is part of Springframework. It allow us to create application based on MVC design pattern in way that, we can leverage other features of Spring like authentication, ORM, AOP and others. In Spring MVC core component is the DispatcherServlet{link}, It works as front-controller. All request are processed by DispatcherServlet. It is also responbile [...]

HashMap vs Hashtable Hashtable and HashMap are both key-value based data structure. Both of them allows the access data based on key. Both of them some differences in storing values and performance over iteration. Some of the basic differences are following HashMap HashTable Synchronized Un-synchronized  Synchronized Allow null Allowed Null for key and Value Not allowed, Null pointer would [...]

Hippo CMS 7 allows you to pick image in cms editor from Image gallery using hippogallerypicker add- on . Hippo Gallery picker can be configureed to display custom height and width of custom image. Confgiuration can done at ‘/hippo:namespaces/hippogallerypicker/imagelink/editor:templates/_default_/root’ by changing properties of preview.width and preview.height.

It is very common to use unique identifiers in web application for identifying unique users or some other usage, till now I was always writing an program using some random generator code for them. It is always hard to do that, as those unique identifiers should not repeat them self in future, else it will [...]

People always define Logger in upper case for not having PMD warning According to SUN code convention only constants should be defined in upper case. Every thing that you define as static and final doesn’t not become constant, but it should immutable too. Logger are not immutable like other primitive types e.g number and String,  Logger [...]

We posted earlier how send email using java email api. Here is example of sending email in plain text and html format in same email.

Using java Collections to copy array list I have seen lot’s of people using Collections.copy and most of times you see this error on console Normally we use following code to copy an array-list Only problem in the above code is that for list items2 we are assuming that it has same capacity as list [...]

Ldap configuration in Jetspeed 2 (JS2) is very easy. Its only two required steps to configure Ldap in JS2. 1) Enable Ldap module First you need to create “spring-filter-key.properties” under jetspeed/WEB-INF/conf and add the following lines #Turn on LDAP Security spring.filter.key = portal.ldap Spring-filter-key. properties can be used to enable or disable different module of [...]

Jetspeed 2.2.0 The Jetspeed 2.2.0 release is a major release of the Jetspeed-2 portal and is the first release of Jetspeed that is fully compliant with the Java Portlet Specification 2.0. With this new version of Jetspeed. Jetspeed 2 See Latest jetspeed in action demo Use the username admin connects using the password j2 New [...]