JAVAWEB
Flyneen
这个作者很懒,什么都没留下…
展开
-
out.print() 和 out.write()详细用法
out.print()和out.write()都可以用在jsp中做输出, 有部分区别如下:out.print()会将所有类型的数据转换为字符串, 包括null值, 并输出int a = 10;String b = nullout.print("abc<hr>"); //abc<hr>(html解析后为分割线)out.print原创 2019-01-11 14:28:50 · 35407 阅读 · 1 评论 -
json数据遍历详解
jason数据获取方式:json对象.键名json对象[“键名”]数组对象[索引]jason数据遍历:var person = {"name": "张三", age: 23, 'gender': true};var ps = [{"name": "张三", "原创 2019-01-21 14:09:53 · 7508 阅读 · 1 评论