|
Revision 32, 0.7 KB
(checked in by yabuki, 3 years ago)
|
|
|
-
Property svn:mime-type set to
text/plain
|
| Line | |
|---|
| 1 | <?xml version="1.0" encoding="UTF-8" ?> |
|---|
| 2 | <%@ page language="java" contentType="text/html; charset=UTF-8" |
|---|
| 3 | pageEncoding="UTF-8" import="mypackage.*"%> |
|---|
| 4 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
|---|
| 5 | <html xmlns="http://www.w3.org/1999/xhtml"> |
|---|
| 6 | <head> |
|---|
| 7 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> |
|---|
| 8 | <title>Insert title here</title> |
|---|
| 9 | </head> |
|---|
| 10 | <body> |
|---|
| 11 | <% |
|---|
| 12 | Person thePerson=new Person(); |
|---|
| 13 | thePerson.run(); |
|---|
| 14 | |
|---|
| 15 | Labor theLabor=new Labor(); |
|---|
| 16 | theLabor.run(); |
|---|
| 17 | |
|---|
| 18 | thePerson=null; |
|---|
| 19 | try { |
|---|
| 20 | thePerson.run(); |
|---|
| 21 | } catch(Exception e) { |
|---|
| 22 | System.out.println("例外発生:"+e.getMessage()); |
|---|
| 23 | } |
|---|
| 24 | %> |
|---|
| 25 | </body> |
|---|
| 26 | </html> |
|---|