📄 lifecyclelistener in tomcat--rosonsandy.htm
字号:
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: " courier="" new?;=""
mso-font-kerning:="" 0pt?="">org.apache.catalina.startup.</SPAN></B><B
style="mso-bidi-font-weight: normal"><SPAN lang=EN-US
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: " courier="" new?;=""
mso-font-kerning:="" 0pt?="">HostConfig</SPAN></B><SPAN lang=EN-US
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: " courier="" new?;=""
mso-font-kerning:="" 0pt?="">:Startup event listener for a <SPAN
style="mso-spacerun: yes"> </SPAN>Host that configures the properties of
that Host, and the associated defined contexts.</SPAN><SPAN
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 宋体; mso-ascii-font-family: ; mso-font-kerning: 0pt"
mso-hansi-font-family:="" courier="" new?;="" mso-bidi-font-family:=""
?courier="" new??="">为</SPAN><SPAN lang=EN-US
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: " courier="" new?;=""
mso-font-kerning:="" 0pt?="">Host</SPAN><SPAN
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 宋体; mso-ascii-font-family: ; mso-font-kerning: 0pt"
mso-hansi-font-family:="" courier="" new?;="" mso-bidi-font-family:=""
?courier="" new??="">配置</SPAN><SPAN lang=EN-US
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: " courier="" new?;=""
mso-font-kerning:="" 0pt?="">context</SPAN><SPAN
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 宋体; mso-ascii-font-family: ; mso-font-kerning: 0pt"
mso-hansi-font-family:="" courier="" new?;="" mso-bidi-font-family:=""
?courier="" new??="">。</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 宋体; mso-ascii-font-family: ; mso-font-kerning: 0pt"
mso-hansi-font-family:="" courier="" new?;="" mso-bidi-font-family:=""
?courier="" new??=""></SPAN><SPAN
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 宋体; mso-ascii-font-family: ; mso-font-kerning: 0pt"
mso-hansi-font-family:="" courier="" new?;="" mso-bidi-font-family:=""
?courier="" new??="">主要方法有:</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 宋体; mso-ascii-font-family: ; mso-font-kerning: 0pt"
mso-hansi-font-family:="" courier="" new?;="" mso-bidi-font-family:=""
?courier="" new??=""></SPAN><SPAN lang=EN-US
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: " courier="" new?;=""
mso-font-kerning:="" 0pt?="">deployDescriptors(appBase, files);<SPAN
style="mso-spacerun: yes"> </SPAN></SPAN><SPAN lang=EN-US
style="FONT-SIZE: 10pt; COLOR: green; FONT-FAMILY: " courier="" new?;=""
mso-font-kerning:="" 0pt?="">// </SPAN><SPAN
style="FONT-SIZE: 10pt; COLOR: green; FONT-FAMILY: 宋体; mso-ascii-font-family: ; mso-font-kerning: 0pt"
mso-hansi-font-family:="" courier="" new?;="" mso-bidi-font-family:=""
?courier="" new??="">配置如:</SPAN><SPAN lang=EN-US
style="FONT-SIZE: 10pt; COLOR: green; FONT-FAMILY: " courier="" new?;=""
mso-font-kerning:="" 0pt?="">webapps/admin.xml</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US
style="FONT-SIZE: 10pt; COLOR: green; FONT-FAMILY: " courier="" new?;=""
mso-font-kerning:="" 0pt?=""></SPAN><SPAN lang=EN-US
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: " courier="" new?;=""
mso-font-kerning:="" 0pt?="">deployWARs(appBase, files);<SPAN
style="mso-spacerun: yes">
</SPAN></SPAN><SPAN lang=EN-US
style="FONT-SIZE: 10pt; COLOR: green; FONT-FAMILY: " courier="" new?;=""
mso-font-kerning:="" 0pt?="">// </SPAN><SPAN
style="FONT-SIZE: 10pt; COLOR: green; FONT-FAMILY: 宋体; mso-ascii-font-family: ; mso-font-kerning: 0pt"
mso-hansi-font-family:="" courier="" new?;="" mso-bidi-font-family:=""
?courier="" new??="">配置</SPAN><SPAN lang=EN-US
style="FONT-SIZE: 10pt; COLOR: green; FONT-FAMILY: " courier="" new?;=""
mso-font-kerning:="" 0pt?=""> *.war</SPAN><SPAN
style="FONT-SIZE: 10pt; COLOR: green; FONT-FAMILY: 宋体; mso-ascii-font-family: ; mso-font-kerning: 0pt"
mso-hansi-font-family:="" courier="" new?;="" mso-bidi-font-family:=""
?courier="" new??="">文件</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN
style="FONT-SIZE: 10pt; COLOR: green; FONT-FAMILY: 宋体; mso-ascii-font-family: ; mso-font-kerning: 0pt"
mso-hansi-font-family:="" courier="" new?;="" mso-bidi-font-family:=""
?courier="" new??=""></SPAN><SPAN lang=EN-US
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: " courier="" new?;=""
mso-font-kerning:="" 0pt?="">deployDirectories(appBase, files);<SPAN
style="mso-spacerun: yes"> </SPAN></SPAN><SPAN lang=EN-US
style="FONT-SIZE: 10pt; COLOR: green; FONT-FAMILY: " courier="" new?;=""
mso-font-kerning:="" 0pt?="">//</SPAN><SPAN
style="FONT-SIZE: 10pt; COLOR: green; FONT-FAMILY: 宋体; mso-ascii-font-family: ; mso-font-kerning: 0pt"
mso-hansi-font-family:="" courier="" new?;="" mso-bidi-font-family:=""
?courier="" new??="">配置</SPAN><SPAN lang=EN-US
style="FONT-SIZE: 10pt; COLOR: green; FONT-FAMILY: " courier="" new?;=""
mso-font-kerning:="" 0pt?="">webapps</SPAN><SPAN
style="FONT-SIZE: 10pt; COLOR: green; FONT-FAMILY: 宋体; mso-ascii-font-family: ; mso-font-kerning: 0pt"
mso-hansi-font-family:="" courier="" new?;="" mso-bidi-font-family:=""
?courier="" new??="">里面的内容</SPAN><SPAN lang=EN-US
style="FONT-SIZE: 10pt; COLOR: green; FONT-FAMILY: " courier="" new?;=""
mso-font-kerning:="" 0pt?="">,</SPAN><SPAN
style="FONT-SIZE: 10pt; COLOR: green; FONT-FAMILY: 宋体; mso-ascii-font-family: ; mso-font-kerning: 0pt"
mso-hansi-font-family:="" courier="" new?;="" mso-bidi-font-family:=""
?courier="" new??="">如:</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN
style="FONT-SIZE: 10pt; COLOR: green; FONT-FAMILY: 宋体; mso-ascii-font-family: ; mso-font-kerning: 0pt"
mso-hansi-font-family:="" courier="" new?;="" mso-bidi-font-family:=""
?courier=""
new??="">
</SPAN><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: green; FONT-FAMILY: "
courier="" new?;="" mso-font-kerning:="" 0pt?="">//quickstart</SPAN><SPAN
lang=EN-US style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: " courier=""
new?;="" mso-font-kerning:="" 0pt?=""></SPAN> </P>
<P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><B
style="mso-bidi-font-weight: normal"><SPAN lang=EN-US
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: " courier="" new?;=""
mso-font-kerning:="" 0pt?="">org.apache.catalina.startup.</SPAN></B><B
style="mso-bidi-font-weight: normal"><SPAN lang=EN-US
style="FONT-SIZE: 10pt; BACKGROUND: white; COLOR: blue; FONT-FAMILY: "
courier="" new?;="" mso-font-kerning:="" 0pt;="" mso-highlight:=""
white?="">ContextConfig</SPAN></B><SPAN lang=EN-US
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: " courier="" new?;=""
mso-font-kerning:="" 0pt?="">:Startup event listener for a Context that
configures the properties of that Context, and the associated defined
servlets.</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: " courier="" new?;=""
mso-font-kerning:="" 0pt?=""></SPAN><SPAN
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 宋体; mso-ascii-font-family: ; mso-font-kerning: 0pt"
mso-hansi-font-family:="" courier="" new?;="" mso-bidi-font-family:=""
?courier="" new??="">配置</SPAN><SPAN lang=EN-US
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: " courier="" new?;=""
mso-font-kerning:="" 0pt?="">context</SPAN><SPAN
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 宋体; mso-ascii-font-family: ; mso-font-kerning: 0pt"
mso-hansi-font-family:="" courier="" new?;="" mso-bidi-font-family:=""
?courier="" new??="">。</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 宋体; mso-ascii-font-family: ; mso-font-kerning: 0pt"
mso-hansi-font-family:="" courier="" new?;="" mso-bidi-font-family:=""
?courier="" new??=""></SPAN><SPAN
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 宋体; mso-ascii-font-family: ; mso-font-kerning: 0pt"
mso-hansi-font-family:="" courier="" new?;="" mso-bidi-font-family:=""
?courier="" new??="">主要方法有:</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 宋体; mso-ascii-font-family: ; mso-font-kerning: 0pt"
mso-hansi-font-family:="" courier="" new?;="" mso-bidi-font-family:=""
?courier="" new??=""></SPAN><SPAN lang=EN-US
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: " courier="" new?;=""
mso-font-kerning:="" 0pt?="">defaultConfig();<SPAN
style="mso-spacerun: yes">
</SPAN></SPAN><SPAN lang=EN-US
style="FONT-SIZE: 10pt; COLOR: green; FONT-FAMILY: " courier="" new?;=""
mso-font-kerning:="" 0pt?="">// </SPAN><SPAN
style="FONT-SIZE: 10pt; COLOR: green; FONT-FAMILY: 宋体; mso-ascii-font-family: ; mso-font-kerning: 0pt"
mso-hansi-font-family:="" courier="" new?;="" mso-bidi-font-family:=""
?courier="" new??="">配置</SPAN><SPAN lang=EN-US
style="FONT-SIZE: 10pt; COLOR: green; FONT-FAMILY: " courier="" new?;=""
mso-font-kerning:="" 0pt?="">catalina_home/conf/web.xml</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US
style="FONT-SIZE: 10pt; COLOR: green; FONT-FAMILY: " courier="" new?;=""
mso-font-kerning:="" 0pt?=""></SPAN><SPAN lang=EN-US
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: " courier="" new?;=""
mso-font-kerning:="" 0pt?="">applicationConfig();<SPAN
style="mso-spacerun: yes">
</SPAN></SPAN><SPAN lang=EN-US
style="FONT-SIZE: 10pt; COLOR: green; FONT-FAMILY: " courier="" new?;=""
mso-font-kerning:="" 0pt?="">// </SPAN><SPAN
style="FONT-SIZE: 10pt; COLOR: green; FONT-FAMILY: 宋体; mso-ascii-font-family: ; mso-font-kerning: 0pt"
mso-hansi-font-family:="" courier="" new?;="" mso-bidi-font-family:=""
?courier="" new??="">配置</SPAN><SPAN lang=EN-US
style="FONT-SIZE: 10pt; COLOR: green; FONT-FAMILY: " courier="" new?;=""
mso-font-kerning:="" 0pt?="">web-inf/web.xml</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US
style="FONT-SIZE: 10pt; COLOR: green; FONT-FAMILY: " courier="" new?;=""
mso-font-kerning:="" 0pt?=""></SPAN><SPAN lang=EN-US
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: " courier="" new?;=""
mso-font-kerning:="" 0pt?="">certificatesConfig();</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: " courier="" new?;=""
mso-font-kerning:="" 0pt?=""></SPAN><SPAN lang=EN-US
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: " courier="" new?;=""
mso-font-kerning:="" 0pt?="">authenticatorConfig();</SPAN></P>
<P></P>
<P class=diaryFoot>- 作者: <A
onclick="window.open('http://publishblog.blogdriver.com/blog/postMessage.b?receiver=517836','发送短消息','width=520, height=455')"
href="javascript:void(0);">rosonsandy</A> 2005年08月8日, 星期一 16:13 </P></DIV>
<DIV class=operation><A name=trackback>
<H3>Trackback</H3></A>
<P class=trackback>你可以使用这个链接引用该篇日志
http://publishblog.blogdriver.com/blog/tb.b?diaryID=879907 </P></DIV>
<DIV class=operation><A name=comment>
<H3>回复</H3></A></DIV>
<DIV class=operation>
<TABLE class=comment cellSpacing=0 cellPadding=0 width=700 border=0>
<FORM id=replyForm method=post><INPUT type=hidden value=356891 name=blogID>
<INPUT type=hidden value=879907 name=diaryID> <INPUT type=hidden
value=rosonsandy name=blogDomino>
<SCRIPT>
if(getCookie('userID') == null){
document.write('<tr><td width="70">发布人:</td>');
document.write('<td width="150"> <input name="remark.authorNameFUI" type="text" size="20" class="inputStyle" maxlength="20"></td>');
document.write('<td width="70">邮箱:</td>');
document.write('<td width="435"> <input name="remark.authorEmail" type="text" size="20" class="inputStyle" maxlength="40"></td>');
document.write('</tr><tr><td>主 页:</td>');
document.write('<td colspan="3"> <input name="remark.authorURL" type="text" class="inputStyle" value="HTTP://" size="63" maxlength="40"></td></tr>');
}else{
document.write('<input type="hidden" name="remark.authorNameFUI" value="Blogdriver">');
}
</SCRIPT>
<TBODY>
<TR align=left>
<TD colSpan=4>评论内容:<BR><TEXTAREA class=textStyle id=remark name=remark.remarkFUI rows=8 cols=60> </TEXTAREA>
</TD></TR>
<TR align=left>
<TD colSpan=4> <INPUT onclick=reply() type=button value=提交>
<INPUT type=reset value=重置> </TD></TR></FORM></TBODY></TABLE></DIV></DIV>
<SCRIPT src="" type=text/javascript></SCRIPT>
<DIV id=footer><A href="http://www.blogdriver.com/jsp/reg/register.jsp"><IMG
class=logo src="LifecycleListener in Tomcat--rosonsandy.files/logo3.gif"
border=0></A><A href="http://www.blogdriver.com/">2003-2004 BLOGDRIVER.COM All
rights reserved</A></DIV></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -