Raible's Wiki

Raible Designs
Wiki Home
News
Recent Changes

AppFuse

Homepage
  - Korean
  - Chinese
  - Italian
  - Japanese

QuickStart Guide
  - Chinese
  - French
  - German
  - Italian
  - Korean
  - Portuguese
  - Spanish
  - Japanese

User Guide
  - Korean
  - Chinese

Tutorials
  - Chinese
  - German
  - Italian
  - Korean
  - Portuguese
  - Spanish

FAQ
  - Korean

Latest Downloads

Other Applications

Struts Resume
Security Example
Struts Menu

Set your name in
UserPreferences


Referenced by
Main
TextFormattingRules
WhatIsWiki




JSPWiki v2.2.33

[RSS]


Hide Menu

SandBox


Difference between version 262 and version 261:

At line 16 added 1 line.
At line 17 changed 2 lines.
{{{
venkat reddy mandadi}}}
[{Java2HtmlPlugin
protected static void start() throws Exception {
String[] paths = {"/WEB-INF/applicationContext*.xml",
"/org/appfuse/dao/applicationContext-test.xml"};
ctx = new ClassPathXmlApplicationContext(paths);
DataSource ds = (DataSource) ctx.getBean("dataSource");
conn = new DatabaseConnection(ds.getConnection());
dataSet = new XmlDataSet(new FileInputStream("test/data/sample-data.xml"));
// clear table and insert only sample data
DatabaseOperation.CLEAN_INSERT.execute(conn, dataSet);
}
}]

Back to SandBox, or to the Page History.