会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
思思博士
我不虚伪,我就想挣钱,挣多多的钱,做多多的事。
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
17
18
19
20
21
22
23
24
25
···
40
下一页
2015年3月27日
java中如何制定自定义异常
摘要: 1 package gys; 2 3 public class ExpetionTest { 4 public static void main(String[] args) { 5 NumberCheck n=new NumberCheck(); 6 t...
阅读全文
posted @ 2015-03-27 15:19 思思博士
阅读(877)
评论(0)
推荐(0)
2015年3月26日
jsp获取请求头信息
摘要: 1 2 6 7 8 9 10 "> 11 获取表头信息12 13 14 enumer=request.getHeaderNames();16 int count=0;17 while(enumer.hasMoreElement...
阅读全文
posted @ 2015-03-26 21:59 思思博士
阅读(1007)
评论(0)
推荐(0)
JSP的taglib示例
摘要: web.xml 1 2 6 7 8 9 /WEB-INF10 /WEB-INF/mytag.tld11 12 13 mytag.tld 1 2 3 1.0 4 1.1 5...
阅读全文
posted @ 2015-03-26 11:51 思思博士
阅读(2036)
评论(1)
推荐(0)
JSP的自定义标签
摘要: 1.标签(Tag):标签是一种XML元素,通过标签可以使JSP网页变得简洁并且易于维护,还可以方便地实现同一个JSP文件支持多种语言版本。由于标签是XML元素,所以它的名称和属性都是大小写敏感的2.标签库(Taglibrary):由一系列功能相似、逻辑上互相联系的标签构成的集合称为标签库。3.标签库...
阅读全文
posted @ 2015-03-26 11:34 思思博士
阅读(1858)
评论(0)
推荐(0)
2015年3月24日
java中路径中参数值是中文,打印到页面是乱码的解决方案
摘要: jsp代码: 大家好:我叫,今年岁 欢饮访问本页,你什么信息都看不到,哈哈 访问路劲:
阅读全文
posted @ 2015-03-24 23:07 思思博士
阅读(529)
评论(0)
推荐(0)
2015年3月19日
struts1的一个简单登陆功能
摘要: Login.jsp:1 /login.do" method="post">2 username:3 password:4 5 web.xml 1 2 7 8 9 action10 org.apach...
阅读全文
posted @ 2015-03-19 11:06 思思博士
阅读(232)
评论(0)
推荐(0)
2015年3月18日
servlet中获取配置文件中的参数.
摘要: web.xml (添加init-param) 1 2 7 8 9 This is the description of my J2EE component10 This is the display name of my J2EE component11 Ge...
阅读全文
posted @ 2015-03-18 21:42 思思博士
阅读(770)
评论(0)
推荐(0)
servlet的登陆案例
摘要: Users.java 1 package com.po; 2 3 public class Users { 4 private String username; 5 private String password; 6 7 public Users(){}; 8 ...
阅读全文
posted @ 2015-03-18 21:13 思思博士
阅读(275)
评论(0)
推荐(0)
2015年3月17日
手工编写servlet
摘要: index.jsp: 1 2 6 7 8 9 10 ">11 12 My JSP 'index.jsp' starting page13 14 15 16 17 18 19 20 21 第...
阅读全文
posted @ 2015-03-17 14:13 思思博士
阅读(200)
评论(0)
推荐(0)
2015年3月16日
java中的基本jdbc中mvc基本示例
摘要: 数据库:包文件:Student.java 1 package com.model; 2 3 public class Student { 4 private int id; 5 private String name; 6 private int age; 7 pr...
阅读全文
posted @ 2015-03-16 09:12 思思博士
阅读(783)
评论(0)
推荐(0)
上一页
1
···
17
18
19
20
21
22
23
24
25
···
40
下一页
公告