⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 [dwr文档] web-inf 参考 - flyingis - blogjava.mht

📁 几个运用了DWR框架编写的AJAX代码,
💻 MHT
📖 第 1 页 / 共 5 页
字号:
            these cases logging will be controlled by the config files =
of either=20
            <A=20
            =
href=3D"http://java.sun.com/j2se/1.4.2/docs/guide/util/logging/overview.h=
tml"><SPAN=20
            style=3D"COLOR: blue"><FONT=20
            color=3D#000080>java.util.logging</FONT></SPAN></A> or <A=20
            =
href=3D"http://logging.apache.org/log4j/docs/documentation.html"><SPAN=20
            style=3D"COLOR: blue"><FONT =
color=3D#000080>log4j</FONT></SPAN></A>. See=20
            the respective documentation for more details. </P>
            <P=20
            style=3D"FONT-SIZE: 10pt; MARGIN: 0in; FONT-FAMILY: Verdana; =
mso-outline-level: 1">&nbsp;</P>
            <P style=3D"FONT-SIZE: 10pt; MARGIN: 0in; mso-outline-level: =
1"><FONT=20
            face=3DVerdana><SPAN lang=3DZH-CN=20
            style=3D"FONT-FAMILY: =
SimSun">=E5=9C=A8=E4=B8=80=E4=BA=9B=E6=83=85=E5=86=B5=E4=B8=8B=EF=BC=8C=E6=
=97=A5=E5=BF=97=E5=B0=86=E4=BD=BF=E7=94=A8</SPAN> <SPAN lang=3DEN-US=20
            style=3D"FONT-FAMILY: Verdana">java.util.logging</SPAN> =
<SPAN=20
            lang=3DZH-CN style=3D"FONT-FAMILY: SimSun">=E6=88=96</SPAN> =
<SPAN lang=3DEN-US=20
            style=3D"FONT-FAMILY: Verdana">log4j</SPAN> <SPAN =
lang=3DZH-CN=20
            style=3D"FONT-FAMILY: =
SimSun">=E7=9A=84=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6=E6=9D=A5=E6=8E=A7=E5=
=88=B6=E3=80=82=E8=AF=B7=E5=8F=82=E8=80=83=E7=9B=B8=E5=85=B3=E7=9A=84=E8=AF=
=A6=E7=BB=86=E6=96=87=E6=A1=A3=E3=80=82</SPAN> </FONT></P>
            <P=20
            style=3D"FONT-SIZE: 10pt; MARGIN: 0in; FONT-FAMILY: Verdana; =
mso-outline-level: 1">&nbsp;</P>
            <P lang=3DEN-US=20
            style=3D"FONT-WEIGHT: bold; FONT-SIZE: 10pt; MARGIN: 0in; =
FONT-FAMILY: Verdana; mso-outline-level: 1">HttpServlet.log()</P>
            <P=20
            style=3D"FONT-SIZE: 10pt; MARGIN: 0in; FONT-FAMILY: Verdana; =
mso-outline-level: 1">&nbsp;</P>
            <P=20
            style=3D"FONT-SIZE: 10pt; MARGIN: 0in; FONT-FAMILY: Verdana; =
mso-outline-level: 1">If=20
            you are using HttpServlet.log(), the following stanza =
controls DWR=20
            logging: </P>
            <P=20
            style=3D"FONT-SIZE: 10pt; MARGIN: 0in; FONT-FAMILY: Verdana; =
mso-outline-level: 1">&nbsp;</P>
            <P style=3D"FONT-SIZE: 10pt; MARGIN: 0in; mso-outline-level: =
1"><FONT=20
            face=3DVerdana><SPAN lang=3DZH-CN=20
            style=3D"FONT-FAMILY: =
SimSun">=E5=A6=82=E6=9E=9C=E4=BD=A0=E4=BD=BF=E7=94=A8</SPAN> <SPAN =
lang=3DEN-US=20
            style=3D"FONT-FAMILY: Verdana">HttpServlet.log()</SPAN> =
<SPAN=20
            lang=3DZH-CN style=3D"FONT-FAMILY: =
SimSun">=EF=BC=8C=E4=B8=8B=E9=9D=A2=E7=9A=84=E4=BB=A3=E7=A0=81=E4=BC=9A=E6=
=8E=A7=E5=88=B6</SPAN> <SPAN=20
            lang=3DEN-US style=3D"FONT-FAMILY: Verdana">DWR</SPAN> <SPAN =
lang=3DZH-CN=20
            style=3D"FONT-FAMILY: =
SimSun">=E6=97=A5=E5=BF=97=E7=9A=84=E8=AE=B0=E5=BD=95=E6=96=B9=E5=BC=8F=E3=
=80=82</SPAN> </FONT></P>
            <P=20
            style=3D"FONT-SIZE: 10pt; MARGIN: 0in; FONT-FAMILY: Verdana; =
mso-outline-level: 1">&nbsp;</P>
            <DIV=20
            style=3D"BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: =
5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; =
PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; =
WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px =
solid; BACKGROUND-COLOR: #eeeeee"><FONT=20
            face=3DVerdana><IMG=20
            =
src=3D"http://www.blogjava.net/Images/OutliningIndicators/None.gif"=20
            align=3Dtop> <SPAN style=3D"COLOR: #0000ff">&lt;</SPAN> =
<SPAN=20
            style=3D"COLOR: #800000">init-param</SPAN> <SPAN=20
            style=3D"COLOR: #0000ff">&gt;</SPAN> </FONT><SPAN=20
            style=3D"COLOR: #000000"><BR><FONT face=3DVerdana><IMG=20
            =
src=3D"http://www.blogjava.net/Images/OutliningIndicators/None.gif"=20
            align=3Dtop> </FONT></SPAN><FONT face=3DVerdana><SPAN=20
            style=3D"COLOR: #0000ff">&lt;</SPAN> <SPAN=20
            style=3D"COLOR: #800000">param-name</SPAN> <SPAN=20
            style=3D"COLOR: #0000ff">&gt;</SPAN> <SPAN=20
            style=3D"COLOR: #000000">logLevel</SPAN> <SPAN=20
            style=3D"COLOR: #0000ff">&lt;/</SPAN> <SPAN=20
            style=3D"COLOR: #800000">param-name</SPAN> <SPAN=20
            style=3D"COLOR: #0000ff">&gt;</SPAN> </FONT><SPAN=20
            style=3D"COLOR: #000000"><BR><FONT face=3DVerdana><IMG=20
            =
src=3D"http://www.blogjava.net/Images/OutliningIndicators/None.gif"=20
            align=3Dtop> </FONT></SPAN><FONT face=3DVerdana><SPAN=20
            style=3D"COLOR: #0000ff">&lt;</SPAN> <SPAN=20
            style=3D"COLOR: #800000">param-value</SPAN> <SPAN=20
            style=3D"COLOR: #0000ff">&gt;</SPAN> <SPAN=20
            style=3D"COLOR: #000000">DEBUG</SPAN> <SPAN=20
            style=3D"COLOR: #0000ff">&lt;/</SPAN> <SPAN=20
            style=3D"COLOR: #800000">param-value</SPAN> <SPAN=20
            style=3D"COLOR: #0000ff">&gt;</SPAN> </FONT><SPAN=20
            style=3D"COLOR: #000000"><BR><FONT face=3DVerdana><IMG=20
            =
src=3D"http://www.blogjava.net/Images/OutliningIndicators/None.gif"=20
            align=3Dtop> </FONT></SPAN><FONT face=3DVerdana><SPAN=20
            style=3D"COLOR: #0000ff">&lt;/</SPAN> <SPAN=20
            style=3D"COLOR: #800000">init-param</SPAN> <SPAN=20
            style=3D"COLOR: #0000ff">&gt;</SPAN> </FONT></DIV>
            <P=20
            style=3D"FONT-SIZE: 10pt; MARGIN: 0in; FONT-FAMILY: Verdana; =
mso-outline-level: 1">&nbsp;</P><FONT=20
            size=3D2></FONT>
            <P=20
            style=3D"FONT-SIZE: 10pt; MARGIN: 0in; FONT-FAMILY: Verdana; =
mso-outline-level: 1">The=20
            valid values are: FATAL, ERROR, WARN (the default), INFO and =
DEBUG.=20
            </P>
            <P=20
            style=3D"FONT-SIZE: 10pt; MARGIN: 0in; FONT-FAMILY: SimSun; =
mso-outline-level: 1"><FONT=20
            face=3DVerdana></FONT>&nbsp;</P>
            <P style=3D"FONT-SIZE: 10pt; MARGIN: 0in; mso-outline-level: =
1"><FONT=20
            face=3DVerdana><SPAN lang=3DZH-CN=20
            style=3D"FONT-FAMILY: =
SimSun">=E6=9C=89=E6=95=88=E7=9A=84=E5=8F=96=E5=80=BC=E4=B8=BA=EF=BC=9A</=
SPAN> <SPAN lang=3DEN-US=20
            style=3D"FONT-FAMILY: Verdana">FATAL</SPAN> <SPAN =
lang=3DZH-CN=20
            style=3D"FONT-FAMILY: SimSun">=E3=80=81</SPAN> <SPAN =
lang=3DEN-US=20
            style=3D"FONT-FAMILY: Verdana">ERROR</SPAN> <SPAN =
lang=3DZH-CN=20
            style=3D"FONT-FAMILY: SimSun">=E3=80=81</SPAN> <SPAN =
lang=3DEN-US=20
            style=3D"FONT-FAMILY: Verdana">WARN(</SPAN> <SPAN =
lang=3DZH-CN=20
            style=3D"FONT-FAMILY: SimSun">=E9=BB=98=E8=AE=A4</SPAN> =
<SPAN lang=3DEN-US=20
            style=3D"FONT-FAMILY: Verdana">)</SPAN> <SPAN lang=3DZH-CN=20
            style=3D"FONT-FAMILY: SimSun">=E3=80=81</SPAN> <SPAN =
lang=3DEN-US=20
            style=3D"FONT-FAMILY: Verdana">INFO</SPAN> <SPAN =
lang=3DZH-CN=20
            style=3D"FONT-FAMILY: SimSun">=E4=BB=A5=E5=8F=8A</SPAN> =
<SPAN lang=3DEN-US=20
            style=3D"FONT-FAMILY: Verdana">DEBUG</SPAN> <SPAN =
lang=3DZH-CN=20
            style=3D"FONT-FAMILY: SimSun">=E3=80=82</SPAN> </FONT></P>
            <P=20
            style=3D"FONT-SIZE: 10pt; MARGIN: 0in; FONT-FAMILY: SimSun; =
mso-outline-level: 1"><FONT=20
            face=3DVerdana></FONT>&nbsp;</P>
            <P lang=3DEN-US=20
            style=3D"FONT-WEIGHT: bold; FONT-SIZE: 12pt; MARGIN: 0in; =
FONT-FAMILY: Verdana; mso-outline-level: 1">Multiple=20
            dwr.xml files and J2EE security</P>
            <P=20
            style=3D"FONT-SIZE: 10pt; MARGIN: 0in; FONT-FAMILY: SimSun; =
mso-outline-level: 1"><FONT=20
            face=3DVerdana></FONT>&nbsp;</P>
            <P=20
            style=3D"FONT-SIZE: 10pt; MARGIN: 0in; FONT-FAMILY: Verdana; =
mso-outline-level: 1">Generally=20
            speaking you will only need one dwr.xml file and that will =
be in the=20
            default position: WEB-INF/dwr.xml. So you can leave this =
paramter=20
            out.</P>
            <P=20
            style=3D"FONT-SIZE: 10pt; MARGIN: 0in; FONT-FAMILY: Verdana; =
mso-outline-level: 1">There=20
            are 3 reasons why you might wish to specify a different =
position for=20
            dwr.xml:</P>
            <P=20
            style=3D"FONT-SIZE: 10pt; MARGIN: 0in; FONT-FAMILY: SimSun; =
mso-outline-level: 1"><FONT=20
            face=3DVerdana></FONT>&nbsp;</P>
            <P style=3D"FONT-SIZE: 10pt; MARGIN: 0in; mso-outline-level: =
1"><FONT=20
            face=3DVerdana><SPAN lang=3DZH-CN=20
            style=3D"FONT-FAMILY: =
SimSun">=E4=B8=80=E8=88=AC=E6=83=85=E5=86=B5=E4=B8=8B=EF=BC=8C=E4=BD=A0=E5=
=8F=AA=E9=9C=80=E8=A6=81=E4=B8=80=E4=B8=AA</SPAN> <SPAN lang=3DEN-US=20
            style=3D"FONT-FAMILY: Verdana">dwr.xml</SPAN> <SPAN =
lang=3DZH-CN=20
            style=3D"FONT-FAMILY: =
SimSun">=E6=96=87=E4=BB=B6=EF=BC=8C=E5=B9=B6=E4=B8=94=E4=BF=9D=E5=AD=98=E5=
=9C=A8=E9=BB=98=E8=AE=A4=E7=9A=84=E4=BD=8D=E7=BD=AE=EF=BC=9A</SPAN> =
<SPAN lang=3DEN-US=20
            style=3D"FONT-FAMILY: Verdana">WEB-INF/dwr.xml</SPAN> <SPAN =
lang=3DZH-CN=20
            style=3D"FONT-FAMILY: =
SimSun">=E3=80=82=E5=9B=A0=E6=AD=A4=E4=BD=A0=E5=8F=AF=E4=BB=A5=E4=B8=8D=E7=
=94=A8=E5=81=9A=E8=BF=87=E5=A4=9A=E7=9A=84=E8=80=83=E8=99=91=E3=80=82=E4=BD=
=86=E6=98=AF=EF=BC=8C=E6=9C=89=E4=B8=89=E4=B8=AA=E5=8E=9F=E5=9B=A0=E8=AE=A9=
=E4=BD=A0=E5=8F=AF=E8=83=BD=E5=B0=86</SPAN>=20
            <SPAN lang=3DEN-US style=3D"FONT-FAMILY: =
Verdana">dwr.xml</SPAN> <SPAN=20
            lang=3DZH-CN style=3D"FONT-FAMILY: =
SimSun">=E6=94=BE=E5=9C=A8=E5=85=B6=E5=AE=83=E7=9A=84=E4=BD=8D=E7=BD=AE=EF=
=BC=9A</SPAN> </FONT></P>
            <P=20
            style=3D"FONT-SIZE: 10pt; MARGIN: 0in; FONT-FAMILY: SimSun; =
mso-outline-level: 1"><FONT=20
            face=3DVerdana></FONT>&nbsp;</P>
            <P=20
            style=3D"FONT-SIZE: 10pt; MARGIN: 0in; FONT-FAMILY: Verdana; =
mso-outline-level: 1"><SPAN=20
            lang=3DEN-US>1.</SPAN> <SPAN lang=3DZH-CN>You wish to keep =
dwr.xml with=20
            the files that it gives access to. In which case the section =
might=20
            have a param-value something like=20
            =
&lt;param-value&gt;WEB-INF/classes/com/yourco/dwr/dwr.xml&lt;/param-value=
&gt;.</SPAN>=20
            </P>
            <P=20
            style=3D"FONT-SIZE: 10pt; MARGIN: 0in; FONT-FAMILY: SimSun; =
mso-outline-level: 1"><FONT=20
            face=3DVerdana></FONT>&nbsp;</P>
            <P style=3D"FONT-SIZE: 10pt; MARGIN: 0in; mso-outline-level: =
1"><SPAN=20
            lang=3DEN-US style=3D"FONT-FAMILY: Verdana">1.</SPAN> <FONT=20
            face=3DVerdana><SPAN lang=3DZH-CN=20
            style=3D"FONT-FAMILY: =
SimSun">=E4=BD=A0=E5=B8=8C=E6=9C=9B=E5=B0=86</SPAN> <SPAN lang=3DEN-US=20
            style=3D"FONT-FAMILY: Verdana">dwr.xml</SPAN> <SPAN =
lang=3DZH-CN=20
            style=3D"FONT-FAMILY: =
SimSun">=E6=94=BE=E5=9C=A8=E5=8F=AF=E4=BB=A5=E8=AE=BF=E9=97=AE=E7=9A=84=E5=
=9C=B0=E6=96=B9=E3=80=82=E8=BF=99=E7=A7=8D=E6=83=85=E5=86=B5=E4=B8=8B=E5=8F=
=AF=E8=83=BD=E4=BC=9A=E6=9C=89</SPAN> <SPAN=20
            lang=3DEN-US style=3D"FONT-FAMILY: =
Verdana">param-value</SPAN> <SPAN=20
            lang=3DZH-CN style=3D"FONT-FAMILY: =
SimSun">=E6=A0=87=E7=AD=BE=EF=BC=8C=E5=A6=82</SPAN> <SPAN lang=3DZH-CN=20
            style=3D"FONT-FAMILY: =
Verdana">&lt;param-value&gt;WEB-INF/classes/com/yourco/dwr/dwr.xml&lt;/pa=
ram-value&gt;</SPAN>=20
            <SPAN lang=3DZH-CN style=3D"FONT-FAMILY: =
SimSun">=E3=80=82</SPAN> </FONT></P>
            <P=20
            style=3D"FONT-SIZE: 10pt; MARGIN: 0in; FONT-FAMILY: SimSun; =
mso-outline-level: 1"><FONT=20
            face=3DVerdana></FONT>&nbsp;</P>
            <P=20
            style=3D"FONT-SIZE: 10pt; MARGIN: 0in; FONT-FAMILY: Verdana; =
mso-outline-level: 1"><SPAN=20
            lang=3DEN-US>2.</SPAN> <SPAN lang=3DZH-CN>You may have a =
large number of=20
            remoted classes and wish to keep the definitions in separate =
files.=20
            In this case you will have the section above repeated =
several times=20
            each with a different param-name that begins 'config' and =
each=20

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -