Code example1
①
Product.java (JavaBean Class)
②
Bean.java (Servlet)
③ complie
javac -encoding utf-8 -d ..\classes -sourcepath . chapter15\Bean.java
④ Tomcat
⑤
http://localhost:8080/book/chapter15/bean
Code example2
/Beantest/src/com/test/Member.java
/Beantest/src/com/test/Callmember.java
run