Hi,
I've fixed my problem and thought I would report back for other people who
wanted to use the demo HelloWorldExample servlet to test that new webapps
had been correctly set up.
HelloWorldExample.java (from $TOMCAT_HOME/webapps/examples/WEB-INF/classes
in the default install) contains this line:
String title = rb.getString("helloworld.title");
and rb is initialised by
ResourceBundle rb = ResourceBundle.getBundle("LocalStrings");
and I hadn't copied this text file into my new webapp! So for others trying
the same thing, copy
$TOMCAT_HOME/webapps/examples/WEB-INF/classes/LocalStrings.properties to
[your webapp]/WEB-INF/classes/LocalStrings.properties
Simon