??xml version="1.0" encoding="utf-8" standalone="yes"?>www在线免费观看,男人的天堂久久精品,一个人看的www一区http://www.aygfsteel.com/willpower88/category/30791.html对JAVA有点理解了…?/description>zh-cnTue, 14 May 2013 05:07:39 GMTTue, 14 May 2013 05:07:39 GMT60一些可以查询IP地理位置、n份证所在地、手机归属地的接?/title><link>http://www.aygfsteel.com/willpower88/archive/2013/05/14/399255.html</link><dc:creator>一?/dc:creator><author>一?/author><pubDate>Tue, 14 May 2013 04:10:00 GMT</pubDate><guid>http://www.aygfsteel.com/willpower88/archive/2013/05/14/399255.html</guid><wfw:comment>http://www.aygfsteel.com/willpower88/comments/399255.html</wfw:comment><comments>http://www.aygfsteel.com/willpower88/archive/2013/05/14/399255.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/willpower88/comments/commentRss/399255.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/willpower88/services/trackbacks/399255.html</trackback:ping><description><![CDATA[摘自Q?a >http://www.oschina.net/code/snippet_1030827_21294</a><br /> <div style="background-color:#eeeeee;font-size:13px;border:1px solid #CCCCCC;padding-right: 5px;padding-bottom: 4px;padding-left: 4px;padding-top: 4px;width: 98%;word-break:break-all"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />--><?php<br /><span style="color: #008000; ">/*</span><span style="color: #008000; "><br />新浪的IP查询接口Q?br />新浪的:http://counter.sina.com.cn/ip?ip=IP地址<br />q回Js数据Q感觉不是很_Q可以把问号后面的去掉,直接q回本机对应的IP所在地<br /><br />有道的IP查询接口Q?br />q回XML数据Qhttp://www.yodao.com/smartresult-xml/search.s?type=ip&q=0.0.0.0<br />q回JSON数据Qhttp://www.yodao.com/smartresult-xml/search.s?jsFlag=true&type=ip&q=0.0.0.0<br />?.0.0.0换成需查询的IP地址卛_Q这个应该是用纯真的数据?br /><br />太^z电脑网IP查询接口Q?br />http://whois.pconline.com.cn/?ip=0.0.0.0<br />?.0.0.0换成IP地址Q页面上q有其他无关内容Q这些内Ҏ告诉我们哪些接口可以调用、接口调用参数和使用Ҏ{?br /><br />查询手机L归属地接口:<br />q回XML数据Qhttp://www.youdao.com/smartresult-xml/search.s?type=mobile&q=13888880000<br />q回JSON数据Qhttp://www.youdao.com/smartresult-xml/search.s?jsFlag=true&type=mobile&q=13888880000<br /><br />w䆾证查询接口:<br />q回XML数据Qhttp://www.youdao.com/smartresult-xml/search.s?type=id&q=w䆾证号<br />q回JSON数据Qhttp://www.youdao.com/smartresult-xml/search.s?jsFlag=true&type=id&q=w䆾证号<br /></span><span style="color: #008000; ">*/</span><br /><span style="color: #0000FF; ">echo</span> <span style="color: #008080; ">file_get_contents</span>("接口|址和参?);<br />?></div><img src ="http://www.aygfsteel.com/willpower88/aggbug/399255.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/willpower88/" target="_blank">一?/a> 2013-05-14 12:10 <a href="http://www.aygfsteel.com/willpower88/archive/2013/05/14/399255.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>eXtremeComponents 表配|?/title><link>http://www.aygfsteel.com/willpower88/archive/2008/11/11/239823.html</link><dc:creator>一?/dc:creator><author>一?/author><pubDate>Tue, 11 Nov 2008 03:20:00 GMT</pubDate><guid>http://www.aygfsteel.com/willpower88/archive/2008/11/11/239823.html</guid><wfw:comment>http://www.aygfsteel.com/willpower88/comments/239823.html</wfw:comment><comments>http://www.aygfsteel.com/willpower88/archive/2008/11/11/239823.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/willpower88/comments/commentRss/239823.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/willpower88/services/trackbacks/239823.html</trackback:ping><description><![CDATA[<br /> <p>转自Qhttp://mhbjava.javaeye.com/blog/26591</p> <p>1.<br /> <ec:table <br /> items="presidents" <br /> var="pres" <br /> imagePath="${pageContext.request.contextPath}/images/*.gif" <br /> action="${pageContext.request.contextPath}/presidents.run" <br /> filterable="false"  <br /> sortable="false"  >  <br /> ...<br /> </ec:table></p> <p><ec:table>里的属性还?<br /> a.   rowsDisplayed,rowsDisplayed也可以在extremecomponents.properties文g中设?br /> b.   showPagination ,如果你想在一中昄所有行Q只需要设|showPagination为false?br /> c.   TableTag兌了很多样式属性:</p> <p> <ec:table  cellspacing="0"  cellpadding="0"  border="0"  width="80%"   styleClass=""  /><br />  所有这些都是可选的?/p> <p><br /> 2.<br /> 使用highlightRow属性可以设|行的高亮显C,它的gؓtrue或falseQ默认gؓfalse?/p> <p><ec:table  items="presidents"  var="pres"  action="${pageContext.request.contextPath}/presidents.run"  >  <br />  <ec:row highlightRow="true">    <br />   <ec:column property="name"/>   <br />   <ec:column property="term"/> <br />  </ec:row><br /> </ec:table><br /> 讄highlightRow属性后Q它插入设|行csscȝjavascript脚本Q默认的css cMؓhighlight。你可以使用highlightClass来用定制的csscR?/p> <p>3.<br /> Z便于你对于行数据q行动态交互处理,提供了onclick、onmouseover?onmouseout属性?/p> <p><ec:row  onclick=""  onmouseover=""  onmouseout=""  /></p> <p><br /> 4.<br /> RowTag兌了很多样式属性:</p> <p><ec:row   styleClass=""  highlightClass=""  /></p> <p><br /> 5.</p> <p>提供可选取值方法的主要原因是你能够对其他cd的html标签提供动作支持Q例如显C?一q图片或者通过定义href使该列成为到其它늚一个链接?/p> <p><ec:table  items="presidents"  var="pres"  action="${pageContext.request.contextPath}/presidents.run"  > <br />  <ec:row>    <br />   <ec:column property="lastName">      <br />   <a href="<a >${pageScope.pres.lastName}</a</a>>   <br />   </ec:column> <br />  </ec:row><br /> </ec:table></p> <p><br /> 6?br /> <ec:column property="time" title="旉" parse="yyyy-MM-dd" format="yyyyqMM月dd? cell="date"/></p> <p><br /> 7?br /> TableTag 中有filterable和sortable属性,ColumnTag中也有相同的属性? 列的filterable和sortable属性将覆盖表的filterable和sortable属性设|。当你需要除了对表中的一、两列之外的 所有列q行qo和排序时Q十分便利?/p> <p><ec:table  items="presidents"  action="${pageContext.request.contextPath}/presidents.run"  ><br />  <ec:row>    <br />   <ec:column property="firstName" filterable="false"/>  <br />   <ec:column property="lastName" sortable="false"/> <br />  </ec:row><br /> </ec:table></p> <p><br /> 8。视N题:</p> <p>viewsAllowed 属性制定类允许使用的视图。视囑֌括:html、pdf、xls、csvQ以及Q何定制的视图? 如果你指定一个或几个视图Q那么列仅能使用q些指定的视图。例如:你指定viewsAllowed="pdf"Q这意味着 q列只允许PDF导出Q而不能进行其他格式的导出或html视图?/p> <p><ec:table  items="presidents"  action="${pageContext.request.contextPath}/presidents.run"  > <br />  <ec:row>   <br />   <ec:column property="firstName"/>  <br />   <ec:column property="lastName" viewsAllowed="pdf"/> <br />  </ec:row<br /> </ec:table><br /> viewsDenied 属性制定类不允怋用的视图。视囑֌括:html、pdf、xls、csvQ以及Q何定制的视图? 如果你指定一个或几个视图Q那么列仅这些指定的视图不能被用。例如:你指定viewsDenied="html"Q这意味着 q列不允怋用html试图Q但能进行Q何Ş式的导出?/p> <p><ec:table  items="presidents"  action="${pageContext.request.contextPath}/presidents.run"  ><br />  <ec:row>  <br />   <ec:column property="firstName"/>  <br />   <ec:column property="lastName" viewsDenied="html"/> <br />  </ec:row><br /> </ec:table></p> <p><br /> 9。ParameterTag</p> <p>eXtremeTable 能够指定是否处理所有的参数。默认ؓ处理所有的参数Q这意味着当你q行 qo、排序、分|Q所有的参数都被eXtremeTable保存q传到JSP中。通常q是你需要的功能Q? 然而,有时候你需要只允许一些特定的参数保存到eXtremeTable中。我喜欢把它看作锁定extremeTableQ? 可以通过讄表的autoIncludeParameters属性gؓfalse来到辄的:</p> <p><ec:table  items="presidents"  action="${pageContext.request.contextPath}/presidents.run"  autoIncludeParameters=”false”  >  <br /> ...<br /> </ec:table><br /> 甚至当表被锁定时Q你仍然可以通过单地使用parameter标签来包含一些你想用的参数。下?包含了foo参数Q?/p> <p><ec:table  items="presidents"  action="${pageContext.request.contextPath}/presidents.run"  autoIncludeParameters=”false”  > <br />  <ec:parameter name=”foo” value=”${param.foo}”/> <br />  ...<br /> </ec:table><br /> 现在所有的eXtremeTable参数都被锁定。但qo、排序和页Ӟfoo参数仍将被传递?/p> <p><br /> 10. .propeties取代</p> <p>Z替代编码eXtremeTable使用的默认属性|我在属性文件中配置所有用到的属性?如果你需要覆盖Q何默认的讄Q你可以创徏自己的extremecomponents.properties文g q设|你x变的倹{?/p> <p>Z讄属性文Ӟ你应该如下例所C在/WEB-INF/web.xml文g中声明一个context-paramQƈ 指定你的属性文件的路径Q?/p> <p><context-param>  <param-name>extremecomponentsPreferencesLocation</param-name>  <param-value>/org/extremesite/resource/extremecomponents.properties</param-value></context-param><br /> 你可以认为属性文件ؓ你提供了一个对所有的eXtremeTables声明全局讄的一个方法?创徏属性文件的最大好处就是避免在标签中复制、粘贴相同的属性。典型的extremecomponents.properties文g如下所C:</p> <p>table.imagePath=/extremesite/images/*.gif<br /> table.rowsDisplayed=12<br /> column.parse.date=yyyy-MM-dd<br /> column.format.date=MM/dd/yyyy<br /> column.format.currency=$###,###,##0.00</p> <p>在属性文件定义的TableTag使用最多的两个属性是QimagePath和rowsDisplayed。如果你不在属性文件中声明 q些属性,你需要在每个eXtremeTable中添加他们。典型的表如下所C:</p> <p><ec:table  items="presidents"  action="${pageContext.request.contextPath}/presidents.run"  imagePath="${pageContext.request.contextPath}/images/*.gif"  rowsDisplayed="12"  title="Presidents"  >  ...</ec:table><br /> 如果在属性文件声明imagePath和rowsDisplayedQ则表如下所C:</p> <p><ec:table  items="presidents"  action="${pageContext.request.contextPath}/presidents.run"  title="Presidents"  >  ...</ec:table><br /> 正如你所见,属性文仉免了重复~码?/p> <p><br /> 在属性文件定义的ColumnTag使用最多的两个属性是Qparse和format。如果你不在属性文件中声明 q些属性,你需要在每个eXtremeTable中添加他们。典型的列用日期cell如下所C: </p> <p><ec:column property="dateOfBirth" cell=”date” parse=”yyyy-MM-dd” format=”MM/dd/yyyy”/> <br /> 如果在属性文件声明parse和formatQ则列如下所C:</p> <p><ec:column property="dateOfBirth" cell=”date”/> <br /> 当然你仍然可以定义parse和format属性来覆盖全局讄Q但是大多数工程对于日期使用一致的parse 和format。需要注意属性文件中parse.date和format.date的声明语法?/p> <p>下例Z用货币cell的典型列Q?/p> <p><ec:column property="salary" cell=”currency” format=”$###,###,##0.00”/> <br /> 如果在属性文件声明formatQ则列如下所C:</p> <p><ec:column property="salary" cell=”currency”/> <br /> 另外Q你可以声明一个定制的formatq在列中通过使用列的basis来用它Q我把这惌为named属性。因此如果你?extremecomponents.properties文g如下所C:</p> <p>table.format.myCustomDate=yy-MM-dd<br /> 那么列可以如下用定制的formatQ?/p> <p><ec:column property="dateOfBirth" cell="date" format=”myCustomDate”></p> <p>11。ExportTag</p> <p>eXtremeTable h导出不同格式文g的功能,导出的数据ؓqo和排序后的所有结果集Q? 分页不会影响q回的结果集。换句话_如果表数据分多页昄Q那么所有页的数据都被导出?导出的格式ؓMicrosoft Excel (OpenOffice Calc)、PDF和CSV?/p> <p>使用ExportXlsTag导出Microsoft Excel (OpenOffice Calc)Q?/p> <p><ec:table  items="presidents"  action="${pageContext.request.contextPath}/presidents.run"  /> <br />  <ec:exportXls    fileName="presidents.xls"    tooltip="Export Excel"/> <br />  ...<br /> </ec:table><br /> 使用ExportPdfTag导出PDF。所有要做的是指定fileName属性和一些样式属性:</p> <p><ec:table  items="presidents"  action="${pageContext.request.contextPath}/presidents.run"  /><br />  <ec:exportPdf    fileName="presidents.pdf"    tooltip="Export PDF"    headerColor="blue"    headerBackgroundColor="red"    headerTitle="Presidents"/>  ...<br /> </ec:table><br /> 使用ExportCsvTag导出CSV。当使用CSV导出是默认的分隔Wؓ‘,’(comma)。你可以使用 delimiter属性来指定为其他的W号。下面ؓ指定‘|’QpipeQؓCSV分隔W的CZQ?/p> <p><ec:table  items="presidents"  action="${pageContext.request.contextPath}/presidents.run"  />  <br />  <ec:exportCsv    fileName="presidents.txt"    tooltip="Export CSV"    delimiter="|"/> <br />  ...<br /> </ec:table></p> <img src ="http://www.aygfsteel.com/willpower88/aggbug/239823.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/willpower88/" target="_blank">一?/a> 2008-11-11 11:20 <a href="http://www.aygfsteel.com/willpower88/archive/2008/11/11/239823.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>JAVA-用HttpClient来模拟浏览器GET,POST http://www.aygfsteel.com/willpower88/archive/2008/04/14/192679.html一?/dc:creator>一?/author>Mon, 14 Apr 2008 02:35:00 GMThttp://www.aygfsteel.com/willpower88/archive/2008/04/14/192679.htmlhttp://www.aygfsteel.com/willpower88/comments/192679.htmlhttp://www.aygfsteel.com/willpower88/archive/2008/04/14/192679.html#Feedback0http://www.aygfsteel.com/willpower88/comments/commentRss/192679.htmlhttp://www.aygfsteel.com/willpower88/services/trackbacks/192679.html阅读全文

]]>
վ֩ģ壺 | Դ| | | | ɽ| | | ƽ| | | żҽ| | μ| | | Ǭ| | | | ԭ| ʹ| ղ| ̫| | ƽ| | ʵ| | | | | | | | ԰| | | | Ӣ| |