自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(69)
  • 收藏
  • 关注

原创 一个高深的验证IP的正则表达式

允许输入的格式为以下几种:(不能以"10."开头) 1、 120.86.190.193 2、 120.86.190.193,60.30.87.38 (多个) 3、 210.83.229.0-24 4、 210.83.229.0-24,59.37.13.0-24 (多个) 5、 61.132.91.226-30,121.35.214.21 (两种混合时,多个)...

2010-12-23 16:50:32 141

原创 查询效率问题

有一个表A数据量在10万以上,根据某一列作为条件查询得到一个结果集(where name='aa'),而这列有很多重复的值(name='aa'的结果集在2千左右)它与另外一个表B有关联,而根据这张表B的某列可以先过滤掉几乎一半的数据请问大侠们: 这种情况下写联合查询比单表查询效率高吗?...

2010-12-07 16:20:44 131

原创 hjhjhjhj

问题:今天用Tomcat 5.5.12,发现原来很好用的系统不能用了,反复测试发现页面中不能包含 taglib,否则会出现以下提示:HTTP Status 500 -type Exception reportMessage description The server encountered an internal error () that prevented it from fulfillin...

2010-10-27 17:54:51 204

原创 cvcvcvcsafds

1. 定义Action后, 如果指定了name, 那么必须要定义一个与它同名的FormBean才能进行form映射.2. 如果定义Action后, 提交页面时出现 "No input attribute for mapping path..." 错误, 则需要在其input属性中定义转向的页面.3. 如果插入新的数据时出现 "Batch update row count wrong:..." 错误...

2010-10-27 17:54:13 318

原创 qweqweqw

异常 "Document contained no data" in Netscape No data rendered (completely empty) page in Microsoft Internet Explorer 可能原因 使用一个Action的派生类而没有实现perform()方法或execute()方法。在Struts1.0中实现的是perform()方法,在...

2010-10-27 17:53:51 290

原创 rererew

异常 javax.servlet.jsp.JspException: Missing message for key xx.xx.xx Probable Causes 这个key的值对没有在资源文件ApplicationResources.properties中定义。如果你使用eclipse时经常碰到这样的情况,当项目重新编译时,eclipse会自动将classes目录下的资源文件删除...

2010-10-27 17:53:31 86

原创 cvcvcvc

异常 javax.servlet.jsp.JspException: Cannot find ActionMappings or ActionFormBeans collection 可能原因 不是标识Struts actionServlet的标记就是映射.do扩展名的标记或者两者都没有在web.xml中声明。 在struts-config.xml中的打字或者拼写错误也可导致这个异...

2010-10-27 17:53:10 257

原创 gdgdgd

异常 javax.servlet.jsp.JspException: No getter method for property username of bean org.apache.struts.taglib.html.BEAN 可能原因 没有位form bean中的某个变量定义getter 方法 这个错误主要发生在表单提交的FormBean中,用struts标记时,在Form...

2010-10-27 17:49:56 156

原创 ererer

异常 javax.servlet.jsp.JspException: Cannot retrieve mapping for action /Login (/Login是你的action名字) 可能原因 action没有再struts-config.xml 中定义,或没有找到匹配的action,例如在JSP文件中使用 ...

2010-10-27 17:49:33 159

原创 er4ere

java.lang.NullPointerException 空指针异常。当应用试图在要求使用对象的地方使用了null时,抛出该异常。譬如:调用null对象的实例方法、访问null对象的属性、计算null对象的长度、使用throw语句抛出null等等。 java.lang.NumberFormatException 数字格式异常。当试图将一个String转换为指定的数字类型,而该字符串...

2010-10-27 17:49:03 87

原创 dfdfdaaaaaa

java.lang.IllegalMonitorStateException 违法的监控状态异常。当某个线程试图等待一个自己并不拥有的对象(O)的监控器或者通知其他线程等待该对象(O)的监控器时,抛出该异常。 java.lang.IllegalStateException 违法的状态异常。当在Java环境和应用尚未处于某个方法的合法调用状态,而调用了该方法时,抛出该异常。 java...

2010-10-27 17:48:38 64

原创 eerere

java.lang.ArithmeticException 算术条件异常。譬如:整数除零等。 java.lang.ArrayIndexOutOfBoundsException 数组索引越界异常。当对数组的索引值为负数或大于等于数组大小时抛出。 java.lang.ArrayStoreException 数组存储异常。当向数组中存放非数组声明类型对象时抛出。 java.lan...

2010-10-27 17:48:12 97

原创 dfdfdfaaa

java.lang.NoSuchFieldError 域不存在错误。当应用试图访问或者修改某类的某个域,而该类的定义中没有该域的定义时抛出该错误。 java.lang.NoSuchMethodError 方法不存在错误。当应用试图调用某类的某个方法,而该类的定义中没有该方法的定义时抛出该错误。 java.lang.OutOfMemoryError 内存不足错误。当可用内存不足以...

2010-10-27 17:47:48 74

原创 fdfdfdf

java.lang.ExceptionInInitializerError 初始化程序错误。当执行一个类的静态初始化程序的过程中,发生了异常时抛出。静态初始化程序是指直接包含于类中的static语句段。 java.lang.IllegalAccessError 违法访问错误。当一个应用试图访问、修改某个类的域(Field)或者调用其方法,但是又违反域或方法的可见性声明,则抛出该异常。 ...

2010-10-27 17:47:28 216

原创 dfdfdfdf

算术异常类:ArithmeticExecption 空指针异常类:NullPointerException 类型强制转换异常:ClassCastException 数组负下标异常:NegativeArrayException 数组下标越界异常:ArrayIndexOutOfBoundsException 违背安全原则异常:SecturityException 文件已结束异常...

2010-10-27 17:46:57 250

原创 oracle知识

Oracle默认用户 SYS SYSTEM SCOTT 1-数据库中所有数据字典表和视图都存储在 SYS 模式中。SYS用户主要用来维护系统信息和管理实例。2-SYSTEM 是默认的系统管理员,该用户拥有Oracle管理工具使用的内部表和视图。通常通过SYSTEM用户管理 数据库用户、权限和存储等3-SCOTT用户是Oracle 数据库的一个示范帐户,在...

2010-10-25 22:37:30 69

原创 china

dfdfdfdfdf

2010-10-25 22:16:02 82

原创 windchill题

简介:Windchill Foundation是Windchill的基本包,故大家如果对Windchill技术了解,就不用太担心对Foundation技术的掌握。两者的技术差异在于里面一些开发手段的差异。1.有没有做过Foundation没有,但看过Foundation的系统,Founation与Windchill本质上没有差异,技术上只是部分实现手段不一样。比如之前大部分用Tem...

2010-10-25 22:07:04 869

原创 101021

• “已分配活动” (Assigned Activity) 是已分配给一个或多个用户/用户定义组或某个操作者去执行的活动。• 将为用户分配“专用活动” (Ad Hoc Activity),以定义运行时的一组活动。该组活动类似于一个简单的块。• 块表示一组活动、连接器或自动机。通过创建活动块 ( 需要时可将其扩展) 可降低进程的复杂程度。16-12 Windchill 业务管...

2010-10-21 15:55:16 153

原创 找回回收站

一不小心,删错了,还把回收站清空了,咋办啊?只要三步,你就能找回你删掉并清空回收站的东西 步骤: 1、单击“开始——运行,然后输入regedit (打开注册表) 2、依次展开:HEKEY——LOCAL——MACHIME/SOFTWARE/microsoft/WINDOWS/ CURRENTVERSION/EXPLORER/DESKTOP/NAMESPACE 在左边空...

2010-10-20 19:09:24 67

原创 zzzzz5

四理性的玫瑰会给予类的默认名称(“NewClass”)。开始键入WTDocument;当WTDocument在下拉列表中出现,选择它。例如:选择在这里作为参考现有的类当引用一个现有的类,在现有的类已选定,理性玫瑰会打开一个对话框:删除默认NewClass这表明,这是与默认名称(NewClass)创建的类将不再被引用,并且可以从模型中删除。这是确定; WTDocument被引...

2010-10-18 22:30:24 502

原创 第九章 Advanced Solutions_3

g. Use the default get and set methods automatically generated for each attribute to also print out attribute information.i. As before, exceptions will be thrown and need to be handled.j. Run the ...

2010-10-18 17:59:08 73

原创 第九章 Advanced Solutions_2

Exercise 9-2: Implement a Listener ServiceObjectives● Implement a listener service.ScenarioThe customer needs to log all CustomerOrder objects created each day as input to an external ERP syst...

2010-10-18 17:54:39 90

原创 第九章 Advanced Solutions

Advanced SolutionsObjectivesUpon successful completion of this module, you will be able to:• Perform tasks in the Engineer Component element of the Application Solution Development module of the...

2010-10-18 17:45:07 132

原创 第八章Case Study

Case StudyIn this case study, attendees get experience and practice to implement a modeled solution based on customer requirements as provided by a Solution Architect.ObjectivesUpon successful c...

2010-10-18 17:33:48 112

原创 uuu1

777777DeploymentObjectivesUpon successful completion of this module, you will be able to:• Perform tasks related to the deployment process as defined in the Integrate Unit Tested Compoentns an...

2010-10-18 17:30:01 307

原创 xxx13

Exercise 6-6: Model an Enumerated TypeObjectives● Model an enumerated type attribute.● Use enumCustomize to edit the possible values.ScenarioCustomization for a customer requires a modeled a...

2010-10-18 17:22:36 1284

原创 xxx12

Exercise 6-5: Add a Modeled AttributeObjectives● Model an attribute.ScenarioThe class previously created, CustomerOrder, needs an attribute to represent the name of the customer that placed th...

2010-10-18 17:17:17 851

原创 xxx11

System Generation PropertiesBasic propertieswt.generation.bin.dir, Specifies where .ClassInfo.ser files (serialized info objects) will be generated, following the package structurewt.generation....

2010-10-18 17:12:22 496

原创 xxx10

Default Methods for Modeled AttributesModeled attributes will get 3 operations automatically from system generation. An example of an attribute named “cost”:1. private void costValidate( String a_...

2010-10-18 16:53:35 1399

原创 xxx9

Exercise 6-3: Clean up Previous CustomizationObjectives● Clean up previous customization.ScenarioA model of a class previously created needs to be updated. Prior to making model changes,the pr...

2010-10-18 14:14:46 2102

原创 xxx8

Exercise 6-2: Model Constructor OperationsObjectives● Add constructor operations to an existing class modeled in Rational Rose.ScenarioIn this exercise, you will add the required constructor o...

2010-10-18 12:16:42 4464

原创 xxx7

Step 10. Execute generated SQL.If this step is not completed, the Method Server will not start and will throw a very lengthy wt.pom.DatastoreException exception:wt.services.ManagerException: wt.ut...

2010-10-18 12:03:07 1585

原创 xxx6

Exercise 6-1: Extend WTDocumentObjectives● Create a new package structure.● Extend a Windchill class.● Model new attributes.● Implement the customization.ScenarioA customer has identifie...

2010-10-18 12:02:26 4648

原创 xxx5

d. Rational Rose will give the class a default name (“NewClass”). Begin typing WTDocument;when WTDocument appears in the drop down list, select it.Example:Selecting an Existing Class as Referenc...

2010-10-18 11:46:49 458

原创 xx4

第5步。控件的自定义单位。68工程师组件答:指出,有OOTB封装在COM目录,如com.ptc。因此,不应该COM的控制; com.customer应控制。根据com.customer嵌套包可以控制,以及。湾在Rational Rose中,右键在浏览器窗口,并选择单位>“控制...>客户包点击。角选择文件名控制单元。四现在,在任何地方控制包中的所有更改都将保存在*.猫刚才指定的...

2010-10-13 23:13:42 240

原创 xx3

注册表属性associationRegistry.properties,已按类别,按字母顺序关系已为蓝本,每一个班一个班线建模relationship.Two通常需要建立某种关系,所以每个环节通常是列出了两次,一次为每方的relationship.Example一WTPartUsageLink连接WTPart和WTPartMaster:wt.part.WTPart = wt.part.WT...

2010-10-13 23:13:02 180

原创 xx2

模型的新类要添加一个现有的类之间的关系扩展类 - 继承在Java术语 - 使用“,”一般化“,”在Rational Rose中的关系。类之间的关系表明,广义子类的特征和行为在一个或多个超类中定义的继承。---图6-1:推广持久化的数据类是“持久化”存储在数据库中的信息。自定义的类是持久化的建模中的Windchill作为数据库中的表。默认情况下,数据库的表名和类名相同...

2010-10-13 23:12:16 150

原创 xx1

工程师组件本模块地址Windchill解决方案,包括自定义类,属性,枚举类型和服务的发展。目标当这个模块成功完成,您将能够:•执行任务工程师组件的应用解决方案开发的系统的RVP工作流模块元素。•创建一个新的Rational Rose中的包结构。•扩展的Windchill类。•在Rational Rose模型的新的属性。•型号枚举类型。•实现一个定制的Windch...

2010-10-13 23:11:12 94

原创 yy2

练习5-1:调查设计模式 目标 ●调查环节的设计模式。 ●调查枚举类型的设计模式。 ●讨论的模式。 方案 使用Rational Rose和Windchill的API来调查现有的设计模式。 第1步。打开Rational玫瑰。 第2步。使用Web浏览器和HTML版本的对象模型,以查看各种EnumeratedType模式相关的图表。 答:图下打开wt.part答WTP...

2010-10-13 23:09:43 314

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除