You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by am...@apache.org on 2001/11/29 04:52:28 UTC
cvs commit: jakarta-tomcat-4.0/tester/web includeme.shtml SSIConditional01.shtml SSIConditional02.shtml SSIConditional03.shtml SSIConditional04.shtml SSIConditional05.shtml SSIConditional06.shtml SSIConditional07.shtml SSIConditional08.shtml SSIVarSub01.shtml SSIVarSub02.shtml SSIVarSub03.shtml SSIVarSub04.shtml SSIVarSub05.shtml SSIVarSub06.shtml
amyroh 01/11/28 19:52:28
Added: tester/web includeme.shtml SSIConditional01.shtml
SSIConditional02.shtml SSIConditional03.shtml
SSIConditional04.shtml SSIConditional05.shtml
SSIConditional06.shtml SSIConditional07.shtml
SSIConditional08.shtml SSIVarSub01.shtml
SSIVarSub02.shtml SSIVarSub03.shtml
SSIVarSub04.shtml SSIVarSub05.shtml
SSIVarSub06.shtml
Log:
Server Side Include improvement tests.
Submitted by Paul Speed <ps...@progeeks.com>.
Revision Changes Path
1.1 jakarta-tomcat-4.0/tester/web/includeme.shtml
Index: includeme.shtml
===================================================================
This is Content of "includeme.shtml"
1.1 jakarta-tomcat-4.0/tester/web/SSIConditional01.shtml
Index: SSIConditional01.shtml
===================================================================
Before if block.
<!--#set var="test" value="value1" -->
<!--#if expr="\"$test\" = \"value1\"" -->
test = value1
<!--#elif expr="\"$test\" = \"value2\"" -->
test = value2
<!--#else -->
test = neither value1 or value2
<!--#endif -->
After if block.
1.1 jakarta-tomcat-4.0/tester/web/SSIConditional02.shtml
Index: SSIConditional02.shtml
===================================================================
Before if block.
<!--#set var="test" value="value2" -->
<!--#if expr="\"$test\" = \"value1\"" -->
test = value1
<!--#elif expr="\"$test\" = \"value2\"" -->
test = value2
<!--#else -->
test = neither value1 or value2
<!--#endif -->
After if block.
1.1 jakarta-tomcat-4.0/tester/web/SSIConditional03.shtml
Index: SSIConditional03.shtml
===================================================================
Before if block.
<!--#set var="test" value="unquoted multi-word value" -->
<!--#if expr="\"$test\" = unquoted multi-word value" -->
test = "unquoted multi-word value"
<!--#else -->
test = not "unquoted multi-word value"
<!--#endif -->
After if block.
1.1 jakarta-tomcat-4.0/tester/web/SSIConditional04.shtml
Index: SSIConditional04.shtml
===================================================================
<!--#set var="test1" value="not one" -->
<!--#set var="test2" value="two" -->
<!--#set var="test3" value="three" -->
<!--#if expr="\"$test1\" = \"one\" && \"$test2\" = \"two\" || \"$test3\" = \"three\"" -->
true
<!--#else -->
false
<!--#endif -->
1.1 jakarta-tomcat-4.0/tester/web/SSIConditional05.shtml
Index: SSIConditional05.shtml
===================================================================
<!--#set var="test1" value="not one" -->
<!--#set var="test2" value="two" -->
<!--#set var="test3" value="three" -->
<!--#if expr="\"$test1\" = \"one\" && (\"$test2\" = \"two\" || \"$test3\" = \"three\")" -->
true
<!--#else -->
false
<!--#endif -->
1.1 jakarta-tomcat-4.0/tester/web/SSIConditional06.shtml
Index: SSIConditional06.shtml
===================================================================
<!--#set var="test1" value="not one" -->
<!--#set var="test2" value="two" -->
<!--#set var="test3" value="three" -->
<!--#if expr="\"$test1\" = \"one\" || \"$test2\" = \"two\"" -->
<!--#if expr="\"$test1\" = \"one\"" -->
one
<!--#elif expr="\"$test1\" = \"not one\"" -->
not one
<!--#endif -->
<!--#else -->
<!--#if expr="\"$test2\" = \"two\"" -->
two
<!--#elif expr="\"$test2\" = \"not two\"" -->
not two
<!--#endif -->
<!--#endif -->
1.1 jakarta-tomcat-4.0/tester/web/SSIConditional07.shtml
Index: SSIConditional07.shtml
===================================================================
<!--#set var="test1" value="not one" -->
<!--#set var="test2" value="not two" -->
<!--#set var="test3" value="three" -->
<!--#if expr="\"$test1\" = \"one\" || \"$test2\" = \"two\"" -->
<!--#if expr="\"$test1\" = \"one\"" -->
one
<!--#elif expr="\"$test1\" = \"not one\"" -->
not one
<!--#endif -->
<!--#else -->
<!--#if expr="\"$test2\" = \"two\"" -->
two
<!--#elif expr="\"$test2\" = \"not two\"" -->
not two
<!--#endif -->
<!--#endif -->
1.1 jakarta-tomcat-4.0/tester/web/SSIConditional08.shtml
Index: SSIConditional08.shtml
===================================================================
<!--#set var="test" value="one" -->
<!--#if expr="\"$test\" = \"one\"" -->
<!--#set var="test" value="two" -->
<!--#else -->
<!--#set var="test" value="three" -->
<!--#endif -->
<!--#echo var="test" -->
1.1 jakarta-tomcat-4.0/tester/web/SSIVarSub01.shtml
Index: SSIVarSub01.shtml
===================================================================
<!--#set var="test" value="$DOCUMENT_URI" -->
<!--#echo var="test" -->
1.1 jakarta-tomcat-4.0/tester/web/SSIVarSub02.shtml
Index: SSIVarSub02.shtml
===================================================================
<!--#set var="test" value="value of test" -->
<!--#set var="test2" value="${test}" -->
<!--#echo var="test2" -->
1.1 jakarta-tomcat-4.0/tester/web/SSIVarSub03.shtml
Index: SSIVarSub03.shtml
===================================================================
<!--#set var="test" value="value of test" -->
<!--#set var="test2" value="value of test2" -->
<!--#set var="test3" value="$test $test2" -->
<!--#echo var="test3" -->
1.1 jakarta-tomcat-4.0/tester/web/SSIVarSub04.shtml
Index: SSIVarSub04.shtml
===================================================================
<!--#set var="test" value="value of test" -->
<!--#set var="test2" value="value of test2" -->
<!--#set var="test3" value="${test} ${test2}" -->
<!--#echo var="test3" -->
1.1 jakarta-tomcat-4.0/tester/web/SSIVarSub05.shtml
Index: SSIVarSub05.shtml
===================================================================
<!--#set var="test" value="value of test" -->
<!--#set var="test2" value="value of test2" -->
<!--#set var="test3" value="${test}|${test2}" -->
<!--#echo var="test3" -->
1.1 jakarta-tomcat-4.0/tester/web/SSIVarSub06.shtml
Index: SSIVarSub06.shtml
===================================================================
<!--#set var="test" value="value of test" -->
<!--#set var="test3" value="${test}\${test2}" -->
<!--#echo var="test3" -->
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>