> Yes, simply map 'servdb' to attachment.db as well.
Thanks for the suggestion.
In fact, adding this servlet-mapping to web.xml does the trick:
<servlet-mapping>
<servlet-name>servdb</servlet-name>
<url-pattern>/attachment.db/*</url-pattern>
</servlet-mapping>
With this in place, attachments can be accessed by urls of the format:
/attachment.db/<filename>?<nodenumber>
So, for example, this will download attachement 13014 as a file named
"bestand1.txt" (regardless of the name of the original file):
http://localhost:8080/attachment.db/bestand1.txt?13014
Offcourse, the servlet-mapping should have been there all along, the SCAN
attachment editor requires it as well. I'll add it in the 1.5 branch in
CVS next week.
With all the mentioning of 1.6, let's not forget 1.6 is still a long way
from being released. Bugs still need to be fixed in 1.5.x.
Rob van Maris
Developer
Finalist IT Group
Java Specialists
-------------------------------------------------------------
Amsterdam, The Netherlands
Office: +31 20 5962321 (Direct)
Mobile: +31 651444006
Fax: +31 20 5962331
-------------------------------------------------------------