摘要: http://download.csdn.net/album/detail/635 阅读全文
posted @ 2016-11-29 13:35 小雨滴答 阅读(105) 评论(0) 推荐(0) 编辑
摘要: http://www.blueidea.com/tech/web/2007/4545.asp 代码试验: html代码: css代码: 运行效果: 盒子模型的各种属性: 内容(content)、填充(padding)、边框(border)、边界(margin), CSS盒子模式都具备这些属性。 百度 阅读全文
posted @ 2016-11-29 10:00 小雨滴答 阅读(171) 评论(0) 推荐(0) 编辑
摘要: JAVA: 单行注释 // 多行注释 /*..........*/ 多行注释快捷键:Ctrl+/ 或者 Ctrl+Shift+C 或者 Ctrl+Shift+/ HTML: <!-- 注释内容 --> JSP中的HTML注释: <!-- 注释内容 --> JSP页面中的普通注释 <% // 注释内容 阅读全文
posted @ 2016-11-28 13:43 小雨滴答 阅读(826) 评论(0) 推荐(0) 编辑
摘要: iframe 元素会创建包含另外一个文档的内联框架(即行内框架)。 属性: 创建内联框架(JSP页面) 显示结果: 阅读全文
posted @ 2016-11-28 09:48 小雨滴答 阅读(231) 评论(0) 推荐(0) 编辑
摘要: 用JAVA编写的函数 JSP页面进行调用首先引入要用到的类 接着在<body></body>中写入代码 运行JSP页面在浏览器地址栏输入 http://localhost:8080/Test/index.jsp 页面显示结果 1 函数调用成功! PS:函数调用方法:类名.函数名() 阅读全文
posted @ 2016-11-25 16:46 小雨滴答 阅读(14758) 评论(0) 推荐(0) 编辑
摘要: 首先下载aspose-words-15.8.0-jdk16.jar包 http://pan.baidu.com/s/1nvbJwnv 引入jar包,编写Java代码 调用以上方法 结果生成pdf文件 OK! 阅读全文
posted @ 2016-11-25 14:11 小雨滴答 阅读(27746) 评论(27) 推荐(4) 编辑
摘要: 首先定义方法 调用方法 结果显示为:9 1 阅读全文
posted @ 2016-11-25 10:57 小雨滴答 阅读(5727) 评论(0) 推荐(0) 编辑
摘要: 1 public class Dy { 2 public static void main(String[] args){ 3 4 int a=6; 5 int b=5; 6 int result=0; 7 Dy dy=new Dy(); //通过类的实例化... 阅读全文
posted @ 2016-11-25 10:30 小雨滴答 阅读(311) 评论(0) 推荐(0) 编辑
摘要: 1 public class Dy { 2 public static void main(String[] args){ 3 4 int a=6; 5 int b=5; 6 int result=0; 7 result=Add(a,b); //调用本类方法Add(... 阅读全文
posted @ 2016-11-25 10:22 小雨滴答 阅读(520) 评论(0) 推荐(0) 编辑
摘要: package doc; import java.io.*; import junit.framework.Test; import com.aspose.words.*; public class doc2odt { public static boolean getLicense() { boolean result = false; try { ... 阅读全文
posted @ 2016-11-16 13:58 小雨滴答 阅读(3221) 评论(1) 推荐(0) 编辑