"; all codes that can be executed in the java program can be executed through the jsp script. JSP scripts are divided into three types: "<%...%>", "<%=...%>", "<%!...%>"."/> "; all codes that can be executed in the java program can be executed through the jsp script. JSP scripts are divided into three types: "<%...%>", "<%=...%>", "<%!...%>".">

Home  >  Article  >  Java  >  What is the jsp script?

What is the jsp script?

little bottle
little bottleOriginal
2019-05-07 15:22:354355browse

JSP script is also called java script. It is actually a Java code fragment, which refers to the java script in the jsp page enclosed by "a4558806285d5b7820bdaa0b90aa4d26"; all codes that can be executed in the java program are Can be executed through jsp script. JSP scripts are divided into three types: "9613d184b92a8db8e14f8dcd66cf91f2", "dae4c36fc931dafe9ee9ed85cc9291c2", "b3320273a6f7628bed0944307d0fa1f9".

What is the jsp script?

JSP (Java Server Pages) is a dynamic resource on the JavaWeb server side. It has the same function as the html page, which is to display data and obtain data.

Composition of jsp: JSP = html Java script (code snippet) JSP dynamic tag

jsp script: also called java script in some places, refers to enclosed by a4558806285d5b7820bdaa0b90aa4d26 java script in jsp page. All codes that can be executed in java programs can be executed through jsp scripts.

JSP script is a Java code snippet, which is divided into three types:

  • ##9613d184b92a8db8e14f8dcd66cf91f2: Java statement;

  • b0bb560dca471615a6f7179f9ae739a6: Java expression;

  • b3320273a6f7628bed0944307d0fa1f9: Java definition Class members;

#Variables defined in jsp scripts can also be used in jsp output expressions. For example:

<!-- 下面是JSP声明部分 -->
<%!
public int count;
public String info()
{ return "hello";}
%>
<%
Integer i=10;
out.println(count++);
%>
<%
out.println(info());
%>
<%=count++%>
<%=info()%>
<%=i%>

The above is the detailed content of What is the jsp script?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn