diff --git a/docs/demo3.html b/docs/demo3.html
index 0fa17058984..ab5626d035a 100644
--- a/docs/demo3.html
+++ b/docs/demo3.html
@@ -14,6 +14,8 @@
+
+
Jakarta Lucene - Jakarta Lucene - Building and Installing the Basic Demo
@@ -144,7 +146,9 @@ Let's start by creating the index you'll need for the web examples.
Since you've already set your classpath in the previous examples,
all you need to do is type
"java org.apache.lucene.demo.IndexHTML -create -index {index-dir} ..".
-You'll need to do this from your {tomcat}/webapps/luceneweb directory. {index-dir}
+You'll need to do this from a (any) subdirectory of your {tomcat}/webapps directory (make sure you didn't leave off the ".." or you'll get a null pointer
+exception).
+{index-dir}
should be a directory that Tomcat has permission to read and write, but is
outside of a web accessible context. By default the webapp is configured
to look in /opt/lucene/index for this index.
@@ -262,3 +266,9 @@ If you want to know more about how this web app works or how to customize it the
+
+
+
+
+
+