
html
代码痴汉
这个作者很懒,什么都没留下…
展开
-
html中图片路径拼接
src="photo/<s:property value="#employee.number"></s:property>.jpg"原创 2016-09-01 15:47:42 · 4803 阅读 · 0 评论 -
java.net.URL和org.apache.struts2.components.URL
构造URL时,使用URL使用包java.net.URL由于使用struts2框架,默认导入的是org.apache.struts2.components导致URL提示构造错误String url="http://192.168.1.65:8080/open";URL obj = new URL(url);HttpURLConnection con = (HttpURLConnect原创 2016-09-08 18:25:55 · 328 阅读 · 0 评论 -
JAVA HTTP GET/POST
In this article, we will show you two examples to make HTTP GET/POST request via following APIsStandard HttpURLConnection.Apache HttpClient library.1. Java HttpURLConnection exampleThis exampl转载 2016-09-08 18:38:02 · 507 阅读 · 0 评论 -
js在html页面中的引用位置思考
1. 引入js在head标签之间 先加载js,后加载页面,页面内容加载延迟,用户体验差<!DOCTYPE html><html> <head> <script type="text/javascript" src="..."></script> </head> <body></body></html>2. 引入js在body标签最后 页面内容先呈现,后原创 2017-05-19 15:52:38 · 1092 阅读 · 0 评论 -
location.href
一:提出问题使用js的同学一定知道js的location.href的作用是什么,但是在js中关于location.href的用法究竟有哪几种,究竟有哪些区别,估计很多人都不知道了。blog已经迁移到这里了,有更多文章,欢迎大家访问。二:常见的几种形式目前在开发中经常要用到的几种形式有:self.location.href;window.location.href;this.转载 2017-08-09 14:08:12 · 614 阅读 · 0 评论