Encountered ":" at line 1, column 9. Was expecting one of: "}" ... "." ... "]" ... ">" ... "<" ...
Netbeans 7 will show the above error in jsp pages when migrating to Netbeans 7.0 from lower version for the following type of syntax.
But it will not affect the output of the JSP page.But in Netbeans 7.0 that particular line is is flagged with an error.
It is because Netbeans 7 using JSP EL 2.1. JSP EL 2.1 useing the # character now.So to define the map of values with struts2 tags we need to specify the class path with the map definition. like
I have used the above method in my project and got it worked. Is this a best solution? is there any alternate methods available for this?