<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1615" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>Hi everybody,</FONT></DIV>
<DIV><FONT size=2>I'm trying the ajaxviewersample.jsp example and I get this
error when I click on the Query task:</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>org.apache.jasper.JasperException: Unable to compile class for
JSP: </FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>An error occurred at line: 50 in the jsp file:
/javaviewersample/query/classes/query.jsp<BR>JSONArray cannot be resolved to a
type<BR>47: <BR>48:
public String getNumOp()<BR>49: {<BR>50:
JSONArray jsonArray = new JSONArray();<BR>51: for(int
i=0;i<6;i++)<BR>52: {<BR>53:
jsonArray.put(numOperators[i]);</FONT></DIV>
<DIV> </DIV><FONT size=2>
<DIV><BR>How come? How can I do to fix it?</DIV>
<DIV>I hope it's possible to use it, because I'd like to learn about MapGuide
API's from this example...</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>Hoping in your help</DIV>
<DIV>Cheers</DIV>
<DIV>Carmelo</FONT></DIV></BODY></HTML>