org.zkoss.zkdemo.userguide
Class DemoWebAppInit

java.lang.Object
  extended by org.zkoss.zkdemo.userguide.DemoWebAppInit
All Implemented Interfaces:
WebAppInit

public class DemoWebAppInit
extends java.lang.Object
implements WebAppInit

Author:
jumperchen

Constructor Summary
DemoWebAppInit()
           
 
Method Summary
 void init(WebApp wapp)
          Called when a ZK application is created and initialized.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DemoWebAppInit

public DemoWebAppInit()
Method Detail

init

public void init(WebApp wapp)
          throws java.lang.Exception
Description copied from interface: WebAppInit
Called when a ZK application is created and initialized.

You could retrieve the servlet context by WebApp.getNativeContext()

Specified by:
init in interface WebAppInit
Throws:
java.lang.Exception


Copyright © 2005-2009 Potix Corporation. All Rights Reserved.