I read that inside the web server the jsp page is being converted to a servlet. When does this conversion take place? Should I run a specific command?
This is done at runtime when the JSP is called for the first time. Some web servers also come with a JSP compiler to do this during build, which has two advantages:
JSP , JSP .Apache TomCat, JSP, .java .class \work TomCat.
.java
.class
\work
, , test.jsp\Apache Software Foundation\Tomcat 5.5\webapps\jsp\(.java .class )\Apache Software Foundation\Tomcat 5.5\work\Catalina\localhost\jsp\org\apache\jsp\
test.jsp
\Apache Software Foundation\Tomcat 5.5\webapps\jsp\
\Apache Software Foundation\Tomcat 5.5\work\Catalina\localhost\jsp\org\apache\jsp\
This is done automatically for you when the JSP page is requested, so you do not need to run the command. Sometimes you can precompile your JSPs, etc., but this is not a requirement.
This page explains the life cycle of a JSP page.
Source: https://habr.com/ru/post/1794217/More articles:What can iOS apps do in the background? - iosVMware virtual machines will not be resumed from the command line - linuxHow to clone a container (e.g. ArrayList) * easy *? Is it wrong to use .clone ()? - javaHow to get a working directory hash confirming all uncommitted changes? - windowsHow to access a local variable dynamically (via the String form of its name) from the closing area? - javascriptQt Creator Book - qt-creatorAmazon ElasticBeanstalk vs Cloudfoundry vs other cloud hosting services - cloudCultureNotFoundException: culture is not supported after upgrading to .net 4 - c # -4.0Should I use simple foreach or Linq when collecting data from a collection - c #Why is my use of MEF not consistent with CLS? - warningsAll Articles