$B$*@$OC$K$J$j$^$9!#(B<br>
teeda$B$N%l%$%"%&%H5!G=$K$D$$$F<ALd$,$"$j$^$9!#(B<br>
<br>
layout.html$B$,#2=EE,MQ$5$l$F$$$^$9$,2?=h$,LdBj$+J,$+$j$^$;$s!#(B<br>
<br>
view/layout/layout.html$B$,%l%$%"%&%H%U%!%$%k$N7PO)$G$9!#(B<br>
layout.html$B$HF1$8(Bcoding$B$GB>$N%W%m%8%'%/%H$K%l%$%"%&%H$rE,MQ$9$k$H!"(B<br>
$B$&$^$/F0$-$^$9!#!J%l%$%"%&%H$,#1=E!JIaDL$N%l%$%"%&%H!K!K(B<br>
<br>
$B$G$b:#0lHV<g$K3+H/$7$F$k%W%m%8%'%/%H$NCf$K$O%l%$%"%&%H$,#2=EE,MQ$7$F$7$^$C$F:$$j$^$9!##2=EE,MQ$5$l$k$H$$$&$N$O%l%$%"%&%H$N(B te:includeChildBody $BItJ,$K$b$&0l2s(Bheader$B$H(Bmenu, footer$B$,I=<($5$l$^$9!#(B<br>
$B$h$&$9$k$K!"%l%$%"%&%H$,E,MQ$5$l$?2hLL$,!"$b$&0l2s%l%$%"%&%H$NCf$K4^$^$l$^$9!#(B<br>
|------------------------------- |<br>
| header |<br>
|------------------------------- |<br>
||------------------------------ || <br>
|| header || <br>
||------------------------------ ||<br>
|| ||<br>
|| te:includeChildBody $BItJ,(B ||<br>
|| ($BFI$_9~$^$l$?3F(Bhtml$B$NFbMF!K(B ||<br>
|| ||<br>
||------------------------------ ||<br>
|| footer ||<br>
||------------------------------ ||<br>
|-------------------------------|<br>
| footer |<br>
|------------------------------ -|<br>
<br>
$B$N7A$K$J$C$F$*$j$^$9!#(B<br>
<br>
$BB>$N%W%m%8%'%/%H$KG[CV$7$?$i%l%$%"%&%H$,@5>o$KE,MQ$5$l$k;v$r8+$k$H(B<br>
html$B%U%!%$%k<+BN$OLdBj$,$J$5$=$&$G$9!#(B<br>
$B$b$7(Bdicon$B%U%!%$%k$N@_Dj$,4V0c$C$F$$$k$+$b$H;W$$$^$9$,!#!#(B<br>
<br>
$B$G$b(Bdicon$B%U%!%$%k$bJQ99$,>/$J$/$F2?=h$,4V0c$C$F$k$+J,$+$j$^$;$s!#(B<br>
$B2?=h$,4V0c$C$?$i$3$s$J;v$K$J$k$+$4B8CN$G$7$?$i$*Ez$($*4j$$$$$?$7$^$9!#(B<br>
<br>
<h1 style="font-weight: normal;"><font size="3">$BJdB-(B</font></h1>layout.html<br>
<br>
<?xml version="1.0" encoding="UTF-8"?><br>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" <br>
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><br>
<html xmlns="http://www.w3.org/1999/xhtml" <br>
xmlns:te="http://www.seasar.org/teeda/extension" xml:lang="ja" lang="ja"><br>
<head><br>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><br>
<title>$B%l%$%"%&%H(B</title><br>
</head><br>
<br>
<body><center><br>
</center><br>
<table border="1" width="95%" align="center"><br>
<tr><br>
<td colspan="2" align="center" height="80"><br>
<span class="oneField"><br>
<te:include id="layoutHeader" te:src="/layout/headerSample.html"/><br>
</span><br>
</td><br>
</tr> <br>
<tr height="370" ><br>
<td valign="top"><br>
<te:includeChildBody id="LayoutChildBody"/><br>
<a valign="top"> </a><br/><br>
</td><br>
</tr><br>
<tr><br>
<td colspan="2" align="left"><br>
<span class="oneField"><br>
<te:include id="LayoutFooter" te:src="/layout/footerSample.html"/><br>
</span><br>
</td><br>
</tr><br>
</table><br>
</body><br>
</html><br>
<br>
$B!<!<!<!<!<!<!<!<!<!<!<!<!<!<!<!<!<!<(B<br>
web.xml <br>
(layout.html$B$O(Bview/layout/layout.html$B$KG[CV$7$F$*$j$^$9$N$G(B<br>
$B$H$/$K(B teeda.DEFAULT_LAYOUT_PATH $B$O;XDj$7$F$$$^$;$s!#(B<br>
<br>
<br>
<?xml version="1.0"?><br>
<br>
<!--<br>
* Copyright 2004-2006 the Seasar Foundation and the Others.<br>
*<br>
* Licensed under the Apache License, Version 2.0 (the "License");<br>
* you may not use this file except in compliance with the License.<br>
* You may obtain a copy of the License at<br>
*<br>
* http://www.apache.org/licenses/LICENSE-2.0<br>
*<br>
* Unless required by applicable law or agreed to in writing, software<br>
* distributed under the License is distributed on an "AS IS" BASIS,<br>
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,<br>
* either express or implied. See the License for the specific language<br>
* governing permissions and limitations under the License.<br>
--><br>
<br>
<!DOCTYPE web-app PUBLIC<br>
"-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"<br>
"http://java.sun.com/dtd/web-app_2_3.dtd"><br>
<br>
<web-app><br>
<br>
<!--<br>
<context-param><br>
<param-name>javax.faces.CONFIG_FILES</param-name><br>
<param-value><br>
/WEB-INF/faces-config.xml<br>
</param-value><br>
<description><br>
Comma separated list of URIs of (additional) faces config files.<br>
(e.g. /WEB-INF/my-config.xml)<br>
See JSF 1.0 PRD2, 10.3.2<br>
</description><br>
</context-param><br>
--><br>
<br>
<context-param><br>
<param-name>javax.faces.STATE_SAVING_METHOD</param-name><br>
<param-value>server</param-value><br>
<description><br>
State saving method: "client" or "server" (= default)<br>
See JSF Specification 2.5.2<br>
</description><br>
</context-param><br>
<br>
<context-param><br>
<param-name>javax.faces.DEFAULT_SUFFIX</param-name><br>
<param-value>.html</param-value><br>
</context-param><br>
<br>
<filter><br>
<filter-name>encodingfilter</filter-name><br>
<filter-class>org.seasar.extension.filter.EncodingFilter</filter-class><br>
<init-param><br>
<param-name>encoding</param-name><br>
<param-value>UTF-8</param-value><br>
</init-param><br>
</filter><br>
<br>
<filter><br>
<filter-name>s2filter</filter-name><br>
<filter-class>org.seasar.framework.container.filter.S2ContainerFilter</filter-class><br>
</filter><br>
<br>
<filter><br>
<filter-name>hotdeployfilter</filter-name><br>
<filter-class>org.seasar.framework.container.hotdeploy.HotdeployFilter</filter-class><br>
</filter><br>
<br>
<filter><br>
<filter-name>extensionfilter</filter-name><br>
<filter-class>org.seasar.teeda.extension.filter.ExtensionFilter</filter-class><br>
</filter><br>
<br>
<!--<br>
<filter><br>
<filter-name>requestDumpFilter</filter-name><br>
<filter-class>org.seasar.teeda.core.filter.RequestDumpFilter</filter-class><br>
</filter><br>
--><br>
<br>
<filter-mapping><br>
<filter-name>encodingfilter</filter-name><br>
<url-pattern>*.html</url-pattern><br>
</filter-mapping><br>
<br>
<filter-mapping><br>
<filter-name>s2filter</filter-name><br>
<url-pattern>/*</url-pattern><br>
</filter-mapping><br>
<br>
<filter-mapping><br>
<filter-name>hotdeployfilter</filter-name><br>
<url-pattern>/*</url-pattern><br>
<!--<br>
<dispatcher>REQUEST</dispatcher><br>
<dispatcher>FORWARD</dispatcher><br>
--><br>
</filter-mapping><br>
<br>
<!--<br>
<filter-mapping><br>
<filter-name>requestDumpFilter</filter-name><br>
<url-pattern>/view/*</url-pattern><br>
</filter-mapping><br>
--><br>
<br>
<filter-mapping><br>
<filter-name>extensionfilter</filter-name><br>
<url-pattern>/teedaExtension/*</url-pattern><br>
</filter-mapping><br>
<br>
<!--<br>
<listener><br>
<listener-class>org.seasar.teeda.core.webapp.TeedaConfigureListener</listener-class><br>
</listener><br>
--><br>
<br>
<!-- Teeda initialize servlet --><br>
<servlet><br>
<servlet-name>teedaServlet</servlet-name><br>
<servlet-class>org.seasar.teeda.core.webapp.TeedaServlet</servlet-class><br>
<!-- If you want to run teeda-html-example as Portlet, replace TeedaServlet with<br>
TeedaPortletExtendedServlet and add S2Portlet and Portlet Filter.<br>
S2Portlet: http://s2portlet.sandbox.seasar.org/<br>
Portlet Filter: http://portals.apache.org/bridges/<br>
<servlet-class>org.seasar.teeda.core.webapp.TeedaPortletExtendedServlet</servlet-class><br>
--><br>
<init-param><br>
<param-name>configPath</param-name><br>
<param-value>app.dicon</param-value><br>
</init-param><br>
<init-param><br>
<param-name>debug</param-name><br>
<param-value>true</param-value><br>
</init-param><br>
<load-on-startup>1</load-on-startup><br>
</servlet><br>
<br>
<!-- facesServlet --><br>
<servlet><br>
<servlet-name>facesServlet</servlet-name><br>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class><br>
<load-on-startup>2</load-on-startup><br>
</servlet><br>
<br>
<servlet><br>
<servlet-name>ajaxServlet</servlet-name><br>
<servlet-class>org.seasar.teeda.ajax.AjaxServlet</servlet-class><br>
<load-on-startup>3</load-on-startup><br>
</servlet><br>
<br>
<servlet-mapping><br>
<servlet-name>facesServlet</servlet-name><br>
<url-pattern>*.html</url-pattern><br>
</servlet-mapping><br>
<br>
<servlet-mapping><br>
<servlet-name>teedaServlet</servlet-name><br>
<url-pattern>/teedaServlet</url-pattern><br>
</servlet-mapping><br>
<br>
<servlet-mapping><br>
<servlet-name>ajaxServlet</servlet-name><br>
<url-pattern>*.ajax</url-pattern><br>
</servlet-mapping><br>
<br>
<!--<br>
<session-config><br>
<session-timeout>1</session-timeout><br>
</session-config><br>
--><br>
<br>
<welcome-file-list><br>
<welcome-file>index.jsp</welcome-file><br>
</welcome-file-list><br>
<br>
</web-app><br>
<br>
dicon$B%U%!%$%k$O$I$s$J(Bdicon$B%U%!%$%k$r5-=R$7$F$$$$$+J,$+$i$J$/$F(B<br>
$B$^$@5-=R$7$F$*$j$^$;$s$,!"I,MW$J(Bdicon$B%U%!%$%k$,$"$C$?$i6D$C$F$/$@$5$$!#(B<br>
<div style="line-height: 0; width: 0; height: 5px; clear: both;"> </div>
<p> 
<hr size=1><a href=http://pr.mail.yahoo.co.jp/toolbar/ target="new">Easy + Joy + Powerful = Yahoo! Bookmarks x Toolbar</a><br>