tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Kolinko <knst.koli...@gmail.com>
Subject Re: Servlet mapping issue
Date Fri, 25 Jun 2010 17:05:11 GMT
2010/6/24 laredotornado <laredotornado@gmail.com>:
>
> I tried this too and still got the 404.
>
>        <servlet-mapping>
>                <servlet-name>MusicVenueServlet</servlet-name>
>                <url-pattern>/play/music/venues/*</url-pattern>
>
> <url-pattern>/play/music/includes/venue-listing.jsp</url-pattern>
>        </servlet-mapping>
>
> I also tried escaping the period in the file extension ("\.jsp"), but no
> luck.  Any ideas how to troubleshoot the problem further? - Dave
>

Mapping of exact jsp path to a servlet must work.

That is how precompiled JSP pages are added to a web application: they
are compiled into servlets and servlets are added into web.xml.   See
the jsp-examples webapp in Tomcat 5.5 for an example of such
configuration.


You have to specify the exact path as is. Escaping ('\.') is not
needed and will not work.

Best regards,
Konstantin Kolinko

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message