Is JavaScript supported as a JSP scripting language under Tomcat?
Location: http://www.jguru.com/faq/view.jsp?EID=415418 Created: May 4, 2001 Author: Les Hazlewood (http://www.jguru.com/guru/viewbio.jsp?EID=279038) Question originally posed by Brian Stone (http://www.jguru.com/guru/viewbio.jsp?EID=398303 In short, no. Putting things very very simply, Tomcat is essentially a Java Servlet Compiler, taking the .jsp file you write and translating it to a java servlet that runs in the background. Java, according to the Apache development group that wrote Tomcat (known as the Jakarta group) conforms solely to the JSP 1.2 / Servlet 1.1 specification by Sun Microsystems. When they wrote Tomcat, they only had in mind to use Java as the “scripting language”. In fact, Tomcat is built with java, thereby heavily integrating the technology. I hope you know this, but JavaScript and Java are two entirely different languages (some things are similar, but most are not). The two technologies are by no means interchangeable, and this intuitively applies to Tomcat. To th