• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

setting jsp compiler

 
achayya matta
Ranch Hand
Posts: 111
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?

Regards
ashok
 
Ray Stojonic
Ranch Hand
Posts: 326
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by ashok reddy devaram:
But its showing the same error. Can anyone clarify me please? What to do?
Not without seeing the offending code and the error text.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic