[mapguide-users] Compiliing error in ajaxviewersample.jsp example

Carmelo Saffioti csaffi at libero.it
Thu Nov 13 08:31:26 EST 2008


Hi everybody,
I'm trying the ajaxviewersample.jsp example and I get this error when I click on the Query task:

org.apache.jasper.JasperException: Unable to compile class for JSP: 

An error occurred at line: 50 in the jsp file: /javaviewersample/query/classes/query.jsp
JSONArray cannot be resolved to a type
47:      
48:      public String getNumOp()
49:  {
50:      JSONArray jsonArray = new JSONArray();
51:      for(int i=0;i<6;i++)
52:      {
53:   jsonArray.put(numOperators[i]);


How come? How can I do to fix it?
I hope it's possible to use it, because I'd like to learn about MapGuide API's from this example...


Hoping in your help
Cheers
Carmelo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20081113/0fe7e74d/attachment.html


More information about the mapguide-users mailing list