蓝色天空

走在IT的路上,随时需要抬头看看天空
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2012年7月15日

摘要: 1.JBoss简介JBoss是一个运行EJB的J2EE应用服务器。它是开放源代码的项目,遵循最新的J2EE规范。从JBoss项目开始至今,它已经从一个EJB容器发展成为一个基于的J2EE的一个web 操作系统(operating system for web),它体现了J2EE规范中最新的技术,并且它还在the JavaWorld Editors' Choice 2002评选中获得“最佳Java应用服务器”大奖。无论是学习还是应用,JBoss为我们提供了一个非常优秀的平台。有关JBoss的详细信息请参阅其主页http://www.jboss.org。 刚开始使用JBoss进行EJB开发 阅读全文

posted @ 2012-07-15 11:27 my_house_station 阅读(290) 评论(0) 推荐(0) 编辑

摘要: 一、使用struts表单验证而不用struts标签的方法:使用struts标签时:<html:javascript formName="loginForm" dynamicJavascript="true" staticJavascript="false" /><html:form action="login" onsubmit="return validateLoginForm(this);"> <input type="text" name= 阅读全文

posted @ 2012-07-15 11:23 my_house_station 阅读(271) 评论(0) 推荐(0) 编辑

摘要: 1. 把Strings转换成int和把int转换成StringString a = String.valueOf(2); //integer to numeric string int i = Integer.parseInt(a); //numeric string to an intString a = String.valueOf(2); //integer to numeric stringint i = Integer.parseInt(a); //numeric string to an2. 向Java文件中添加文本Updated: Thanks Simone for poin.. 阅读全文

posted @ 2012-07-15 11:01 my_house_station 阅读(215) 评论(0) 推荐(0) 编辑