<%@ page contentType="text/html; charset=GBK" language="java" errorPage=""%> <!-- 指定info 信息 --> <%@ page info="this is a jsp"%> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>测试page指令的info属性</title> </head> <body> <!-- 输出info信息 --> <%=getServletInfo() %> </body> </html>
吴裕雄--天生自然JAVA开发JSP-Servlet学习笔记:指定JSP页面的描述信息
猜你喜欢
转载自www.cnblogs.com/tszr/p/12663925.html
今日推荐
周排行