For Programmers: Free Programming Magazines  


Home > Archive > Java Help > March 2004 > J2SE 1.5, JSP and Tomcat









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author J2SE 1.5, JSP and Tomcat
Else Lervik

2004-03-31, 8:50 am

Anyone who has tried Tomcat web-server with j2se 1.5?

I want to use J2SE 1.5 in my JSP's, but where should I put the compiler option "-source 1.5"?

I've tried to expand the _RUNJAVAC environment variable in the setclasspath.bat file, but the server seems to ignore it: set _RUNJAVAC="%JAVA_HOME%\bin\javac -source 1.5"

I've tried Tomcat versions 4.7x and 5.0.

If I compile the generated servlet in the ordinary way, it works fine, but, of course, I would like to get the servlets compiled automatically.

Thanks for all hints.



Else Lervik.

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com