Hi,
I tried to give the system property in three ways
a) set org.apache.jasper.compiler.Parser.STRICT_QUOTE_ESCAPING=false
b) ant -Dorg.apache.jasper.compiler.Parser.STRICT_QUOTE_ESCAPING=false
c) in the build.xml <property
name="org.apache.jasper.compiler.Parser.STRICT_QUOTE_ESCAPING"
value="false"/>
But it does not work still.....
Error message is as follows:
D:\Work\vss\SM33\prov\WEB-INF\src>ant
-Dorg.apache.jasper.compiler.Parser.S
TRICT_QUOTE_ESCAPING=false
Buildfile: build.xml
[echo] JAVA_HOME is set to = C:\Java\jdk1.5.0_13
[echo] ANT_HOME is set to = D:\apache-ant-1.6.2
[echo] CATALINA_HOME is set to = D:\apache-tomcat-6.0.18
[echo] tomcat.home=D:\apache-tomcat-6.0.18
init:
[delete] Deleting directory D:\provTempWar
[delete] Deleting directory D:\provWar
[mkdir] Created dir: D:\provWar
[mkdir] Created dir: D:\provTempWar
[mkdir] Created dir: D:\provTempWar\images
[mkdir] Created dir: D:\provTempWar\js
[mkdir] Created dir: D:\provTempWar\style
[mkdir] Created dir: D:\provTempWar\WEB-INF
[mkdir] Created dir: D:\provTempWar\WEB-INF\config
[mkdir] Created dir: D:\provTempWar\WEB-INF\classes
[mkdir] Created dir: D:\provTempWar\WEB-INF\data
[mkdir] Created dir: D:\provTempWar\WEB-INF\lib
[mkdir] Created dir: D:\provTempWar\WEB-INF\schema
resources:
[copy] Copying 3 files to D:\provTempWar
[copy] Copying 29 files to D:\provTempWar\images
[copy] Copying 6 files to D:\provTempWar\js
[copy] Copying 1 file to D:\provTempWar\style
[copy] Copying 28 files to D:\provTempWar\WEB-INF
[copy] Copying 5 files to D:\provTempWar\WEB-INF\classes
[copy] Copying 1 file to D:\provTempWar\WEB-INF\config
[copy] Copying 35 files to D:\provTempWar\WEB-INF\lib
[copy] Copying 1 file to D:\provTempWar\WEB-INF\schema
compile:
[javac] Compiling 83 source files to \provTempWar\WEB-INF\classes
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
jspc.init:
Trying to override old definition of task jasper2
BUILD FAILED
D:\Work\vss\SM33\prov\WEB-INF\src\build.xml:169:
org.apache.jasper.JasperEx
ception: file:D:/Work/vss/SM33/prov/Interaction.jsp(2662,29) Attribute
valu
e operationalDayEndTime.intValue()+"" is quoted with " which must be
escaped w
hen used within the value
Total time: 13 seconds
Thanks
Subir
-----Original Message-----
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
Sent: Monday, October 06, 2008 9:29 AM
To: Tomcat Users List
Subject: RE: Regd....ASF Bugzilla - Bug 45015 (Quoting in attributes)
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Subject: RE: Regd....ASF Bugzilla - Bug 45015 (Quoting in attributes)
>
> But I do not understand how I can make the compiler ignore this
> validation. We use precompiled JSPs.
If you're using the suggested ant script for precompilation:
http://tomcat.apache.org/tomcat-6.0-doc/jasper-howto.html#Web%20Applicat
ion%20Compilation
then simply add the following system property to the command line:
-Dorg.apache.jasper.compiler.Parser.STRICT_QUOTE_ESCAPING=false
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.
---------------------------------------------------------------------
To start a new topic, e-mail: [email protected]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Please do not print this email unless it is absolutely necessary.
The information contained in this electronic message and any attachments to
this message are intended for the exclusive use of the addressee(s) and may
contain proprietary, confidential or privileged information. If you are not the
intended recipient, you should not disseminate, distribute or copy this e-mail.
Please notify the sender immediately and destroy all copies of this message and
any attachments.
WARNING: Computer viruses can be transmitted via email. The recipient should
check this email and any attachments for the presence of viruses. The company
accepts no liability for any damage caused by any virus transmitted by this
email.
www.wipro.com