`
vanillalyx
  • 浏览: 62228 次
  • 性别: Icon_minigender_2
  • 来自: 北京
社区版块
存档分类
最新评论
文章列表
从form中获得表单值 String username = (String)dynaActionForm.get("username"); String username = request.getParameter("username"); 这两种方式均可,无论form是get还是post
2009年2月17日 1.民族改成下拉框 2.详细信息页面另存为doc 3.学院书记的权限
不同的ContentType 会影响客户端所看到的效果.默认的ContentType为 text/html 也就是网页格式. 代码如: <% response.ContentType ="text/html" %> <!--#i nclude virtual="/ContentType.html" --> 显示的为网页,而 <% response.ContentType ="text/plain" %> <!--#i nclude virtual="/sscript/ContentT ...
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 ...
<script> function a(d){ alert(d); //输出undefined if(typeof(d) == 'undefined')alert('undefined'); //输出undefined if(d)alert('true'); else alert('false'); //输出false } a(); </script>

eclipse使用笔记

    博客分类:
  • java
eclipse导入工程: File -》 import =》general =》existing project into workplace
既然你都上传到服务器了,当然在jsp或者servlet中处理罗。    用BufferedImage   sourceImg   =   javax.imageio.ImageIO.read(is);得到BufferedImage对象,其中的is是InputStream,用来接收图片数据的流。    取图像宽:sourceImg.getWidth()    取图像高:sourceImg.getHeight()
Global site tag (gtag.js) - Google Analytics