[EMAIL PROTECTED] wrote:
> > You can of course still link to attachment.db. (perhaps with url tag).
> 
> No you can not. TomCat gives me an error message indicating that
> /attachment.db is not available.Which is correct, since there is no mapping for this 
>in web.xml.

So, add it to web.xml.

> > In fact one could as well use the image-tag, because it is the same
> > class, the only difference being that specifying a 'template' does not
> > make sense for an attachment.
> 
> This doesn't work either, an url like "http://localhost:8080/img.db?12994";
> doesn't work for me if 12994 is a file that is not an image.

Yes, this general behavior is new in 1.6.

> Again: what am I missing? As far as I can see, attachments just
> don't work in MMBase1.5, and the releasenotes don't mention this as
> a "known issue".Can I configure things to make it work or is this
> another serious bug?


Yes, simply map 'servdb' to attachment.db as well.

See for example:

http://www.mmbase.org:8070/testing/common/lastbuild/mmdocs/administrators/configuration.html#servlets

 Michiel

-- 
Michiel Meeuwissen 
Mediapark, C 107 tel. +31 (0)35 6772979



Reply via email to