E D R , A S I H C RSS

Simple_Jsp_Ex

~cpp
<html>
<head>
</head>
<body> hello word <br>

<%
	int result = 0;

	for(int i=1; i<=9; i++) {
		for(int j=1; j<=9; j++) {
			result = i*j;
			%>
			<%=i%> * <%=j%> = <%=result%>
			&nbsp;&nbsp;&nbsp;
			<%
		}%>
		<br>
	<%
	}
	%>


</body>
</html>

<!--
<%
String str = "Hello Word!";
%>

<table border=3>
	<%
		for(int i=0; i<10; i++) {
	%>

	<tr><td>1</td></td>2</td>
	</tr>
	<%
	}
	%>
</table>
"화면에 출력시 반드시 = 붙여줘야 한다."
-->
JSP
Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2009-05-27 07:09:18
Processing time 0.1867 sec