Re: Compile JSP pages dynamically using Tomcat 6.0.45

2022-06-13 Thread Mark Thomas
On 13/06/2022 10:48, Pavan Kumar Tiruvaipati wrote: Hi, Our application is running on Tomcat 6.0.45. *Operation System* - Linux & Windows Due to security reasons, we are replacing JDK 1.8 with JRE 1.8. As others have pointed out, your choice of Tomcat version is likely to be a larger

Re: Compile JSP pages dynamically using Tomcat 6.0.45

2022-06-13 Thread Jason Wee
yes, i think so, it is ecj that did the compilation not the jre/jdk... max version u can go with tomcat6 is java8, see } else if(opt.equals("1.7")) { settings.put(CompilerOptions.OPTION_Source, CompilerOptions.VERSION_1_7); }

Re: Compile JSP pages dynamically using Tomcat 6.0.45

2022-06-13 Thread Pavan Kumar Tiruvaipati
Hi, Does ecj 4.6.1 support jsp compilation without JDK ? We would like to replace JDK with JRE. Regards, Pavan On Mon, Jun 13, 2022 at 3:46 PM Jason Wee wrote: > yes, i used to use tomcat version 6.0.29 then upgraded to 6.0.53 > eventually jsp cannot compile to java 8 spec, so i have to

Re: Compile JSP pages dynamically using Tomcat 6.0.45

2022-06-13 Thread Jason Wee
yes, i used to use tomcat version 6.0.29 then upgraded to 6.0.53 eventually jsp cannot compile to java 8 spec, so i have to upgrade ecj to version 4.6.1 and using jdk8u74. But these were all I can recalled. hth On Mon, Jun 13, 2022 at 5:48 PM Pavan Kumar Tiruvaipati wrote: > > Hi, > > Our

Re: Compile JSP pages dynamically using Tomcat 6.0.45

2022-06-13 Thread Pavan Kumar Tiruvaipati
Thank you for the quick response. We can upgrade Tomcat to the latest version. Is there anything required in tomcat installation's configuration to support JSP compilation ? If yes, please share the details. Regards, Pavan On Mon, Jun 13, 2022 at 3:35 PM Olaf Kock wrote: > > On 13.06.22

Re: Compile JSP pages dynamically using Tomcat 6.0.45

2022-06-13 Thread Olaf Kock
On 13.06.22 11:48, Pavan Kumar Tiruvaipati wrote: > Hi, > > Our application is running on Tomcat 6.0.45. > > > *Operation System* - Linux & Windows > > Due to security reasons, we are replacing JDK 1.8 with JRE 1.8. If you make a change *for security reasons*, you might want to rather update

Compile JSP pages dynamically using Tomcat 6.0.45

2022-06-13 Thread Pavan Kumar Tiruvaipati
Hi, Our application is running on Tomcat 6.0.45. *Operation System* - Linux & Windows Due to security reasons, we are replacing JDK 1.8 with JRE 1.8. We understand that Tomcat is bundled with Eclipse JDT compiler - ecj-4.3.1.jar. It will take care of dynamic compilation of JSP pages (Correct