Hi all,

I wrote a servlet, and the url to call it is

http://localhost:8080/magnoliaAuthor/.magnolia/myServlet

I made the following entries into web.xml:

    <servlet>
        <description>myServlet</description>
        <display-name>myServlet</display-name>
        <servlet-name>myServlet</servlet-name>
        <servlet-class>de.myproj.myServlet</servlet-class>
    </servlet>
    <servlet-mapping>
        <servlet-name>myServlet</servlet-name>
        <url-pattern>/.magnolia/myServlet</url-pattern>
    </servlet-mapping>

The Problem now is every time I call the servlet, I get a magnolia log error:

"cannot find MIME type for extension "magnolia/myServlet"

I see that I can define MIME types in AdminCentral/config/server/MIMEmapping, but I do not have an extention to call the servlet, so what can I do to register the MIME type?

Thanks in advance for any hint,

Bernd

----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------

Reply via email to