C
carmelo
Hi everybody,
I'm trying a MapGuide JSP example, on Tomcat, with which I get this
compiler error:
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);
How come? How can I do to fix it?
I copied the json.jar file from
C:\Program Files\Autodesk\MapGuideEnterprise\WebServerExtensions\www
\javaviewersample
to
C:\Program Files\Autodesk\MapGuideEnterprise\WebServerExtensions\www
\WEB-INF\lib
Hoping in your help
Cheers
Carmelo
I'm trying a MapGuide JSP example, on Tomcat, with which I get this
compiler error:
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);
How come? How can I do to fix it?
I copied the json.jar file from
C:\Program Files\Autodesk\MapGuideEnterprise\WebServerExtensions\www
\javaviewersample
to
C:\Program Files\Autodesk\MapGuideEnterprise\WebServerExtensions\www
\WEB-INF\lib
Hoping in your help
Cheers
Carmelo