application对象运行示例-JSP网页编程(ppt)

时间:2024-05-15 02:21:43
【文件属性】:

文件名称:application对象运行示例-JSP网页编程(ppt)

文件大小:2MB

文件格式:PPT

更新时间:2024-05-15 02:21:43

jsp

application对象运行示例 <%--application对象示例,peixun2.13.jsp文件代码--%> <%@ page contentType="text/html;charset=gb2312"%> application <% out.println("Java Servlet API Version "+application.getMajorVersion() +"."+application.getMinorVersion()+""); out.println("peixun2.13.jsp's MIME type is:"+application.getMimeType("peixun2.13.jsp") +""); out.println("URL of 'peixun2.13.jsp' is: "+application.getResource(“/peixun2.13.jsp")+""); out.println("getServerInfo()="+application.getServerInfo()+""); out.println(application.getRealPath(" ")); application.log("Add a Record to log_file"); %>


网友评论