org.hibernate.dialect.SQLServerDialect
net.sourceforge.jtds.jdbc.Driver jdbc:jtds:sqlserver://localhost:1433/dbname
http://www./ 9148 123456
<%@ taglib uri="http://java./jsp/jstl/core" prefix="c" %> <%@ taglib uri="http://java./jsp/jstl/fmt" prefix="fmt" %> <%@ taglib uri="http://java./jsp/jstl/functions" prefix="fn" %> <%@ taglib uri="http://struts./tags-html" prefix="html" %> <%@ taglib uri="http://struts./tags-logic" prefix="logic" %> <%@ taglib uri="http://www." prefix="ec" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
@Id @GeneratedValue(strategy = GenerationType.AUTO)
the edit method of Dispatch have a identity id was idName other as thie delete method‘s identity primary key was id
<controller> <set-property property="processorClass" value="org.springframework.web.struts.DelegatingRequestProcessor"/> </controller>
//默认为/WEB-INF/“ActionServler的action名”加“-servlet.xml” //比如/WEB-INF/action-servlet.xml <plug-in className="org.springframework.web.struts.ContextLoaderPlugIn"> <set-property property ="contextConfigLocation" value="/WEB-INF/applicationContext.xml"/> </plug-in>
org.apache.struts.validator.LazyValidatorForm
org.springframework.web.struts.DelegatingActionProxy
<Host> <Logger className="org.apache.catalina.logger.FileLogger" directory="logs" prefix="localhost_log." suffix=".txt" timestamp="true"/> </Host>
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE beans PUBLIC "-//SPRING/DTD BEAN/EN" "http://www./dtd/spring-beans.dtd">
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN 2.0//EN" "http://www./dtd/spring-beans-2.0.dtd">
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www./schema/beans" xmlns:xsi="http://www./2001/XMLSchema-instance" xmlns:aop="http://www./schema/aop" xmlns:tx="http://www./schema/tx" xsi:schemaLocation=" http://www./schema/beans http://www./schema/beans/spring-beans-2.0.xsd http://www./schema/tx http://www./schema/tx/spring-tx-2.0.xsd http://www./schema/aop http://www./schema/aop/spring-aop-2.0.xsd" default-autowire="byName" default-lazy-init="true">
<context-param> <param-name>contextConfigLocation</param-name> <param-value> /WEB-INF/daoContext.xml, /WEB-INF/config/appContext1.xml, /WEB-INF/config/appContext2.xml </param-value> </context-param> <listener> <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class> </listener> <!-- 另一种是使用ContextLoaderServlet <servlet> <servlet-name>context</servlet-name> <servlet-class>org.springframework.web.context.ContextLoaderServlet</servlet-class> <load-on-startup>1</load-on-startup> </servlet> -->
http://tomcat./native/1.1.8/binaries/win32/tcnative-1.dll
Long转Int Integer.parseInt(String.valueOf(longValue))
#98AB6F #99FF00
.eXtremeTable .odd { background-color: #FFFFFF; }
.eXtremeTable .even { background-color: #dfe4e8; }
.eXtremeTable .highlight td { color: black; font-size: 12px; padding-top: 2px; padding-right: 3px; padding-bottom: 2px; padding-left: 3px; vertical-align: middle; background-color: #fdecae; }
extremetable extremetable
一、按钮链接(打开新页面)
<input type="button" name="Submit4" value="查看详情" onClick="window.open(‘YtfcMrdaView.htm‘);">
二、按钮链接(当页跳转)
<input type="button" name="Submit23" value="返回顶部" onclick=window.location="#top">
求助 用js来控制框架页面
html <html> <head> <meta HTTP EQUIV="Content Type" CONTENT="text/html; charset=gb2312"> <title>用js来控制框架页面</title> </head> <frameset rows="148,*,36"> <frame name="top" scrolling="no" noresize target="leftBar" src="head asp"> <frameset cols="150,*"> <frame name="leftBar" target="main" src="left asp"> <frame name="main" src="main asp"> </frameset> <frame name="bottom" scrolling="no" noresize src="boot asp"> </frameset> </html> /html 请问这样一个框架页面,如果我想通过点击head asp中的一个图片来实现开关left asp所在框架的显示与不显示,应该怎么做呢?? 修改主页面 code <frameset cols="150,*"> /code 为 code <frameset cols="150,*" name="ff"> /code
然后修改你的main asp,加入一个图片,如
code <img src=" " onclick="parent document all ff cols=(parent document all ff cols==‘150,*‘?‘0,*‘:‘150,*‘)"/> /code
|