<%@ page language =" java " contentType =" text / html ; charset = EUC - KR " pageEncoding =" EUC - KR "%><%@ page import =" java . util . *" %><! DOCTYPE html PUBLIC "-// W 3 C / / DTD HTML 4 . 01 Transitional / / EN " " http : / / www . w 3 . org / TR / html 4 / loose . dtd ">< html >< head >< meta http - ｅquiv =" Content - Type " content =" text / html ; charset = EUC - KR ">< title > Insert title here </ title ></ head >< body ><%! public String [ ] dul ( String jumin ) { String [ ] z ; z = new String [ 2 ] ; StringTokenizer st = new StringTokenizer ( jumin , "-"); z [ 0 ] = st . nextToken ( ) ; z [ 1 ] = st . nextToken ( ) ; return z ; } %><% String [ ] kk = dul ( " 11232 - 123123 ");%><%= kk [ 0 ] %>< br ><%= kk [ 1 ] %>< br / >< br / >< br / >< br / >< br / >< br / >< br / >< br / >< br / >< br / >< br / > <%/* 구구단 짜 기 */ for ( int i = 1 ; i <= 9 ; i ++){ for ( int j = 1 ; j <= 9 ; j ++){ if ( j == 1 ) { if ( i == 1 ) { out . println ( i +" 단 "); out . println ( " = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = ======================"); out . println ( "< br / >"); } else if ( i == 2 ) { out . println ( i +" 단 "); out . println ( " = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = ======================"); out . println ( "< br / >"); } else if ( i == 3 ) { out . println ( i +" 단 "); out . println ( " = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = ======================"); out . println ( "< br / >"); } else if ( i == 4 ) { out . println ( i +" 단 "); out . println ( " = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = ======================"); out . println ( "< br / >"); } else if ( i == 5 ) { out . println ( i +" 단 "); out . println ( " = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = ======================"); out . println ( "< br / >"); } else if ( i == 6 ) { out . println ( i +" 단 "); out . println ( " = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = ======================"); out . println ( "< br / >"); } else if ( i == 7 ) { out . println ( i +" 단 "); out . println ( " = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = ======================"); out . println ( "< br / >"); } else if ( i == 8 ) { out . println ( i +" 단 "); out . println ( " = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = ======================"); out . println ( "< br / >"); } else if ( i == 9 ) { out . println ( i +" 단 "); out . println ( " = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = ======================"); out . println ( "< br / >"); } } out . println ( i + " " + "*" + " " + j + " " + "=" +" " + i * j ) ; out . println ( "< br / >"); }}%> </ body ></ html >