Dear Sir,
All methods and variable are showing as a text.
This is my simple program downloaded from apache site.
.................................................................
<html>
<body>
I'm a velocity template.
#if( $XHTML )
#set( $br = "<br />" )
#else
#set( $br = "<br>" )
#end
$br
$br
Here we use a custom tool: $toytool.message
$br
$br
Lets count : #foreach($i in [1..5])$i #end
$br
$br
Let's play with a hashmap:$br
first add foo: $map.put("foo",$foo)$br
then add bar: $map.put("bar",$bar)$br
$br
and that gives us $map
$br
$br
Here we get the date from the DateTool: $date.medium
$br
$br
#if( $isSimple )
This is simple#if( $XHTML ) xhtml#end app version ${version}.
#end
</body>
</html>
............................................................................
And I am getting the output
............................................................................
I'm a velocity template.
Here we use a custom tool: $toytool.message
Lets count : 1 2 3 4 5
Let's play with a hashmap:
first add foo: $map.put("foo",$foo)
then add bar: $map.put("bar",$bar)
and that gives us $map
Here we get the date from the DateTool: $date.medium
...........................................................
Please help me to get the correct result.
Waiting for your quick responds
With Regards
Kalyan Dhar
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]