tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Höglind <a...@hoglind.com>
Subject Re: Re[2]: Encoding problem (?)
Date Sat, 11 May 2002 12:02:29 GMT
Okey, I missed that one, but "*" means any url-character and that includes "/" (root). 

Cheers,
Alexander Höglind
alex@hoglind.com

----- Original Message ----- 
From: "Jacob Kjome" <hoju@visi.com>
To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
Sent: Thursday, April 25, 2002 8:43 PM
Subject: Re[2]: Encoding problem (?)


> Hello Alexander,
> 
> That isn't true,
> 
> How about this?
> 
> <!-- The mapping for the JSP servlet -->
>     <servlet-mapping>
>         <servlet-name>jsp</servlet-name>
>         <url-pattern>*.jsp</url-pattern>
>     </servlet-mapping>
> 
> That is the standard way to map any file ending in .jsp and this is
> pulled straight from Tomcat-4.x.x conf/web.xml.  Do you see a
> prepended "/"?  I don't.
> 
> Jake
> 
> Thursday, April 25, 2002, 1:39:09 PM, you wrote:
> 
> AH> Hi Massimo,
> AH> Maybe this solves your problem.
> AH> Any servlet-mapping or filter-mapping URL must begin with a "/".  <url-pattern>/MyURL</url-pattern>
> 
> AH> Alexander Höglind
> AH> alex@hoglind.com
> 
> AH> ----- Original Message ----- 
> AH> From: "Ferrari Massimo" <massimo.ferrari@ecofin.ch>
> AH> To: <tomcat-user@jakarta.apache.org>
> AH> Sent: Friday, April 19, 2002 11:41 AM
> AH> Subject: Encoding problem (?)
> 
> 
> >> Hi all,
> >> I have troubles trying to start timcat 4.0.2 on win2k.
> >> I get this error
> >> 
> >> ERROR reading java.io.ByteArrayInputStream@704baa
> >> At Line 20 /web-app/servlet-mapping/
> >> 
> >> when tomcat tries to read my web.xml file (attached)
> >> I tried to convert this file to UNIX, UTF, ... but without success.
> >> Thank you in advance
> >> Massimo
> >> 
> >> 
> 
> 
> AH> --------------------------------------------------------------------------------
> 
> 
> >> --
> >> To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> >> For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
> >> Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
> 
> 
> AH> --
> AH> To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> AH> For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
> AH> Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
> 
> 
> 
> -- 
> Best regards,
>  Jacob                            mailto:hoju@visi.com
> 
> 
> --
> To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
> Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
> 

--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message