小工具知识网

当前位置: 首页 > 行业知识 > JavaWeb实验 JSP 基本语法(续

行业知识

JavaWeb实验 JSP 基本语法(续

2026-11-10 16:16:09 来源:互联网转载

实验目的

  1. 掌握JSP基本语法;
  2. 掌握JSP常见用法。

实验内容

【1】创建index.jsp、first.jsp和second.jsp三个jsp文件,页面的内容分别显示“This is my JSP page of index.jsp.”、“This is my JSP page of first.jsp.”和“This is my JSP page of second.jsp.”。然后在index.jsp中,通过include方法引进first.jsp和second.jsp两个文件,最终,访问index.jsp显示为下图的内容。

 

test 

This is my JSP page of index.jsp.

 

Chat room

上一篇:冰雪服务器怎么做主机?

下一篇:登录淘宝云服务器怎么登录?