Hi Chris, > On 10/9/19 07:08, Rony G. Flatscher (Apache) wrote: > > On 08.10.2019 21:16, André Warnier (tomcat) wrote: > >> On 08.10.2019 17:11, Rony G. Flatscher (Apache) wrote: > >>> Does anyone know of any tutorials that would demonstrate how to > >>> use any javax.script language in JSPs instead of Java (e.g. > >>> using Jython or JavaScript instead)?
... cut ... > My own (particularly uninformed) opinion is that most scripting > languages that have wanted to get into JVMs/app servers have simply > built their own technologies to handle everything, so it doesn't run > through JSP itself. > > For example, Lucee[1] is a CFML implementation in Java, but it doesn't > (always) use JSP. They have a separate "interpreter" for it instead of > building huge tag libraries to fit it into JSP. (I say "interpreted" > because I don't know if they actually interpret the files each time on > demand, or if there is a compilation step at some point. It doesn't > really matter either way.) > > I haven't looked at it in depth, but I believe this is also what > Apache JGroovy[2] does. > > -chris > > [1] https://lucee.org/ > [2] https://groovy-lang.org/ Maybe if some standard "script" taglib library for javax.script languages existed like the proof-of-concept one in [1] then that could be exploited/(re)used rather than coming up with non-standard implementations of their own. ---rony [1] <wi.wu.ac.at/rgf/diplomarbeiten/BakkStuff/2010/201007_Ryabenkiy/201007_Ryabenkiy_WebScripting_ApacheTomCat_TagLib.pdf> with an example that instrumentaes PHP and Rexx. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org