搜索到与相关的文章
编程技术

struts2常量

struts2常量的顺序如下:struts-default.xml:该文件保存在struts2-core-2.0.6.jar文件中。struts-plugin.xml:该文件保存在struts2-Xxx-2.0.6.jar等Struts2插件JAR文件中。struts.xml:该文件是Web应用默认的Struts2配置文件。struts.properties:该文件是Web应用默认的Struts2配置文件。web.xml:该文件是Web应用的配置文件。如果

系统 2019-08-29 22:00:33 2599

Android

Android Activity的生命周期和Activity间传递数

Activity生命周期:使用Bundle在Activity间传递数据1:1.1从源Activity中传递数据IntentopenWelcomeActivityIntent=newIntent();BundlemyBundelForName=newBundle();myBundelForName.putString("Key_Name",inName.getText().toString());myBundelForName.putString("Key_

系统 2019-08-12 09:30:33 2599

各行各业

How to access share directory on NAS server

1.Inwindows,wejustenter\\nas.xxx.com,thenwewillenterthesharedirectory2.InUbuntu,wecancreateanetwork:Places-Connecttoserver...-SelectWindowsShare-EnterServer(nas.xxx.com)-ClickConnectThenanetworkwillbecreated.InSidePane,wewillseeth

系统 2019-08-12 09:27:22 2599

各行各业

EXCEL2003中使用XML

微软的Office2003发布已经很久了,这个版本最让人感到方便的是对XML更好的支持,这一点对于Office的用户来说会非常的方便,尤其是其中的EXCEL对XML的支持就更让人喜欢了。作为一个程序员,我想说说它给我们带来了什么。先简单的说一下在EXCEL中使用XML文件作为数据源。操作非常的简单,在EXCEL中按下面的步骤操作:先添加一个XML映射,数据->XML->XML源,在打开的对话框中点击“XML映射”按钮,选择一个XSD文件(也就是XML架构文

系统 2019-08-12 09:26:39 2599

Android

【Android Developers Training】 81. 解析XML

注:本文翻译自Google官方的AndroidDevelopersTraining文档,译者技术一般,由于喜爱安卓而产生了翻译的念头,纯属个人兴趣爱好。原文链接:http://developer.android.com/training/basics/network-ops/xml.html可扩展标记语言(XML)是一种将文档编码为机器可阅读的形式的规则集合。XML是一种在互联网中分享数据的比较流行的格式。那些频繁更新内容的网站(如新的站点或者博客),经常

系统 2019-08-12 01:54:58 2599

Android

Toasts | Android Developers

Toasts|AndroidDevelopersTheBasicsFirst,instantiateaToastobjectwithoneofthemakeText()methods.Thismethodtakesthreeparameters:theapplicationContext,thetextmessage,andthedurationforthetoast.ItreturnsaproperlyinitializedToastobject.You

系统 2019-08-12 01:54:47 2599

操作系统

InitKernel 自己动手写操作系统

转自:http://www.cnblogs.com/wanghj-dz/archive/2011/05/14/2046210.html分析的很好;InitKernel---------------------------------------------------------------------------------bochs断点:0x000905ba;将KERNEL.BIN的内容经过整理对齐后放到新的位置;遍历每一个ProgramHeader,

系统 2019-08-12 01:33:42 2599

Tomcat

Nginx加多个tomcat实现负载均衡,动静分离

一:Nginx+Tomcat的动静分离所谓动静分离就是通过nginx(或apache等)来处理用户端请求的图片、html等静态的文件,tomcat(或weblogic)处理jsp、do等动态文件,从而达到动静页面访问时通过不同的容器来处理。nginx处理静态页面效率远高于tomcat,而tomcat擅长动态页面处理,这样一来就能更好的提高并发,处理性能。页面压力测试ab-n1000-c200http://10.10.54.157/index.html二:具

系统 2019-08-12 01:33:08 2599

Tomcat

tomcat5配置常见数据库连接池的例子.

环境:w2kpsp4,jsdk1.4.2_8;tomcat5.0.2.8;oracle817,sqlserver2000sp3,mysql5beta总的来说在tomcat配置一个数据源有4项工作要做.1.在server.xml里配置数据源连接池参数。可以手动,也可以通过tomcatadmin工具。2.在%CATALINA_HOME%\conf\Catalina\localhost\下,对用你自己的webapp用户yourapp.xml配置对数据源的声明.3

系统 2019-08-12 01:33:00 2599

SqlServer

SQL Server 如何确定内存瓶颈

DetectMemoryBottleneckinSQLServerBy:KasimWirama,MCDBAThisarticle,IwouldliketogiveinformationaboutmemorybottleneckatSQLServer.TheeasiestwaytoknowwhetheryourSQLServerundergoesmemorybottleneckisbylookingatTaskManager,tabPerformance,P

系统 2019-08-12 01:32:21 2599