hi,
first of all there are examples at:
http://example.irian.at/myfacesexamples/home.jsf
which include ajax parts, is there a way to download those?
ive installed tomahawk 7 and the examples packages on ubuntu 11.04 i
believe.
for whatever reason the examples get installed to
/usr/share/tomahawk7-examples/examples
but the path tomcat serves files from is /var/lib/tomcat7/webapps/Root
ive copied the examples dir to the Root dir. i can see the overview
page, but running the helloworld example results in:
*type* Status report
*message* _/examples/servlets/servlet/HelloWorldExample_
*description* _The requested resource
(/examples/servlets/servlet/HelloWorldExample) is not available.
_
which is correct:
ls -alh /var/lib/tomcat7/webapps/ROOT/examples/servlets/
total 48K
drwxr-xr-x 3 root root 4.0K Mar 31 03:37 .
drwxr-xr-x 5 root root 4.0K Mar 31 03:37 ..
-rw-r--r-- 1 root root 2.7K Mar 31 03:37 cookies.html
-rw-r--r-- 1 root root 2.6K Mar 31 03:37 helloworld.html
drwxr-xr-x 2 root root 4.0K Mar 31 03:37 images
-rw-r--r-- 1 root root 5.1K Mar 31 03:37 index.html
-rw-r--r-- 1 root root 2.3K Mar 31 03:37 reqheaders.html
-rw-r--r-- 1 root root 3.6K Mar 31 03:37 reqinfo.html
-rw-r--r-- 1 root root 4.5K Mar 31 03:37 reqparams.html
-rw-r--r-- 1 root root 3.2K Mar 31 03:37 sessions.html
the folder servlet is not there.
so how am i supposed to install the examples?
greets