~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
Retrieved from http://wiki.zeropage.org/wiki.php/Simple_Jsp_Ex
last modified 2021-02-07 05:28:02