If you want to run *.jsp and little examples ,
you should install a web server such as Tomcat on you OS.
I will give a guide which I wrote for
myself:
Run the
examples to use WebWork within Tomcat4.1.9
1.Install
Tomcat4.1.12 which can be download from http://jakarta.apache.org/tomcat/index.html
use
default config:
port:8080
if
you install it correctly,you can run tomcat by:http://127.0.0.1:8080/
2.Config
your website in Tomcat
add new
context
base
dir:e:\webwork
document:
/webwork
save
submit
change
restart tomcat.
3.Download
log4j /velocity /jdom (maybe not neccessary)
Use Ant
build log4j and velocity to get log4j.jar/velocity.jar
add them
into classpath
4.Config webwork.
Copy lib
file to e:\webwork\web-inf\
log4j.jar/velocity.jar/jdom.jar-->e:\webwork\web-inf\lib
webwork-1.2.1\lib\supporting-jars\*.jar-->e:\webwork\web-inf\lib
webwork-1.2.1\lib\webwork.jar-->e:\webwork\web-inf\lib
webwork-1.2.1\examples\web\web-inf\web.xml-->e:\webwork\web-inf
5.Run
little example and documents
exampls: http://127.0.0.1:8080/webwork
|