jsp基础语言-jsp声明 jsp声明的语法格式:<%! 声明代码 %> jsp声明的意义:用来定义在程序中使用到的变量、方法等。最后要以“;”结尾。 jsp声明举例: <%! int a=100,b=200;%> <%! String[] array; %>