Jan is trying to tell you to use CLI and dotted name to set the alternate docroot.
On window, you can just type
asadmin set server.http-service.virtual-server.server.property.alternatedocroot_1="from=/user_document/* dir=c:\ " (put a space after the last back-slash, otherwise you will get syntax error)
If you are more familiar with the admin console, you can do this by going to the virtual server page.
Select tree node: Configuration -> HTTP-Service -> Virtual Server -> server
on the right panel, add a row to the property table,
property name: alternatedocroot_1
property value: from=/user_document/* dir=c:\
You can then access your test.pdf which is put under /user_document
Jan has a blog that explains alternate docroot for a web application. You may want to take a look too.
http://blogs.sun.com/jluehe/entry/alternate_docroots_in_web_applications
hope this help.
Anissa
[Message sent by forum member 'anilam' (anilam)]
http://forums.java.net/jive/thread.jspa?messageID=253526