tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rainer Jung <rainer.j...@kippdata.de>
Subject Re: Weird (apocryphal) reference to Tomcat in Wikipedia
Date Wed, 05 Nov 2014 20:10:54 GMT
Am 05.11.2014 um 16:39 schrieb Christopher Schultz:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> André,
>
> On 11/5/14 10:31 AM, André Warnier wrote:
>> Christopher Schultz wrote:
>>> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
>>>
>>> All,
>>>
>>> I was reading the Wikipedia entry on .properties format
>>> yesterday (http://en.wikipedia.org/wiki/.properties) and I saw a
>>> mention of Apache Tomcat that doesn't make any kind of sense to
>>> me:
>>>
>>> " In Apache Tomcat the exclamation mark denotes a Negation
>>> operator when used as the first non blank character in a
>>> line[citation needed]. "
>>>
>>> I'm the one that added the "[citation needed]" with a note that
>>> I think this is false.
>>>
>>> Does anyone know if there was some kind of ancient version of
>>> Tomcat that read its own .properties files and added some kind of
>>> magic to do what the above says? I think it's a complete
>>> fabrication with no basis in reality.
>>>
>>> Any ideas?
>>>
>>
>> Maybe a very indirect reference to :
>> http://tomcat.apache.org/connectors-doc/reference/uriworkermap.html
>>
>>
> (see : Exclusions and rule disabling)
>
> Good call. This actually might be the source of that text.
>
>> but, like you, I think that this reference is quite irrelevant in
>> that Wikipedia article.
>
> I agree. This is one single instance of one file that typically ends
> in ".properties" that has these semantics. It's not even correct to
> say that Apache Tomcat does this... it's really Apache mod_jk that
> does this, and mod_jk isn't a Java program (though of course,
> .properties isn't exclusive to the Java world). I'm sure that mod_jk
> doesn't follow the exact rules of Java .properties specifications like
> using \ as an escape character, trimming leading spaces, etc.
>
> I think I'll update the Wikipedia article. Rather than removing the
> text, I think I'll move it into another section and explain.

If you don't want to remove it, you can add it as an example for 
existing custom variations of the properties format. Note though, that 
uriworkermap.properties does not implement most of the standard 
specifics of the Java properties file format, so it is not a superset.

Regards,

Rainer

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


Mime
View raw message