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 318 and version 73:

At line 1 changed 1 line.
:)
[this mailing list thread|http://nagoya.apache.org/eyebrowse/[email protected]&msgNo=451].
At line 3 changed 27 lines.
hi
this is
a return line
here
[网站建设|http://www.emmss.com]
[s1|http://www.emmss.com/sitemap.html]
[s2|http://www.emmss.com/sitemap2.asp]
[01|http://www.emmss.com/pages/website.asp]
[02|http://www.emmss.com/pages/company.asp]
[03|http://www.emmss.com/pages/net_company.asp]
[04|http://www.emmss.com/pages/citys.asp]
[05|http://www.emmss.com/pages/web.asp]
[06|http://www.emmss.com/pages/solutions.html]
[07|http://www.emmss.com/pages/chongqing/]
[08|http://www.emmss.com/pages/chongqing1/]
[09|http://www.emmss.com/pages/chongqing2/]
[10|http://www.emmss.com/pages/beijing/]
[11|http://www.emmss.com/pages/beijing1/]
[12|http://www.emmss.com/pages/beijing2/]
[13|http://www.emmss.com/pages/shanghai/]
[14|http://www.emmss.com/pages/shanghai1/]
[15|http://www.emmss.com/pages/shanghai2/]
[16|http://www.emmss.com/pages/shenzhen/]
[17|http://www.emmss.com/pages/shenzhen1/]
[18|http://www.emmss.com/pages/shenzhen2/]
here
is a double line
[What is this SandBox?|WhatIsThisSandBox]
At line 31 changed 1 line.
{{{another test}}}
[{Java2HtmlPlugin
At line 33 changed 27 lines.
{{{
Foo f = (Foo) FooFactory.newInstance();
}}}
* [http://www.emmss.net 网站建设]
* [http://www.emmss.net 网站建设]服务
* [http://www.emmss.net 网站建设]公司
* 上海[http://www.emmss.net 网站建设]
* [http://www.emmss.com/ 重庆]
* [http://www.emmss.com/pages/beijing/ 北京]
* [http://www.emmss.com/pages/shanghai/ 上海]
* [http://www.emmss.com/pages/shenzhen/ 深圳]
* [http://www.emmss.com/pages/chongqing1/ 重庆公司]
* [http://www.emmss.com/pages/beijing1/ 北京公司]
* [http://www.emmss.com/pages/shanghai1/ 上海公司]
* [http://www.emmss.com/pages/shenzhen1/ 深圳公司]
* [http://www.emmss.com/pages/chongqing2/ chongqing]
* [http://www.emmss.com/pages/beijing2/ beijing]
* [http://www.emmss.com/pages/shanghai2/ shanghai]
* [http://www.emmss.com/pages/shenzhen2/ shenzhen]
[http://www.emmss.com/pages/website.asp 01]
[http://www.emmss.com/pages/company.asp 02]
[http://www.emmss.com/pages/net_company.asp 03]
[http://www.emmss.com/pages/citys.asp 04]
[http://www.emmss.com/pages/web.asp 05]
[http://www.emmss.com/pages/solutions.html 06]
[http://www.emmss.com/sitemap.html s1]
[http://www.emmss.com/sitemap2.asp s2]
import javax.naming.Context;
import javax.naming.InitialContext;
At line 10 added 1 line.
import junit.framework.TestCase;
At line 62 changed 3 lines.
|nice|template|how|can
|i|make|tables|look
|better|?|?|?
import org.mockejb.MockContainer;
import org.mockejb.SessionBeanDescriptor;
import org.mockejb.jndi.MockContextFactory;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
At line 66 changed 1 line.
[{Java2HtmlPlugin
/**
* Parent TestCase class for testing EJBs using MockEJB
*
* @author mraible
*
*/
public abstract class MockEJBTestCase extends TestCase {
At line 68 changed 4 lines.
public void setUp() throws Exception {
String[] paths = {"/applicationContext.xml", "/action-servlet.xml"};
ctx = new [Open|http://www.online1.sh.cn] [WiKi|http://www.newline.sh.cn]ClassPathXmlApplicationContext(paths);
}
/**
* This method sets up a MockContainer and allows you to deploy an EJB to
* it. Override <code>onSetUp()</code> to add custom set-up behavior.
*
* @see #onSetUp()
*/
protected final void setUp() throws Exception {
MockContextFactory.setAsInitial();
Context ctx = new InitialContext();
ApplicationContext appCtx =
new ClassPathXmlApplicationContext(getConfigLocations());
ctx.bind("java:comp/env/jdbc/appDS", appCtx.getBean("dataSource"));
MockContainer mc = new MockContainer(ctx);
SessionBeanDescriptor dd = getDeploymentDescriptor();
mc.deploy(dd);
onSetUp();
}
protected String[] getConfigLocations() {
return new String[] { "classpath:/applicationContext.xml" };
}
protected void onSetUp() throws Exception {}
protected abstract SessionBeanDescriptor getDeploymentDescriptor();
}
At line 73 removed 1 line.
----
At line 58 added 2 lines.
[CreateDAO_zh]
[CreateDAO_sp]
At line 61 added 8 lines.
[CreateManager_es]
[QuickStart Guide_es]
[SpringControllerUnitTest]
[δΈ­ζ–‡ζŒ‡ε—|Articles_zh]

Back to SandBox, or to the Page History.