This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" | |
"http://www.w3.org/TR/html4/loose.dtd"> | |
<html> | |
<head> | |
<title>Departments</title> | |
<!-- Include Ext and app-specific scripts: --> | |
<link rel="stylesheet" type="text/css" href="css/ext-all.css"/> | |
<script type="text/javascript" src="scripts/ext-base.js"></script> | |
<script type="text/javascript" src="scripts/ext-all-debug.js"></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> | |
<link rel="stylesheet" href="css/style.css" type="text/css" media="screen"/> | |
<script type="text/javascript" src="scripts/prototype.js"></script> | |
<script type="text/javascript" src="scripts/scriptaculous.js"></script> | |
<title>Reports</title> | |
<script type="text/javascript"> | |
function renderParameters() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE sqlMapConfig PUBLIC "-//iBATIS.com//DTD SQL Map Config 2.0//EN" "http://www.ibatis.com/dtd/sql-map-config-2.dtd"?> | |
<sqlmapconfig> | |
<settings cacheModelsEnabled="false" enhancementEnabled=" true" lazyLoadingEnabled="true" | |
maxRequests="32" maxSessions="100" maxTransactions="100" useStatementNamespaces="false"/> | |
<transactionmanager type="JDBC"> | |
<datasource type="JNDI"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<transactionmanager type="JDBC"> | |
<datasource type="SIMPLE"> | |
<property name="JDBC.Driver" value="com.mysql.jdbc.Driver"/> | |
<property name="JDBC.ConnectionURL" value="jdbc:mysql:///localhost"/> | |
<property name="JDBC.Username" value="user"/> | |
<property name="JDBC.Password" value="password"/> | |
<!-- optional elements include --> | |
<property name="Pool.MaximumActiveConnections" value="10"/> | |
<property name="Pool.MaximumIdleConnections" value="5"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8" ?> | |
<!DOCTYPE sqlMap PUBLIC "-//iBATIS.com//DTD SQL Map 2.0//EN" | |
"http://www.ibatis.com/dtd/sql-map-2.dtd"> | |
<sqlmap namespace="Account"> | |
<typealias alias="account" type="com.j2eegeek.ibatis.domain.Account"/> | |
<resultmap id="accounts" class="account"> | |
<result property="userID" column="userid"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SqlMapClient sqlMapClient = null; | |
try { | |
String sqlMapConfigFile = "sql-map-config.xml"; | |
Reader sqlMapConfigReader = Resources.getResourceAsReader(sqlMapConfigFile); | |
sqlMapClient = SqlMapClientBuilder.buildSqlMapClient(sqlMapConfigReader); | |
} catch (IOException e) { | |
log.error(e); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MBeanHome home = null; | |
try { | |
Environment env = new Environment(); | |
env.setProviderUrl("t3://adminserver:port"); | |
env.setSecurityPrincipal("username"); | |
env.setSecurityCredentials("password"); | |
Context ctx = env.getInitialContext(); | |
home = (MBeanHome) ctx.lookup(MBeanHome.ADMIN_JNDI_NAME); | |
} catch (NamingException e) { | |
System.out.println("Exception caught: " + e); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
---------- Forwarded message ---------- | |
From: Mark S. Miller <erig...@google.com> | |
Date: Tue, Nov 16, 2010 at 3:44 PM | |
Subject: "Future of Javascript" doc from our internal "JavaScript Summit" | |
last week | |
To: java...@google.com | |
On November 10th and 11th, a number of Google teams representing a variety | |
of viewpoints on client-side languages met to agree on a common vision for | |
the future of Javascript. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.apache.pdfbox.util.PDFMergerUtility; | |
import java.io.File; | |
public class PDFCombineTest { | |
public static void main(String[] args) { | |
PDFMergerUtility mergerUtility = new PDFMergerUtility(); | |
mergerUtility.addSource(new File("C:\\projects\\PDFCombine\\docs\\Getting Started with Vaadin.pdf")); | |
mergerUtility.addSource(new File("C:\\projects\\PDFCombine\\docs\\Getting Started With Hadoop_0.pdf")); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Request Headers: | |
GET http://stgwap03:7400/ArtisanServices/roleMaint/role/roleTypes?_dc=1342040695632&page=1&start=0&limit=25 HTTP/1.1 | |
Host: stgwap03:7400 | |
Connection: keep-alive | |
X-Requested-With: XMLHttpRequest | |
User-Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.47 Safari/536.11 | |
Accept: */* | |
Referer: http://stgwap03:7400/ArtisanServices/roleMaint?categoryTypeId=1 |
OlderNewer