hello all, i am using tomcat 5.5.12 and java 1.5. One of my jsp uses some "generic" stuff from java 1.5 .When i ran my application , the jsp file in which the generic stuff is included,showing error. Then i did add the following lines to my web.xml which is somewhere in tomcat installation directory. <init-param> <param-name>compilerSourceVM</param-name> <param-value>1.5</param-value> </init-param> <init-param> <param-name>compilerTargetVM</param-name> <param-value>1.5</param-value> </init-param> But its showing the same error. Can anyone clarify me please? What to do?