-
ImmutableMultiset
An immutable hash-based multiset. Does not permit null elements.
- 2013-12-03 09:39:33下载
- 积分:1
-
Java简单计算其
对初学者学习Java中的swing组件类做了个简单入门的计算器。
- 2023-01-27 11:05:09下载
- 积分:1
-
ssh简单登录见面
package cn.crm.dao;
import java.util.List;
import org.springframework.orm.hibernate5.support.HibernateDaoSupport;
import cn.crm.entity.User;
public class UserDaoImpl extends HibernateDaoSupport implements UserDao {
// 登录的方法
@SuppressWarnings("all")
@Override
public User loginUser(User user) {
// 调用方法得到hibernateTemplate对象
// 登录查询
// 根据用户名和密码进行查询
List list = (List) this.getHibernateTemplate().find("from User where username=? and password=?",
user.getUsername(), user.getPassword());
if (list.size() != 0 && list != null) {
return list.get(0);
} else {
return null;
}
}
}
- 2022-05-29 08:53:48下载
- 积分:1
-
lab4Plus
1、Struts2框架下ActionSupport的使用(附加)
在Myeclipse中新建web项目lab4plus;
在实验四的基础上修改LoginAction,使之继承ActionSupport,并重写Validate方法,在其中增加FieldError、ActionError和ActionMessage;
修改login.jsp、loginSuccess.jsp和loginFail.jsp页面,用<s:actionmessage>和<s:actionerror>标签输出信息;
将lab4plus布署在Tomcat服务器上;
运行login.jsp页面,并记录运行结果、主要处理流程与关键代码。(, Struts2 framework ActionSupport use (additional)
Create a new web project in Myeclipse lab4plus
In the experiment on the basis of four modified LoginAction, so inheritance ActionSupport, and override the Validate method, in which the increase FieldError, ActionError and ActionMessage
Modify login.jsp, loginSuccess.jsp and loginFail.jsp page with <s:actionmessage> and <s:actionerror> tag output information
The lab4plus deployed on Tomcat server
Run login.jsp page and record the results, the main processes and key code.
)
- 2013-11-14 15:11:53下载
- 积分:1
-
java教学讲义
java教学讲义-java Teaching Materials
- 2023-07-06 16:10:03下载
- 积分:1
-
AbstractApplicationContext
我们如何为生命周期调用后台方法使用 AbstractApplicationContext 接口。
- 2023-05-01 12:05:03下载
- 积分:1
-
ListTouchBottomGravityManyTest
Touch tests for a list where all of the items do not fit on the screen, and the list stacks from the bottom.
- 2014-02-27 13:40:15下载
- 积分:1
-
strutstestcase how to use tools to test struts Application
介绍如何用strutstestcase工具来测试struts应用-strutstestcase how to use tools to test struts Application
- 2023-07-24 16:40:05下载
- 积分:1
-
星载合成孔径雷达干涉测量 王超
说明: insar书籍,基本原理,数据处理算法,基本应用适合初学者(Insar books, basic principles, data processing algorithms, basic applications for beginners)
- 2020-06-21 06:20:02下载
- 积分:1
-
jdkANdjre
jdk与jre的重要区别,好东西我不是这么轻易与人分享的(jdk and jre an important distinction, good thing I' m not so easily shared with others)
- 2013-07-25 10:54:03下载
- 积分:1