tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luke Studley" <luke.stud...@cerillion.com>
Subject Servlet mapping with jsp-file
Date Fri, 26 May 2000 17:49:08 GMT
Hi all

I'm trying to create a URL mapping to a jsp file in web.xml, e.g.

    <servlet>
        <servlet-name>
            controller
        </servlet-name>
        <jsp-file>/normalcontent.jsp</jsp-file>
    </servlet>
    <servlet-mapping>
        <servlet-name>
            controller
        </servlet-name>
        <url-pattern>
		*.zzz
        </url-pattern>
    </servlet-mapping>

However this does not seem to work. I get returned HTTP 404 etc.
"<context - snipped>/normalcontent.jspnull not found"

Anybody else had any luck doing this, or know what the extra null is meant
to represent at the end of the path??

Any help much appreciated
Thanks

Luke

PS Sorry if this has been dealt with before - I've just subscribed today


Mime
View raw message