Re: [Simpleweb-Support] Re: Simpleweb-Support digest, Vol 1 #72 - 2 msgs
Brought to you by:
niallg
From: Niall G. <gal...@ya...> - 2005-06-28 13:54:47
|
Hi, You can download the demo package from the following location. http://simpleweb.sourceforge.net/download/download.php?version=2.6&package=simple-demo-1.0.tar.gz The source for the standalone server used in the demo package can be extracted from the simple-demo-1.0.jar file. You can use the following command: jar -xvf simple-demo-1.0.jar In the source look for the Java file simple/demo/serve/Server.java, this contains the source for running and configuring the server. Look for a line in the Server.java file that contains the following text new VelocityContainer(); Change this to the following new GroovyContainer(Server.context); Also you might want to change the imports also. This should work fine! Niall Niall Gallagher __________________________________ Yahoo! Mail Stay connected, organized, and protected. Take the tour: http://tour.mail.yahoo.com/mailtour.html |