- 浏览: 32387 次
- 性别:
- 来自: 沈阳
最新评论
文章列表
//IE8下使用JS插入JSP表格
var tbl = document.getElementById('zhifangzhan');
var row = tbl.insertRow(rpt_count);
var cell = row.insertCell(0);
cell.innerHTML=str;
<%@ page language="java" contentType="text/html;charset=gbk" pageEncoding="gbk"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme() + "://"+ request.g ...
<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<html>
<head>
<title>UI Tags Example</title>
<s:head/>
</head>
<body>
<s:action ...
--RLDM
CREATE TABLESPACE RLDM DATAFILE 'F:\oracle\product\10.2.0\oradata\hmis\RLDM.dbf' SIZE 2000M AUTOEXTEND ON NEXT 50M MAXSIZE UNLIMITED;
create user RLDM
identified by RLDM
default tablespace RLDM
temporary tablespace TEMP
profile DEFAULT;
grant select on SYS.V_$SESSION to RLDM;
grant c ...
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<!--
Mapping file autogenerated by MyEclipse Persistence Too ...
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:a ...
PO
private Timestamp FLastmodifytimeInformation;
hbm.xml
<property name="FLastmodifytimeInformation" type="java.sql.Timestamp">
<column name="F_LASTMODIFYTIME_INFORMATION" />
</property>
action sava
info.setFLastmodifytimeInformation(Timestamp ...
//oracle存储过程
CREATE OR REPLACE PROCEDURE "PROC_GROUP_SUMMARY_EBM" (
VAR_CELL_ID IN VARCHAR2,
VAR_GROUP_ID IN VARCHAR2,
VAR_DATE IN DATE,
VAR_OWNERLAND IN VARCHAR2,
VAR_MOBILE_MANU IN VARCHAR2,
VAR_OUT OUT PK_MOBILE.CUR_GROUP_SUMMARY
)
AS
QUERY_STR VARCHAR2(1000) :=
'SELECT ...
<script type="text/javascript"
src="http://api.map.baidu.com/api?v=1.4"></script>
var cellId = "";
var pointer= "";
var map = new BMap.Map("l-map");
var point = new BMap.Point(<s:property value="#request.lon" />, ...
[align=left][/align]<%@ page language="java" contentType="text/html;charset=gbk"
pageEncoding="gbk"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
String basePath = request.getScheme() + "://"
+ request.getServerName() + ...
关于Spring的配置文件和数据源配置方式(MySQL数据库)
以下为自动注解Spring bean (Struts2 + Spring + hibernate)
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xm ...
<object id="player"
classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6"
codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,7,1112"
border="0"
standby="Loading Micr ...
JSP页面左面为树 右面为后台列表 附件为引用的JS文件
<%@ page language="java" pageEncoding="GBK"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+&quo ...
<%@ page contentType="text/html; charset=GBK" %>
<html>
<head>
<title>成功转向页</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<link rel=& ...
关于自动完成的前台代码。 附件为JS引用
$(document).ready(function() {
$("#FSitenameBasestation").autocomplete("fault_auto.do",
{
minChars: 1,
max:30,
width: 220,
matchContains: true,
dataType:'json',
autoFill: false,
matchSubset:true,
extraParams: { ...