言語
開発環境
Webアプリ/ミドル
データベース
OS/ネットワーク
ITスキル
海外サイト翻訳
書籍検索
用語検索
以下、Eclipse(Java)がセットアップされていることを前提に記述しています。
src/view/index.htmlを作成する。
<html>
<head>
<title>Hello World!!</title>
</head>
<body>
Hello World!!
</body>
</html>
<?xml version='1.0' encoding='utf-8'?>
<Server port="8005" shutdown="SHUTDOWN">
<!--: 省略-->
<Service name="Catalina">
<Connector port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443"
URIEncoding="UTF-8" />
<Connector port="8009"
protocol="AJP/1.3"
redirectPort="8443"
URIEncoding="UTF-8" />
<Engine name="Catalina" defaultHost="localhost">
<Realm className="org.apache.catalina.realm.UserDatabaseRealm"
resourceName="UserDatabase"/>
<Host name="localhost" appBase="webapps"
unpackWARs="true" autoDeploy="false"
xmlValidation="false" xmlNamespaceAware="false">
<Context path="/test"
docBase="<tomcatホームディレクトリ>/webapps/test"
debug="0" reloadable="true">
</Context>
</Host>
</Engine>
</Service>
</Server>
自動生成された<Eclipseプロジェクト配下>src/main/webapp配下を
□tomcatホームディレクトリ
├□conf
|└◆server.xml
└□webapps
└□test
├□index.jsp
├□WEB-INF
|├□web.xml
|├□faces-config.xml
|├□classes
||├◆log4j.properties
||├◆teedaErrorPage.dicon
||├◆jdbc.dicon
||├□test
|||├□dao
|||├□web
||||└□error
|||| └◆ErrorPage.class
|||├□dto
|||├□logic
|||├□helper
|||├□service
|||├□entity
|||├□converter
|||├□interceptor
|||├□dxo
|||└□validator
||├◆env_ut.txt
||├◆app.dicon
||├◆env.txt
||├◆s2container.dicon
||├◆app_aop.dicon
||├◆customizer.dicon
||├◆appMessages.properties
||├□data
|||└◆data/demo.sql
||├◆appMessages_ja.properties
||├◆convention.dicon
||├◆creator.dicon
||└◆teedaCustomize.dicon
|└□lib
| ├◆teeda-tiger-1.0.12.jar
| ├◆s2-dao-tiger-1.0.47.jar
| ├◆teeda-extension-1.0.12.jar
| ├◆tomahawk-1.1.1.jar
| ├◆ognl-2.6.9-patch-20070908.jar
| ├◆s2-dao-1.0.47.jar
| ├◆commons-logging-1.1.jar
| ├◆s2-extension-2.4.22.jar
| ├◆h2-2007-12-27.jar
| ├◆aopalliance-1.0.jar
| ├◆javassist-3.4.ga.jar
| ├◆commons-el-1.0.jar
| ├◆s2-framework-2.4.22.jar
| ├◆teeda-ajax-1.0.12.jar
| ├◆log4j-1.2.13.jar
| ├◆xmlParserAPIs-2.6.2.jar
| ├◆poi-3.0-FINAL.jar
| ├◆commons-fileupload-1.0.jar
| ├◆commons-collections-3.1.jar
| ├◆xercesImpl-2.6.2.jar
| ├□sources
| |├◆teeda-ajax-1.0.12-sources.jar
| |├◆s2-framework-2.4.22-sources.jar
| |├◆teeda-extension-1.0.12-sources.jar
| |├◆log4j-1.2.13-sources.jar
| |├◆teeda-core-1.0.12-sources.jar
| |├◆commons-el-1.0-sources.jar
| |├◆s2-tiger-2.4.22-sources.jar
| |├◆s2-dao-tiger-1.0.47-sources.jar
| |├◆s2-extension-2.4.22-sources.jar
| |├◆commons-collections-3.1-sources.jar
| |├◆teeda-tiger-1.0.12-sources.jar
| |└◆s2-dao-1.0.47-sources.jar
| ├◆teeda-core-1.0.12.jar
| ├◆jstl-1.1.2.jar
| ├◆geronimo-jta_1.1_spec-1.0.jar
| └◆s2-tiger-2.4.22.jar
└□view
├◆index.html
└□view/error
└◆error.html
ブラウザより、「http://<tomcatサーバのホスト>:8080/test」へアクセス。 「Hello World! 」と表示される。
Loarding…
グループサイト zealseeds zealseedsラーニング zealseedsブックス 名か字 名科辞典 幸福の木の育て方
Copyright (C) 2007-2011 zealseeds. All Rights Reserved.お問合せ