вт, 8 окт. 2019 г. в 18:11, Rony G. Flatscher (Apache) <r...@apache.org>: > > 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)? > > If not, any advice/hint how to realize/create such a functionality (for then > creating such a > tutorial instead) would be highly appreciated!
1. There is no such feature in Apache Tomcat. Tomcat implements JSP specification and the specification [1] only supports language="java" in a JSP declaration. [1] https://cwiki.apache.org/confluence/display/TOMCAT/Specifications#Specifications-JavaServerPagesandExpressionLanguageSpecifications Support for other language needs some specification document of such a feature, and I do not know about any such document. 2. Technically, support for JSPs is provided by "Jasper" component of Tomcat and its org.apache.jasper.servlet.JspServlet Technically, it should not rely on Tomcat internals and could be swapped with some other implementation. (Not tested). Best regards, Konstantin Kolinko --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org