- 博客(3)
- 收藏
- 关注
原创 Mysql中左连接的使用
查询在一个相关的表中不存在的数据,如用户表(user)和用户资料表(user_profile),通过id关联,要查出user表中在user_profile中不存在的记录:select count(*) from?user left join?user_profile On user.id=user_profile.id where user_profile.id is null复杂条件:
2004-08-25 16:43:00 1085
原创 tiles和struts初步应用
1,定义配置文件: 2,配置web.xml: action org.apache.struts.tiles.ActionComponentServlet definitions-config /WEB-INF/tileDefinitions.xml ...
2004-08-09 14:54:00 838
原创 servlet的2种重定向方法
在servlet/JSP编程中,服务器端重定向可以通过下面两个方法来实现:1,运用javax.servlet.RequestDispatcher接口的forward方法,2,或者运用javax.servlet.http.HttpServletResponse接口的sendRedirect方法。要运用RequestDispatcher接口的forward方法,首先要得到一个Request
2004-08-05 14:15:00 1827 1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人