- 浏览: 62228 次
- 性别:
- 来自: 北京
最新评论
-
vanillalyx:
http://www.zxbc.cn/html/2008011 ...
sql游标和动态游标 -
vanillalyx:
2009年7月14日21:06:07非材质说明非标准说明非材质 ...
catalog 工作日志 -
vanillalyx:
2009年7月14日20:19:14input text框按回 ...
catalog 工作日志 -
vanillalyx:
2009年7月14日16:27:57搜索:材质 or 标准1. ...
catalog 工作日志 -
vanillalyx:
//right 没有加对象名,直接用数据库库字段名称
que ...
Hibernate 工作学习笔记
文章列表
从form中获得表单值
String username = (String)dynaActionForm.get("username");
String username = request.getParameter("username");
这两种方式均可,无论form是get还是post
- 2009-02-24 09:47
- 浏览 653
- 评论(2)
不同的ContentType 会影响客户端所看到的效果.默认的ContentType为 text/html 也就是网页格式.
代码如:
<% response.ContentType ="text/html" %>
<!--#i nclude virtual="/ContentType.html" -->
显示的为网页,而
<% response.ContentType ="text/plain" %>
<!--#i nclude virtual="/sscript/ContentT ...
- 2009-01-14 12:51
- 浏览 1146
- 评论(0)
function read_dir($dir) {
$array = array();
$d = dir($dir);
while (false !== ($entry = $d->read())) {
if($entry!='.' && $entry!='..') {
$entry = $dir.'/'.$entry;
if(is_dir($entry)) {
$array[] = $entry;
$array = a ...
- 2009-01-06 09:18
- 浏览 974
- 评论(0)
<script>
function a(d){
alert(d); //输出undefined
if(typeof(d) == 'undefined')alert('undefined'); //输出undefined
if(d)alert('true');
else alert('false'); //输出false
}
a();
</script>
- 2008-12-17 19:48
- 浏览 905
- 评论(0)
eclipse导入工程:
File -》 import =》general =》existing project into workplace
- 2008-12-17 13:19
- 浏览 680
- 评论(0)
既然你都上传到服务器了,当然在jsp或者servlet中处理罗。
用BufferedImage sourceImg = javax.imageio.ImageIO.read(is);得到BufferedImage对象,其中的is是InputStream,用来接收图片数据的流。
取图像宽:sourceImg.getWidth()
取图像高:sourceImg.getHeight()
- 2008-12-16 18:15
- 浏览 1766
- 评论(0)