I could be a bit off the ball here, but struts actions are case sensitive.
The servlet 'case-sensitive' element mapping only tells it that it should
ignore case for the servlet mapping - ie /myApp/ would also recognise
/myapp/ or /MyApP... etc.

Struts is still case sensitive, so if it's in your struts-config.xml as
"Contact", then "/contact" shouldnt work.

I dont know of a way to tell struts to act case-insensitivly.

Daniel.

-----Original Message-----
From: John Moore [mailto:[EMAIL PROTECTED]
Sent: 12 May 2004 15:30
To: Struts Users Mailing List
Subject: Re: Struts/Resin case-sensitivity


wojingo wrote:

>On Wed, 2004-05-12 at 23:17, John Moore wrote:
>
>
>>Not sure whether this is a Struts or Resin issue. I'm using Struts 1.1
>>with Resin 2.1.12, and I've set it so that all URLs get handled by
>>Struts unless otherwise specified, using the following URL mapping:
>>
>>    <servlet-mapping>
>>        <servlet-name>action</servlet-name>
>>        <url-pattern>/</url-pattern>
>>        <case-sensitive>false</case-sensitive>
>>    </servlet-mapping>
>>
>>The problem is that case-sensitivity remains resolutely true. /Contact
>>brings up the right page, /contact returns a Page Not Found. Any
>>suggestions?
>>
>>
>>
>
>Hi,
>
>What about,
><url-pattern>/*</url-pattern>
>
>
>
>

No, this doesn't do it. Someone on the Resin mailing list suggested that
it must be a Struts issue because Resin has already handed over the
handling to the servlet by the point any case-sensitivity comes into the
question - the / url-pattern won't be affected by case, it will pass
everything through.

John

--
=============================================
John Moore     -    Norwich, UK    -    [EMAIL PROTECTED]
=============================================

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to