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> [EMAIL PROTECTED]

AH> ----- Original Message ----- 
AH> From: "Ferrari Massimo" <[EMAIL PROTECTED]>
AH> To: <[EMAIL PROTECTED]>
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:[EMAIL PROTECTED]>
>> For additional commands: <mailto:[EMAIL PROTECTED]>
>> Troubles with the list: <mailto:[EMAIL PROTECTED]>


AH> --
AH> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
AH> For additional commands: <mailto:[EMAIL PROTECTED]>
AH> Troubles with the list: <mailto:[EMAIL PROTECTED]>



-- 
Best regards,
 Jacob                            mailto:[EMAIL PROTECTED]


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to