摘要: *****************************2013/08/03*************************************昨晚在电脑上安装了tomcat,了解了servlet和jsp。细节方面,下载好tomcat binary后解压,到d盘,设置一环境变量"CATALINA_HOME"。然后在命令后startup,就可以启动tomcat。但java书的的几个例子都没成功。http 404 tatus。why?servlet教程:http://blog.csdn.net/apicescn/article/details/320154servlet 阅读全文
posted @ 2013-08-03 12:43 xtypeu 阅读(168) 评论(0) 推荐(0) 编辑
摘要: http://docs.oracle.com/javase/tutorial/essential/concurrency/sync.htmlthread interferencememory consistency errorsclass Counter { private int c = 0;记不起来,在类中似乎有变量不能赋值的。memory consistency errors:happens-before relationshiphttp://docs.oracle.com/javase/tutorial/essential/concurrency/syncmeth.htmlwo ... 阅读全文
posted @ 2013-07-15 16:49 xtypeu 阅读(125) 评论(0) 推荐(0) 编辑
摘要: Java applets inherit significant functionality from theAppletorJAppletclass, including the capabilities to communicate with the browser and present a graphical user interface (GUI) to the user.http://docs.oracle.com/javase/tutorial/deployment/applet/subclass.htmlTheAppletclass provides a framework f 阅读全文
posted @ 2013-07-13 12:01 xtypeu 阅读(106) 评论(0) 推荐(0) 编辑
摘要: 编写的java程序访问网络,结果因为公司代理服务器。设置了properties,还是不行,程序如下: 1 import java.io.*; 2 import java.net.*; 3 import java.util.Properties; 6 public class renren { 7 public static void main(String[] args)throws IOException{ 8 { 9 URL url=new URL("http://baike.baidu.com/");10 Stri... 阅读全文
posted @ 2013-07-11 16:15 xtypeu 阅读(129) 评论(0) 推荐(0) 编辑
摘要: html 超文本标记语言(hypertext Markup Language)页面、超链接、网站web技术(百科)分布式应用结构,每次信息交换客户端与服务器端,因此web技术大体上分为客户端技术与服务器端技术(有空层层深入学习,比盲目刷人人有意义得多)。客户端技术:html语言、java applets、脚本程序、css、dhtml、插件技术等服务器端技术:服务器技术、CGI、php、asp、asp.net、servlet、jsp成对的标签称之为容器单独标签不需要与之配对的结束标签,称为空标签一个html标签及标签中的嵌套内容,就是网页中的html元素text 阅读全文
posted @ 2013-07-09 17:18 xtypeu 阅读(210) 评论(0) 推荐(0) 编辑
摘要: Attributes provide a powerful method of associating declarative information with C# code (types, methods, properties, and so forth). Once associated with a program entity, the attribute can be queried at run time using a technique calledReflection.For more information, seeDllImportAttribute Class. 一 阅读全文
posted @ 2013-06-21 17:08 xtypeu 阅读(270) 评论(0) 推荐(0) 编辑
摘要: Provides methods that are used to create a pipeline of commands and invoke those commands either synchronously or asynchronously within a runspace. This class also provides access to the output streams that contain data that is generated when the commands are invoked. This class is primarily intende 阅读全文
posted @ 2013-06-20 14:34 xtypeu 阅读(109) 评论(0) 推荐(0) 编辑
摘要: 1 #include "stdio.h" 2 #include "stdlib.h" 3 #include "string.h" 4 #include "math.h" 5 #include "engine.h" 6 7 void main() 8 { 9 int i(0),j(0);10 Engine *ep; //定义Matlab引擎指针。11 if (!(ep=engOpen(NULL))) //测试是否启动Matlab引擎成功。12 {13 printf("Can't 阅读全文
posted @ 2013-05-16 14:00 xtypeu 阅读(374) 评论(0) 推荐(0) 编辑
摘要: 例1 设a > 1,证明:limn→∞ = 1. 证:令 = 1 + y n,yn > 0(n=1,2,3,...),应用二项式定理,, 便得到于是对于任意给定的ϵ > 0,取N = [],当n > N时,成立因此limn→∞ = 1 例2 证明:证明:令 = 1 + y n,yn > 0(n = 1,2,3,...),应用二项式定理得即得到于是,对于任意给定的ϵ > 0,取N = [], 当n > N成立时,成立因此limn→∞ = 1 定理0.1 If there are two or more ways to someone will do it 阅读全文
posted @ 2013-05-07 11:07 xtypeu 阅读(93) 评论(0) 推荐(0) 编辑
摘要: 1 Module Module1 2 Public Sub Main() 3 Dim m_stReelIDStart() As String = {"P", "1P", "3N1"} 4 5 Dim strBarCode1() As String = {"P1P3N1ARTS-0401-01", "0"} 6 Dim i As Integer 7 For i = 0 To m_stReelIDStart.Length - 1 8 If strBarCode1(0).StartsWith(m_st 阅读全文
posted @ 2013-04-09 17:15 xtypeu 阅读(120) 评论(0) 推荐(0) 编辑