`
文章列表
import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.util.ArrayList; import java.util.List; public class GetConn { private Connection conn; private PreparedStatement pstmt; public List<String> query ...
JavaScript:操作Table(二):使用DOM对象(Table、TableRow、TableCell) <html>     <head>         <title>Table Test</title>                 <script type="text/javascript">             function $(id) {                 return document.getElementById(id);             }         ...
方法一:DOM实现 //先获取该表格的引用: var Container = document.getElementById(TableId); //然后创建行(TR对象) var NewTr = document.createElement("tr"); //填充该表格行 var NewTd1 = document.createElement("td"); ...
<jsp:include/>的使用   包含相对路径:<jsp:include page="test.jsp"/>指当前路径下的test.jsp文件   包含绝对路径:<jsp:include page="/test.jsp"/>指相对系统根目录,用Tomcat测试为不包含项目名的路径 例:http://192.168.1.165:8080/frame2/mark/def/402881251ee9f35d011eea36e73f0008.jsp frame2是项目名,则指的是http://192.168.1.165: ...
类: com.yx.news.view.action.TaoFunction   package com.yx.news.view.action; import com.yx.common.constant.SystemFiles; import com.yx.common.util.GetSetInfo; import com.yx.dao.bean.DAOFactory; import com.yx.news.data.bo.TStyle; import com.yx.news.model.ITStyleService; public class TaoFunction {     ...
使只读: document.getElementById("表单元素ID").readOnly=true; 使可写: document.getElementById("表单元素ID").readOnly=false; 经过测试兼容于FireFox和IE
1.Toolbar的配置 在fckconfig.js中添加 FCKConfig.ToolbarSets["style"] = [     ['Bold','Italic','-','OrderedList','UnorderedList','-','Link','Unlink','-','About'] ] 自定义的工具集。 使用: <script type="text/javascript">           //第一种方法         var oFCKeditor = new FCKeditor('FCKeditor1');   ...
1.创建myconfig.js 内容: FCKConfig.AutoDetectLanguage = false ; FCKConfig.DefaultLanguage = "en" ; 注:语言设为英文,默认是中文的。 2.配置myconfig.js 方法一 :修改WebRoot/fckeditor/fckconfig.js中的FCKConfig.CustomConfigurationsPath = '' ;为FCKConfig.CustomConfigurationsPath = '项目名/myconfig.js' ; 方 法二 : <script type ...
添加jar包: fckeditor-java-2.4.1/fckeditor-java-core-2.4.1.jar fckeditor-java-2.4.1/lib/commons-fileupload-1.2.1.jar fckeditor-java-2.4.1/lib/commons-io-1.3.2.jar fckeditor-java-2.4.1/lib/slf4j-api-1.5.2.jar sfckeditor-java-demo-2.4.1.war/WEB-INF/lib/slf4j-simple-1.5.2.jar 注:fckeditor-java-2.4.1/lib/s ...
构造器 var FCKeditor = function( instanceName, width, height, toolbarSet, value ) {     // Properties     this.InstanceName    = instanceName ;     this.Width            = width            || '100%' ;     this.Height            = height        || '200' ;     this.ToolbarSet        = toolbarSet    || ...
Fckeditor对象的属性 属性名 默认值 描述 Width 宽度 100% Height 高度 200 Value 编辑器初始化的内容 (空字符串) ToolBarSet 工具条集合的名称(内置有Default和Basic,也可以自己定制) Default BasePath 编辑器的基路径 /fckeditor/     <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> < ...
1.安装         把FCKeditor_2.6.3.zip解压后的内容拷到WebRoot下。 2.使用 <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> <html>   <head>     <title>My JSP 'index.jsp' starting page</title>   </head>       <script type=" ...
ClassLoad类的加载机制: * 并非一次性加载 * 需要的时候加载 * java -verbose class可以观察类的具体加载过程 * static语句块在加载后执行一次 * dynamic语句块每次new新的对象都会执行(等同于构造一元方法中的语句,用的较少        
global-config.xml <?xml version="1.0" encoding="UTF-8"?> <sys-config>     <jdbc-info>         <driver-class-name>oracle.jdbc.driver.OracleDriver</driver-class-name>         <url>jdbc:oracle:thin:@127.0.0.1:1521:xe</url>   ...
<?xml version="1.0" encoding="UTF-8"?> <project name="AntDemo" default="compile" basedir="."> <property name="src" location="./src"/> <property name="build" location="./WEB-INF/class ...
Global site tag (gtag.js) - Google Analytics