I am trying a very simple struts2 (2.1.6) application using velocity (1.6.2 and tools 2.0 beta4) ,
It's nothing more than a simple form with a single textfield.
The code follows
when I call this velocity file I get the following error
It seems the problem is near
but I don't know how to solve this,
waiting for your reply..
Before writing my code I refered that page.
They mentioed there as
Some VM tags require an #end statement while others do not. The inconsistency arises from a limitation in Velocity where tags must declare if they are a block or inline tag up front. As such, by default all tags are inline except for a few key ones, such as the form tag.
So obviouly I need #end tag ,and I also tried without that, then the tags were just ignored and printed as it is.