1.jsp的helloWorld:(视频下载) (全部书籍)
做jsp的实验步骤非常简单。在eclipse当中,右键点击代表你WebModule的根目录的WebContent。new/jsp 即可。
例 1.1
<%@ page contentType="text/html; charset=GBK"%>
<html>
<%!private int accessCount = 0;%>
<%!double called() {
return Math.random();
}%>
<%=++accessCount%>
<%
if (called() < 0.5) {
%>
天气好
<%
在eclipse当中如何做一个jsp的helloWorld?
阅读(8200) 评论(0)