File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes setting jsp compiler Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "setting jsp compiler" Watch "setting jsp compiler" New topic
Author

setting jsp compiler

achayya matta
Ranch Hand

Joined: Oct 27, 2005
Posts: 111
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

Joined: Aug 08, 2003
Posts: 326
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: setting jsp compiler