Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Is JavaScript supported as a JSP scripting language under Tomcat?

0
10 Posted

Is JavaScript supported as a JSP scripting language under Tomcat?

0
10

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

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123