tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 29950] - Omit special symbol combinations ( like \$ )
Date Thu, 29 Jul 2004 23:18:05 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=29950>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=29950

Omit special symbol combinations ( like \$ )

markt@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |INVALID



------- Additional Comments From markt@apache.org  2004-07-29 23:18 -------
As previously stated, this is part of the JSP 2.0 spec and is a change from 
1.2. You have a number of options including:
- disable EL evaluation
- use \\$
- use a web.xml in servlet 2.3 format

<spec-quote>
3. The escape sequence \$ was not reserved in JSP 1.2. Any template text or 
attribute value that appeared as \$ in JSP 1.2 used to output \$ but will now 
output just $.
...
Quoting in Template Text
A literal <% is quoted by <\%
Only when the EL is enabled for a page (see Section JSP.3.3.2, “Deactivating
EL Evaluation”), a literal $ can be quoted by \$. This is not required but is
useful for quoting EL expressions.
</spec-quote>

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


Mime
View raw message