Ganesh Gembali's Blog

my technical thoughts

EL expressions not getting evaluated in JSP pages

leave a comment »

EL expressions are quite useful keep your jsps more readable and maintainable. Yesterday I faced a problem with new project. EL expressions in my jsp are not getting evaluated although I have set the attribute in request.

In servlet :
request.setAttribute(message,”Hello World!”);

In JSP :
${message}

On HTML it is being rendered as : ${HTML}

If you are also facing the same problem use following page directive at top of the page :

That will solve the problem.

Written by ggembali

September 20, 2011 at 5:21 am

Posted in Uncategorized

Tagged with , ,

Eclipse : Searching for a resource based on complete path

leave a comment »

If you are a user of eclipse, (Ctrl + SHIFT + R) is one of the most know and used keyboard shortcut. Whenever we want to search for a resource, we type the Regex to filter the results. But sometimes you might want to apply the filter on complete path. Here is a small tip for that purpose.
Read the rest of this entry »

Written by ggembali

May 2, 2011 at 8:23 am

Posted in Eclipse

Tagged with , , , , ,

Future of SaaS with HTML5 : MoMo Delhi 2011

leave a comment »

Written by ggembali

January 12, 2011 at 4:25 am

Posted in Uncategorized

Finding : Enities not getting persisted with Seam

leave a comment »

Seam helps to quickly setup a enterprise web project. You can just configure different services like database operations, security and start with your business logic. I have created a small CRUD application. But I have faced this strange problem with persisting entities. Here I will explain, how I have solved it. Read the rest of this entry »

Written by ggembali

October 23, 2010 at 7:56 am

Posted in Seam

Tagged with , , , ,

Tip : Setting heap size for maven applications

leave a comment »

Some times we may need to provide good amount of heap space to maven to run the build. This may be because you are loading lot of resources like loading temporary db to run the test cases. Or one may like to run the web application using some embedded container like jetty. Here you can find how to set memory options with maven. Read the rest of this entry »

Written by ggembali

September 29, 2010 at 7:08 am

Posted in maven, tip

Tagged with , , ,

A cross browser horizontal menu

leave a comment »

When ever you are building a business web application , most of the times you would like to target as many audience as possible. Targeting lot of audience in the end turns out to be targeting multiple browsers. So the front end code (html + CSS + javascript) you are going to write must be compatible with multiple browsers and multiple versions. In my view writing such a code is harder than writing a backend EJB ( definitely not EJB3 ;) ). In this blog we will see how we can build a horizontal menu which should work on all browsers and as well as different versions.
Read the rest of this entry »

Written by ggembali

April 24, 2009 at 2:01 pm

Wrong Maven Jetty Plugin : org.apache.maven.plugins:maven-jetty-plugin

with 13 comments

Maven Jetty plugin helps to have a quick feedback cycle in web application development. Recently I got a problem with this plugin. I had two web application projects configured for jetty as follows in their POMs . But jetty was behaving differently in different projects. Maven wrongly resolving this artifact to be in org.apache.maven.plugins group.
Read the rest of this entry »

Written by ggembali

December 29, 2008 at 5:51 am

Developing JSR-168 portlets in Maven+Eclipse environment

with one comment

Portal technology aims at providing personalized view of content aggregated from different systems with a single sign on. Here we will see how we can develop portlets (JSR-168 & 286 specifications) which can be deployed on any portal container using Maven and Eclipse environment. I assume the reader has idea of Portal system and had worked with them in different environment. There are many portal containers currently available now. among them following few famous portal systems

Read the rest of this entry »

Written by ggembali

December 19, 2008 at 6:26 am

Common mistakes made in Agile projects based on new technologies : Xebia Blog

leave a comment »

“In recent times Agile methodology have proved its worth by successfully executing the projects. It minimizes the risk by developing software in short amounts of time. With this iterative model it also minimizes the cost of change in requirements, which makes it suitable for current dyanmic market. Two main practices that helps the developer to incorporate the change are refactoring and simple design. But when it comes to doing these two things with a completely new technology, it might be hard to implement.

In this article I am going to share some of my experiences with my first project. This is an agile project based on a technology which is new to the whole team. I spent around two weeks in understanding the technical features and strengths of the technology.Where as others in the team had never worked with it or similar technology. Here I will discuss about some mistakes that ( I feel ;) )we did while executing the project. “

Readmore

Written by ggembali

December 18, 2008 at 10:29 am

Posted in Agile

Tips & Tricks For Cross Browser Compatible CSS Development : Xebia Blog

with one comment

I wrote a blog on Xebia Blog site about different tips and tricks that you can use to write a rich and effective CSS.

“In web development, Cascading Style Sheets (CSS) is a stylesheet language used to describe the presentation of a document written in a markup language. It has a simple syntax, and uses a number of English keywords to specify the names of various style properties. Its specifications were maintained by W3C. It still hasn’t became a standard over all browsers.

Here I want to share some of my experiences( pains I went through ;) ) while developing styles for my previous projects. One of the project is based on div structure and other is based on table and div structure….. Readmore

Written by ggembali

December 18, 2008 at 10:08 am

Posted in Uncategorized

Follow

Get every new post delivered to your Inbox.