jsp질문입니다(it cookbook발췌)
어서와
%@ page contenttype=text/html; charset=euc-kr
pageencoding=euc-kr%
jsp:usebean id = calc scope = page class=jspbook.ch03.calcbean /
jsp:setproperty name = calc property=* /
% calc.calculate(); %
html
head
title 계산기 /title
/head
body
center
h3 계산기 /h3
hr
form name = form1 method=post
input type = text name = num1 width = 200 size = 5
select name = operator
option selected+/option
option-/option
option*/option
option//option
/select
input type = text name = num2 width = 200 size = 5
input type = submit value=계산 name = b1 input type = result
value=다시 입력 name=b2
/form
hr
계산결과 : jsp:getproperty name=calc property=result /
/body
/html
jsp:usebean id = calc scope = page class=jspbook.ch03.calcbean /
3번째줄 jspbook의 유형을 못찾겠다고 하네요
프로젝트는 jspbook으로 만들었습니다
지금 처음 설치한겁니다