`
文章列表

session

    博客分类:
  • java
用的是struts框架 过滤器部分代码: public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain)   throws IOException, ServletException   {   HttpServletRequest httpreq = (HttpServletRequest)request;   HttpSession session = httpreq.getSession();   String url = httpreq.getRequestURI();   ...

DB .java

    博客分类:
  • java
package com.zf.util; import java.sql.*; public class DB { private static final String DRIVER="oracle.jdbc.driver.OracleDriver"; private static final String strURL="jdbc:oracle:thin:@localhost:1521:oracle9i"; private static final String username="system"; priv ...
index.jsp <%@ page language="java" import="java.util.*" pageEncoding="utf-8"%> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>this is my first Extjs Demo...</title> <!-- ext-all ...

java编程规范学习

    博客分类:
  • java
ddsadsad
张孝祥正在整理Java就业面试题大全.doc //修改后 if(location.search.replace(/\?/ig,"").split("=")[1]=='1'){ // Add the appender to the logger log.addAppender(popUpAppender); }

JsonArray jar 包

    博客分类:
  • java
replace(new RegExp('-','gm'),'.')
Float f1 = new Float("10F"); Float f2 = new Float("10F"); Double d1 = new Double("10D"); System.out.println("abc"=="abc"); short c1=1; short c2=1; System.out.println(c1 == c2); System.out.println(f1 == f2); System.out.println( f1. ...

edo

edggggggggggggggggggg
引用 Ext.BLANK_IMAGE_URL='scripts/ext/resources/images/default/tree/s.gif'; Ext.form.Field.prototype.msgTarget = 'side'; var mainPanel =new Ext.TabPanel({ region: 'center', deferredRender: false, activeTab: 0, enableTabScroll : true, margins: '0 4 5 0',//设置边距 items: [{ id:'homePage', title:' ...
function formetSex(value,meta,record,rowIndex,colIndex,store){ // alert("[" + rowIndex + "," + colIndex + "]"); // alert(record.data.name); return value=="0"?"男":"女"; } Ext.onReady(function(){ var fields = ["id","name" ...
<div id="north-div"></div> <div id="west-div"></div> <div id="center-location"></div> <div id='center-main'> <div id="serviceconfig-menu"></div> <div id="serviceconfig-illuminate"> ...
setTimeout(send, 0) function search() {     //会不会是这边在创建的时候 缺少一些选项控制?     var xmlHttp=createRequest();     var url = "search.php";     xmlHttp.open("POST",url,true);     xmlHttp.onreadystatechange=function(){        ...
一种是修改firefox的设置,在firefox的地址栏中输入“about:config”,并找到signed.applets.codebase_principal_support,将其设为true。 还有就是 使用编程的方法,在访问其它域之前,可以使用如下代码打开权限: try {     netscape.security.PrivilegeManager.enablePrivilege("UniversalBrowserRead"); } catch (exception) {     alert(exception); } SRGAjax.se ...
Global site tag (gtag.js) - Google Analytics