`
文章列表

table表格

    博客分类:
  • css
<style> table.gridtable { font-family: verdana,arial,sans-serif; font-size:11px; color:#333333; border-width: 1px; border-color: #D5D4D4; border-collapse: collapse; } table.gridtable thead tr th { border-width: 1px; padding: 8px; font-size:1.1em; font-weight:bold; text-align:left; c ...
weblogic中使用HttpURLConnection,在TOMCAT下运行正常,但是在weblogic下报错,是由于使用了weblogic的HttpURLConnection 解决问题如下: 对于单机的Weblogic配置,可以在启动脚本中(比如startWebLogic.sh)在JAVA_OPTIONS增加 -DUseSunHttpHandler=true ,例如 set JAVA_OPTIONS=%JAVA_OPTIONS% %JAVA_PROPERTIES% -DUseSunHttpHandler=true -Dwlw.iterativeDev=%iterativeDevFla ...
1、定义写一个上传附件的jsp文件uploadfile.jsp <%@ page language="java" pageEncoding="UTF-8"%> <%@page import="java.io.*;"%> <html> <body>     <%         InputStream in = request.getInputStream();         request.setCharacterEncoding("utf-8") ...
1 查询限制功能是否开启 SQL> show parameter resource_limit; NAME                                 TYPE        VALUE ------------------------------------ ----------- ------------------------------ resource_limit                   ...

Oracle记录锁管理

查询用户锁 select b.username,        b.sid,        b.serial#,        logon_time,        'alter system kill session ''' || sid || ',' || b.serial# || ''';'   from v$locked_object a, v$session b where a.session_id = b.sid order by b.logon_time; 解锁 语法 alter system kill session 'sid,serial#'; 示例 1、查询用户锁: ...

table固定表头v2.0

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head>     <title></title>     <script type="text/javascript" ...
查询一级菜单 select t.position ID,                     ELEMENTTYPE appType,                     mod.description,                     NULL PID                from maxmenu t, maxmodules mod               where t.keyvalue = mod.module                 and t.menutype = 'MODULE'                 and t.elementtype ...

table固定表头

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head>     <title></title>     <script src="http://ajax.googleapis. ...
CREATE OR REPLACE PROCEDURE searchMenuByUserId(inuserid IN varchar,                                                menucur  OUT sys_refcursor,                                                errorMsg OUT varchar) IS BEGIN   errorMsg := '';   OPEN menucur FOR     select *       from (            --查询一级 ...
//页面位置及窗口大小 function GetPageSize() { var scrW, scrH; if(window.innerHeight && window.scrollMaxY) {    // Mozilla   scrW = window.innerWidth + window.scrollMaxX;   scrH = window.innerHeight + window.scrollMaxY; } else if(document.body.scrollHeight > document.body.offsetHeight) {    // al ...
前端代码 $(document).ready(function() {       $("#uploadify").uploadify({                      'swf'            : '<%=path%>/resources/uploadify/uploadify.swf',                      'uploader'       : '<%=path%>/bulkAssetFile;jsessionid=${pageContext.session.id}',//后台处理的请求       ...
一般使用filter过滤用户是否登录,如果用户没有登陆则转向登陆页面,这时候可以使用response.sendRedirect()。 但当在页面上使用了iframe后,发现被重定向的只是父页面中的iframe区域,登陆页面内容显示在该区域中。说明在过滤器中发送重定向请求时,是在iframe页面发送的。错误的代码如下: Java代码     HttpServletRequest req = (HttpServletRequest) request;      Visitor visitor = (Visitor) req.getSession().getAttribute("vi ...
$.ajaxFileUpload             (                 {                     url:'upload1.jhtml',                     secureuri:false,                     fileElementId:'uploadFile',                     dataType: 'json',                     success: function (data, status)                     {               ...
response.setContentType()的参数说明 <meta http-equiv="Content-Type" content="text/html; charset=GBK"> response.setContentType() ; * = application/octet-stream .001 = application/x-001 .301 = application/x-301 .323 = text/h323 .906 = application/x-906 .907 = drawing/907 .a11 = ...
前端代码 var url= '<%=path%>/analyzeAssetExcel'; url=url+'?siteId='+siteId; $.ajaxFileUpload({         url:url,         secureuri:false,          fileElementId:'assetupload',         dataType:'text',         success: function (data, status){         data=$.parseJSON(data);         if ...
Global site tag (gtag.js) - Google Analytics