<%-- 导入TestBean类 --%>
<%@ page import = "test.TestBean" %>
<%-- 声明TestBean --%>
<jsp:useBean id ="test" class = "test.TestBean"></jsp:useBean>
<%-- 分别设置两个string的值 --%>
<% test.setString1("Hello");
   test.setString2(" world");
%>
<%= test.getString1Value() %>
<br>
<%= test.getString2Value() %>
