??xml version="1.0" encoding="utf-8" standalone="yes"?>最新在线观看av,亚洲欧美中文另类,国产精品极品国产中出http://www.aygfsteel.com/yinpan/category/47967.htmlJava,Flexzh-cnTue, 15 Sep 2015 13:16:46 GMTTue, 15 Sep 2015 13:16:46 GMT60powerDesigner错误http://www.aygfsteel.com/yinpan/archive/2015/09/08/427203.htmlyinpanyinpanTue, 08 Sep 2015 14:52:00 GMThttp://www.aygfsteel.com/yinpan/archive/2015/09/08/427203.htmlhttp://www.aygfsteel.com/yinpan/comments/427203.htmlhttp://www.aygfsteel.com/yinpan/archive/2015/09/08/427203.html#Feedback0http://www.aygfsteel.com/yinpan/comments/commentRss/427203.htmlhttp://www.aygfsteel.com/yinpan/services/trackbacks/427203.htmlpowerDesigner错误Q? [MySQL][MyODBC   05.00.0000][MySQL]   1146   Table   
'sys.sysuserperms'   doesn't   exist   
SQLSTATE   =   HY000   
新徏model的时候要选定和数据库cd相同的dbmsQ如MySQL5.0.
PowerDesigner中code不随name改变解决Ҏ 
1、选择Tools->GeneralOptions...菜单Q出现General Options对话框?nbsp;
2、从Category中选择DialogV?nbsp;
3、取消右Ҏ内的  “Name to Code mirroring”复选框?/div>


yinpan 2015-09-08 22:52 发表评论
]]>java判断字符串是否相{?/title><link>http://www.aygfsteel.com/yinpan/archive/2014/07/12/415733.html</link><dc:creator>yinpan</dc:creator><author>yinpan</author><pubDate>Sat, 12 Jul 2014 14:01:00 GMT</pubDate><guid>http://www.aygfsteel.com/yinpan/archive/2014/07/12/415733.html</guid><wfw:comment>http://www.aygfsteel.com/yinpan/comments/415733.html</wfw:comment><comments>http://www.aygfsteel.com/yinpan/archive/2014/07/12/415733.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/yinpan/comments/commentRss/415733.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/yinpan/services/trackbacks/415733.html</trackback:ping><description><![CDATA[在编E中Q通常比较两个字符串是否相{的表达式是“==”Q但在java里面不能q么写,在java中如果要比较a字符串是否等于b字符Ԍ需要这么写if(a.equals(b)){}q回true或false,String的equals()Ҏ用于比较两个字符串是否相{,׃字符串是对象cdQ所以不能简单用“==”判断两个字符串是否相{,而用equals()Ҏ比较两个对象的内容,equals()Ҏ比较的是对象的内容,区别字母的大写格式Q如果是“==”双等于号操作W比较两个对象时Q比较的是两个对象的内存地址Q所以他们不相等<img src ="http://www.aygfsteel.com/yinpan/aggbug/415733.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/yinpan/" target="_blank">yinpan</a> 2014-07-12 22:01 <a href="http://www.aygfsteel.com/yinpan/archive/2014/07/12/415733.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>java面向对象的特征有哪些斚whttp://www.aygfsteel.com/yinpan/archive/2014/07/12/415732.htmlyinpanyinpanSat, 12 Jul 2014 13:56:00 GMThttp://www.aygfsteel.com/yinpan/archive/2014/07/12/415732.htmlhttp://www.aygfsteel.com/yinpan/comments/415732.htmlhttp://www.aygfsteel.com/yinpan/archive/2014/07/12/415732.html#Feedback0http://www.aygfsteel.com/yinpan/comments/commentRss/415732.htmlhttp://www.aygfsteel.com/yinpan/services/trackbacks/415732.html2.l承Q对象的一个新cd以从现有的类中派生,新类l承了原始类的特性,新类成ؓ原始cȝzcL者子c,而原始类UCؓ基类或父c?br />3.装Q封装就是把q程和数据包围v来,把现实世界描l成一pd完全自治装的对象,q些对象通过一个受保护的接口访问其他对?br />4.多态:多态允怸同类的对象对同一消息作出响应Q多态性语ah灉|、共享的优势Q很好的解决了应用程序方法同名的问题

yinpan 2014-07-12 21:56 发表评论
]]>
context.xmlhttp://www.aygfsteel.com/yinpan/archive/2013/12/19/407785.htmlyinpanyinpanThu, 19 Dec 2013 11:50:00 GMThttp://www.aygfsteel.com/yinpan/archive/2013/12/19/407785.htmlhttp://www.aygfsteel.com/yinpan/comments/407785.htmlhttp://www.aygfsteel.com/yinpan/archive/2013/12/19/407785.html#Feedback0http://www.aygfsteel.com/yinpan/comments/commentRss/407785.htmlhttp://www.aygfsteel.com/yinpan/services/trackbacks/407785.htmljava.lang.ClassCastException: org.apache.catalina.util.DefaultAnnotationProcessor cannot be cast to org.apache.AnnotationProcessor
<Loader delegate="true" />

Set to true if you want the class loader to follow the standard Java2 delegation model, and attempt to load classes from parent class loaders before looking inside the web application. Set to false (the default) to have the class loader look inside the web application first, before asking parent class loaders to find requested classes or resources.



yinpan 2013-12-19 19:50 发表评论
]]>
用正则表辑ּ替换href?/title><link>http://www.aygfsteel.com/yinpan/archive/2013/11/22/406688.html</link><dc:creator>yinpan</dc:creator><author>yinpan</author><pubDate>Fri, 22 Nov 2013 09:14:00 GMT</pubDate><guid>http://www.aygfsteel.com/yinpan/archive/2013/11/22/406688.html</guid><wfw:comment>http://www.aygfsteel.com/yinpan/comments/406688.html</wfw:comment><comments>http://www.aygfsteel.com/yinpan/archive/2013/11/22/406688.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/yinpan/comments/commentRss/406688.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/yinpan/services/trackbacks/406688.html</trackback:ping><description><![CDATA[用正则表辑ּ替换href?先备份type="text/css" CSS样式<br />查找:<br /><code>\href="[^"]*"</code><br />替换为:<br /><code>href="#"</code><img src ="http://www.aygfsteel.com/yinpan/aggbug/406688.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/yinpan/" target="_blank">yinpan</a> 2013-11-22 17:14 <a href="http://www.aygfsteel.com/yinpan/archive/2013/11/22/406688.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>q程调试Tomcathttp://www.aygfsteel.com/yinpan/archive/2013/11/07/406108.htmlyinpanyinpanThu, 07 Nov 2013 07:54:00 GMThttp://www.aygfsteel.com/yinpan/archive/2013/11/07/406108.htmlhttp://www.aygfsteel.com/yinpan/comments/406108.htmlhttp://www.aygfsteel.com/yinpan/archive/2013/11/07/406108.html#Feedback0http://www.aygfsteel.com/yinpan/comments/commentRss/406108.htmlhttp://www.aygfsteel.com/yinpan/services/trackbacks/406108.htmlJPDA为Javaq_上的调试器定义了一个标准的体系l构。该体系l构包括3个主要组成部分:JVM TI、JDI和JDWP?br />JVM TI的全U是Java Virtual Machine Tool InterfaceQ它定义了JVMZ支持调试而必L供的功能及相应的讉K接口?br />JDI的全U是Java Debug InterfaceQ它定义了访问JVM TI接口的高层API
JDWP的全U是Java Debug Wire ProtocolQ它定义了JPDA front-end和JPDA back-end之间通讯信息的二q制格式?br />Tomcat的JPDA使用套接字传输,监听?000端口?br />catalina.bat jpda start

yinpan 2013-11-07 15:54 发表评论
]]>
java包装为windows后台服务http://www.aygfsteel.com/yinpan/archive/2013/11/07/406098.htmlyinpanyinpanThu, 07 Nov 2013 06:21:00 GMThttp://www.aygfsteel.com/yinpan/archive/2013/11/07/406098.htmlhttp://www.aygfsteel.com/yinpan/comments/406098.htmlhttp://www.aygfsteel.com/yinpan/archive/2013/11/07/406098.html#Feedback0http://www.aygfsteel.com/yinpan/comments/commentRss/406098.htmlhttp://www.aygfsteel.com/yinpan/services/trackbacks/406098.html1、Java Service Wrapper官网Q?a >http://wrapper.tanukisoftware.com/doc/english/download.jsp
http://wrapper.tanukisoftware.com/download/3.5.22/wrapper-windows-x86-32-3.5.22.zip
2、下载后文件解压,文g名我取成wrapper。然后自己再新徏一个文件夹Q命名ؓMonitorQ在Monitor新增四个文g夹,bin,conf,logs,lib?br />3、把wrapper下的src/bin/的App.bat.inQInstallApp-NT.bat.inQUninstallApp-NT.bat.in和bin/下的wrapper.exe都放在Monitor的bin下,?in后缀删除。【App.bat(可以直接q行E序)QInstallApp-NT.bat(安装成Windows?QUninstallApp-NT.bat(卸蝲Windows服务)?br />4、把wrapper的lib下的wrapper.dllQwrapper.jar攑ֈMonitor的lib下?br />5、把wrapper的conf下的wrapper.conf攑ֈMonitor的conf?br />6、把wrapper的logs下的wrapper.log攑ֈMonitor的logs?br />7、修改Monitor的conf/wrapper.confQ?br />wrapper.java.mainclass=org.tanukisoftware.wrapper.WrapperSimpleApp
此处军_了用Java Service Wrapper的方?不能写mainҎ所在类的名U?br />wrapper.app.parameter.1=panda.mailserver.MailServer
cd写在q里Q把前面?Lp?br />把你需要引用到的jar包分别加入到“wrapper.java.classpath.1=”后面.
    eg.   wrapper.java.classpath.1=../lib/wrapper.jar
            wrapper.java.classpath.1=../lib/panda-mailserver.jar
     修改"wrapper.app.parameter.1="Q这里是你代码中的main class【这里可以把你的代码打成jar?br />     分别修改wrapper.console.title=MyApp
                 wrapper.ntservice.name=MyApp【系l服务中的服务名U?br />                 wrapper.ntservice.displayname=MyApp 【系l服务中昄名称?br />                 wrapper.ntservice.description=MyApp 【系l服务中的描q?br />//启动模式Q默认是自启动启动AUTO_START or DEMAND_STARTQ按需求启动)
wrapper.ntservice.starttype=AUTO_START
8、运行App.batQ运行成功后可以运行InstallApp-NT.bat安装到服务中了,UninstallApp-NT.bat卸蝲服务

yinpan 2013-11-07 14:21 发表评论
]]>
SVN commit:remains in tree-conflict错误的解军_?/title><link>http://www.aygfsteel.com/yinpan/archive/2013/11/04/405971.html</link><dc:creator>yinpan</dc:creator><author>yinpan</author><pubDate>Mon, 04 Nov 2013 05:48:00 GMT</pubDate><guid>http://www.aygfsteel.com/yinpan/archive/2013/11/04/405971.html</guid><wfw:comment>http://www.aygfsteel.com/yinpan/comments/405971.html</wfw:comment><comments>http://www.aygfsteel.com/yinpan/archive/2013/11/04/405971.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/yinpan/comments/commentRss/405971.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/yinpan/services/trackbacks/405971.html</trackback:ping><description><![CDATA[SVN commit:remains in tree-conflict错误的解军_?br />Eclipse中的解决办法<br />叛_工程目录–>team–>Show Tree Conflict–>在Eclpise中会出现一个Tab视图昄Tree Conflict的内容,一个一个选择列表中的冲突叛_其标志为已解决Q然后回到项目再提交更改可以了?img src ="http://www.aygfsteel.com/yinpan/aggbug/405971.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/yinpan/" target="_blank">yinpan</a> 2013-11-04 13:48 <a href="http://www.aygfsteel.com/yinpan/archive/2013/11/04/405971.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Java的Date型和Long型之間毫秒數的轉換http://www.aygfsteel.com/yinpan/archive/2011/08/26/357351.htmlyinpanyinpanFri, 26 Aug 2011 06:16:00 GMThttp://www.aygfsteel.com/yinpan/archive/2011/08/26/357351.htmlhttp://www.aygfsteel.com/yinpan/comments/357351.htmlhttp://www.aygfsteel.com/yinpan/archive/2011/08/26/357351.html#Feedback0http://www.aygfsteel.com/yinpan/comments/commentRss/357351.htmlhttp://www.aygfsteel.com/yinpan/services/trackbacks/357351.html

?/span>Java開發中,很多時候我們為了方便會直接使用long型來保存時間,可以通過System.currentTimeMillis()或者是java.util.date.getTime()來獲取,取值為當前日期時間?/span>1970-01-01相差的毫U數?/span>

//得到當前日期的秒?/span>

Date d = new Date();

System.out.println(d.getTime()/1000);

 

//通過毫秒數得到當前日?/span>

Date d1 = new Date(XXXXXXX);//XXXXXXX為毫U數

System.out.println(sdf.formart(d1));



yinpan 2011-08-26 14:16 发表评论
]]>
MyEclipsel一修改全部的Java/JSP/JS文g的编?/title><link>http://www.aygfsteel.com/yinpan/archive/2011/06/18/352589.html</link><dc:creator>yinpan</dc:creator><author>yinpan</author><pubDate>Sat, 18 Jun 2011 08:42:00 GMT</pubDate><guid>http://www.aygfsteel.com/yinpan/archive/2011/06/18/352589.html</guid><wfw:comment>http://www.aygfsteel.com/yinpan/comments/352589.html</wfw:comment><comments>http://www.aygfsteel.com/yinpan/archive/2011/06/18/352589.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/yinpan/comments/commentRss/352589.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/yinpan/services/trackbacks/352589.html</trackback:ping><description><![CDATA[MyEclipse如何l一修改全部的Java、JSP、JS{文件的~码Q例如修改ؓUTF-8<br />本h用的是MyEclipse6.5<br />1.Java的编码规则修改\径:<br />Window->Preferences->workspace->Text file encoding 选择other 里的UTF-8<img border="0" alt="" src="http://www.aygfsteel.com/images/blogjava_net/yinpan/1.JPG" width="627" height="543" /><br /><br />2.JS/JSP的编码规则修改\径:<br />Window->MyEclipse Enterprise Workbeach->Files and Editors->JavaScript/JSP选择Editing files的Encoding为UTF-<img border="0" alt="" src="http://www.aygfsteel.com/images/blogjava_net/yinpan/2.JPG" width="671" height="543" />8<br /><img src ="http://www.aygfsteel.com/yinpan/aggbug/352589.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/yinpan/" target="_blank">yinpan</a> 2011-06-18 16:42 <a href="http://www.aygfsteel.com/yinpan/archive/2011/06/18/352589.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>q是Eclipse问题http://www.aygfsteel.com/yinpan/archive/2011/03/13/346156.htmlyinpanyinpanSun, 13 Mar 2011 11:32:00 GMThttp://www.aygfsteel.com/yinpan/archive/2011/03/13/346156.htmlhttp://www.aygfsteel.com/yinpan/comments/346156.htmlhttp://www.aygfsteel.com/yinpan/archive/2011/03/13/346156.html#Feedback0http://www.aygfsteel.com/yinpan/comments/commentRss/346156.htmlhttp://www.aygfsteel.com/yinpan/services/trackbacks/346156.html
二、换了个版本的Eclipse后,发现目里的好多的JS文g报错Q一大堆的红叉,在之前那个Eclipse里待得好好的Q换了个Eclipse׃行了Q上|搜了一下,说是L.project文g中的以下部分Q?br /> <buildCommand>
<name>org.eclipse.wst.jsdt.core.javascriptValidator</name>
<arguments></arguments>
</buildCommand>
?lt;nature>org.eclipse.wst.jsdt.core.jsNature</nature>
L后,重启下换个Eclipse后又换回来貌似就好了?

yinpan 2011-03-13 19:32 发表评论
]]>
Java调用.net的Web Servicehttp://www.aygfsteel.com/yinpan/archive/2011/03/06/345848.htmlyinpanyinpanSun, 06 Mar 2011 15:29:00 GMThttp://www.aygfsteel.com/yinpan/archive/2011/03/06/345848.htmlhttp://www.aygfsteel.com/yinpan/comments/345848.htmlhttp://www.aygfsteel.com/yinpan/archive/2011/03/06/345848.html#Feedback0http://www.aygfsteel.com/yinpan/comments/commentRss/345848.htmlhttp://www.aygfsteel.com/yinpan/services/trackbacks/345848.htmlJava调用LC: faultString: Server did not recognize the value of HTTP Header SOAPAction: .
(faultString: 服务器未能识?HTTP 标头 SOAPAction 的|?
上网找了一下解x法:http://nect.blog.163.com/blog/static/11633941200771695410692/

Java调用.net的WebService不成功,报错QServer did not recognize the value of HTTP Header SOAPAction: .因ؓ用jQuery调用是成功的Q后来试着把静态页面移到本Z试Q还是报错,消息: 没有权限。百度后说是jQuery不能跨域Q说是代码中的url后面的地址要与你当前JavaScript代码所在的面的域名相同,后来q脆攑ֈ服务器上,把网另存ؓhtml面都还是同L问题。最后把jQuery代码加到JSP面里才能访问服务器上的WebService?br /> 报错QThe request element <SendMsg xmlns=''> was not recognized.在源文g里加上后面红色字体的部分call.setOperationName(new QName("http://tempuri.org/","SendMsg")); p了。后来能讉KWebService。但q是有的Ҏ不能讉KQ报下面的错误:SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize.说是不能反序列化?/p>

yinpan 2011-03-06 23:29 发表评论
]]>
java.io.EOFExceptionhttp://www.aygfsteel.com/yinpan/archive/2011/01/10/342728.htmlyinpanyinpanMon, 10 Jan 2011 12:56:00 GMThttp://www.aygfsteel.com/yinpan/archive/2011/01/10/342728.htmlhttp://www.aygfsteel.com/yinpan/comments/342728.htmlhttp://www.aygfsteel.com/yinpan/archive/2011/01/10/342728.html#Feedback0http://www.aygfsteel.com/yinpan/comments/commentRss/342728.htmlhttp://www.aygfsteel.com/yinpan/services/trackbacks/342728.htmlTomcat启动报下面的异常Q?br /> persisted sessions: java.io.EOFException
java.io.EOFException
 at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2281)
 at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2750)
 at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:780)
 at java.io.ObjectInputStream.<init>(ObjectInputStream.java:280)
 at org.apache.catalina.util.CustomObjectInputStream.<init>(CustomObjectInputStream.java:58)
 at org.apache.catalina.session.StandardManager.doLoad(StandardManager.java:362)
 at org.apache.catalina.session.StandardManager.load(StandardManager.java:321)
......
baidu出来的结果是Q?/p>

分析:EOFException表示输入q程中意外地到达文g或尾的信?D从session中获取数据失败。异常是tomcat本n的问题,׃tomcat上次非正常关闭时有一些活动session被持久化Q表Cؓ一些时文ӞQ在重启Ӟtomcat试L复这些session的持久化数据但又dp|造成的。此异常不媄响系l的使用?

解决办法: tomcat\work\Catalina\localhost\yourProjectName\SESSIONS.ser删除。如果正常关闭服务端Q该文g是自动删除的。注QyourProjectName 是你当前正在工作的Web目名称?考虑到每个h的tomat的工作目录不同,?搜烦"功能中找C的SESSIONS.ser文gQ而且只需要删?.\yourProjectName\下的SESSIONS.ser卛_?



yinpan 2011-01-10 20:56 发表评论
]]>
վ֩ģ壺 | | Ӣ| ˳| | ͺ| ̫| Т| ͼ| ݸ| | ɽ| С| | | | | Ϫ| ˹| | | ʹ| ɽ| ͺ| | Ϫ| | | ֯| ԭƽ| ɽ| ¬| פ| ͼ| | | Ͻ| ̶| | γ| Ĭ|