J2SE 1.5, JSP and Tomcat

From: Else Lervik (else_at_aitel.hist.no)
Date: 03/31/04

  • Next message: mistral: "Re: Html into a DOM tree"
    Date: Wed, 31 Mar 2004 14:44:06 +0200
    
    

    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.


  • Next message: mistral: "Re: Html into a DOM tree"

    Relevant Pages

    • jdk1.5, jsp and Tomcat
      ... Anyone who has tried Tomcat web-server with jdk 1.5? ... 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. ...
      (comp.lang.java.programmer)
    • Re: compiled servlet -- class wont run...
      ... ok, Bryce, I think I'm getting somewhere here.. ... I can't run this particular servlet on there b/c it ... pain b/c entire book follows this particular servelt.. ... I have to type entire path every time to compile servlets (but that's ...
      (comp.lang.java.help)
    • Re: I cant compile a very simple servlet code.
      ... > I can't compile the following simple servlet code. ... > public class HelloServlet extends GenericServlet ...
      (comp.lang.java.programmer)
    • Re: cant find a class...
      ... Paul Lutus wrote: ... > Frances Del Rio wrote: ... >>I'm trying to compile a servlet that contains the class currency. ...
      (comp.lang.java.help)
    • Re: ALL OF A SUDDEN cant find ANY classes....
      ... " The server already knows about the servlet classes, ... to find the libraries for it to build your classes (JSPs are compiled ... If you attempt to compile this just typing ... Tomcat, the libraries are in its common/lib directory. ...
      (comp.lang.java.help)