tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pid <...@pidster.com>
Subject Re: Servlet mapping issue
Date Fri, 25 Jun 2010 10:36:45 GMT
On 24/06/2010 19:24, laredotornado wrote:
> 
> 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

Does the JSP have any includes from the same directory, that might work
when you're using the /* ending, but not when you're using the single JSP?

If you put the mapping back to:

 /play/music/includes/venue-listing

and call it with the params on the end, does it work then?


p


> n828cl wrote:
>>
>>> From: laredotornado [mailto:laredotornado@gmail.com]
>>> Subject: Servlet mapping issue
>>>
>>> <url-pattern>/play/music/includes/venue-listing</url-pattern>
>>
>> You left the .jsp off the end of venue-listing.
>>
>>  - Chuck
>>
>>
>> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
>> MATERIAL and is thus for use only by the intended recipient. If you
>> received this in error, please contact the sender and delete the e-mail
>> and its attachments from all computers.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
>>
> 



Mime
View raw message