JavaScript-about uploading images in Kindeditor Rich text

Source: Internet
Author: User

I click an upload will be an error, do not know if there is a problem with the setup, have to understand the big God is the problem there

An error occurred at line:117 in the JSP file:/editor/jsp/upload_json.jspjsonobject cannot is resolved to a type114:%&G t;115: <%!116:private string GetError (String message) {117:jsonobject obj = new Jsonobject (); 118:obj.put ("ER Ror ", 1); 119:obj.put (" message ", message); 120:return obj.tojsonstring (); An error occurred at line:117 in the JSP file:/editor/jsp/upload_json.jspjsonobject cannot is resolved to a type114:%&G t;115: <%!116:private string GetError (String message) {117:jsonobject obj = new Jsonobject (); 118:obj.put ("ER Ror ", 1); 119:obj.put (" message ", message); 120:return obj.tojsonstring ();             An error occurred at line:108 in the JSP file:/editor/jsp/upload_json.jspjsonobject cannot is resolved to a type105:         return;106:}107:108:jsonobject obj = new Jsonobject () 109:obj.put ("error", 0); 110: Obj.put ("url", Saveurl + NewFileName); 111:out.println (obj.tojsonstring ()); An error occurred At line:108 in the JSP file:/editor/jsp/upload_json.jspjsonobject cannot is resolved to a type105:return;1 :}107:108:jsonobject obj = new Jsonobject (); 109:obj.put ("error", 0); 110:obj.put ("Ur L ", Saveurl + NewFileName); 111:out.println (obj.tojsonstring ());  Stacktrace:] With the root causeorg.apache.jasper.JasperException:Unable to compile class for Jsp:an error occurred on line: 117 in the JSP file:/editor/jsp/upload_json.jspjsonobject cannot is resolved to a type114:%>115: <%!116:private String GetError (String message) {117:jsonobject obj = new Jsonobject (); 118:obj.put ("Error", 1); 119:obj.put ( "Message", message); 120:return obj.tojsonstring (); An error occurred at line:117 in the JSP file:/editor/jsp/upload_json.jspjsonobject cannot is resolved to a type114:%&G t;115: <%!116:private string GetError (String message) {117:jsonobject obj = new Jsonobject (); 118:obj.put ("ER Ror ", 1); 119:oBj.put ("message", message); 120:return obj.tojsonstring ();             An error occurred at line:108 in the JSP file:/editor/jsp/upload_json.jspjsonobject cannot is resolved to a type105:         return;106:}107:108:jsonobject obj = new Jsonobject () 109:obj.put ("error", 0); 110: Obj.put ("url", Saveurl + NewFileName); 111:out.println (obj.tojsonstring ());             An error occurred at line:108 in the JSP file:/editor/jsp/upload_json.jspjsonobject cannot is resolved to a type105:         return;106:}107:108:jsonobject obj = new Jsonobject () 109:obj.put ("error", 0); 110: Obj.put ("url", Saveurl + NewFileName); 111:out.println (obj.tojsonstring ()); Stacktrace:at Org.apache.jasper.compiler.DefaultErrorHandler.javacError (defaulterrorhandler.java:103) at Org.apache.jasper.compiler.ErrorDispatcher.javacError (errordispatcher.java:366) at Org.apache.jasper.compiler.JDTCompiler.generateClass (jdtcompiler.java:485)    At Org.apache.jasper.compiler.Compiler.compile (compiler.java:379) at Org.apache.jasper.compiler.Compiler.compile ( compiler.java:354) at Org.apache.jasper.compiler.Compiler.compile (compiler.java:341) at Org.apache.jasper.JspCompilationContext.compile (jspcompilationcontext.java:657) at Org.apache.jasper.servlet.JspServletWrapper.service (jspservletwrapper.java:357) at Org.apache.jasper.servlet.JspServlet.serviceJspFile (jspservlet.java:395) at Org.apache.jasper.servlet.JspServlet.service (jspservlet.java:339) at Javax.servlet.http.HttpServlet.service ( httpservlet.java:727) at Org.apache.catalina.core.ApplicationFilterChain.internalDoFilter ( applicationfilterchain.java:303) at Org.apache.catalina.core.ApplicationFilterChain.doFilter ( applicationfilterchain.java:208) at Cn.qtone.xxt.base.utiltity.UrlFilter.doFilter (urlfilter.java:114) at Org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (applicationfilterchain.java:241) at Org.apache.catalina.Core. Applicationfilterchain.dofilter (applicationfilterchain.java:208) at Org.apache.catalina.core.StandardWrapperValve.invoke (standardwrappervalve.java:220) at Org.apache.catalina.core.StandardContextValve.invoke (standardcontextvalve.java:122) at Org.apache.catalina.authenticator.AuthenticatorBase.invoke (authenticatorbase.java:504) at Org.apache.catalina.core.StandardHostValve.invoke (standardhostvalve.java:170) at Org.apache.catalina.valves.ErrorReportValve.invoke (errorreportvalve.java:103) at Org.apache.catalina.core.StandardEngineValve.invoke (standardenginevalve.java:116) at Org.apache.catalina.connector.CoyoteAdapter.service (coyoteadapter.java:421) at Org.apache.coyote.http11.AbstractHttp11Processor.process (abstracthttp11processor.java:1074) at Org.apache.coyote.abstractprotocol$abstractconnectionhandler.process (abstractprotocol.java:611) at Org.apache.tomcat.util.net.jioendpoint$socketprocessor.run (jioendpoint.java:316) at Java.util.concurrent.ThreaDpoolexecutor$worker.runtask (threadpoolexecutor.java:895) at Java.util.concurrent.threadpoolexecutor$worker.run ( threadpoolexecutor.java:918) at Org.apache.tomcat.util.threads.taskthread$wrappingrunnable.run (TaskThread.java : At Java.lang.Thread.run (thread.java:662)

Reply content:

I click an upload will be error, do not know if there is a problem with the setup, have to understand this big God is the problem there

An error occurred at line:117 in the JSP file:/editor/jsp/upload_json.jspjsonobject cannot is resolved to a type114:%&G t;115: <%!116:private string GetError (String message) {117:jsonobject obj = new Jsonobject (); 118:obj.put ("ER Ror ", 1); 119:obj.put (" message ", message); 120:return obj.tojsonstring (); An error occurred at line:117 in the JSP file:/editor/jsp/upload_json.jspjsonobject cannot is resolved to a type114:%&G t;115: <%!116:private string GetError (String message) {117:jsonobject obj = new Jsonobject (); 118:obj.put ("ER Ror ", 1); 119:obj.put (" message ", message); 120:return obj.tojsonstring ();             An error occurred at line:108 in the JSP file:/editor/jsp/upload_json.jspjsonobject cannot is resolved to a type105:         return;106:}107:108:jsonobject obj = new Jsonobject () 109:obj.put ("error", 0); 110: Obj.put ("url", Saveurl + NewFileName); 111:out.println (obj.tojsonstring ()); An error occurred At line:108 in the JSP file:/editor/jsp/upload_json.jspjsonobject cannot is resolved to a type105:return;1 :}107:108:jsonobject obj = new Jsonobject (); 109:obj.put ("error", 0); 110:obj.put ("Ur L ", Saveurl + NewFileName); 111:out.println (obj.tojsonstring ());  Stacktrace:] With the root causeorg.apache.jasper.JasperException:Unable to compile class for Jsp:an error occurred on line: 117 in the JSP file:/editor/jsp/upload_json.jspjsonobject cannot is resolved to a type114:%>115: <%!116:private String GetError (String message) {117:jsonobject obj = new Jsonobject (); 118:obj.put ("Error", 1); 119:obj.put ( "Message", message); 120:return obj.tojsonstring (); An error occurred at line:117 in the JSP file:/editor/jsp/upload_json.jspjsonobject cannot is resolved to a type114:%&G t;115: <%!116:private string GetError (String message) {117:jsonobject obj = new Jsonobject (); 118:obj.put ("ER Ror ", 1); 119:oBj.put ("message", message); 120:return obj.tojsonstring ();             An error occurred at line:108 in the JSP file:/editor/jsp/upload_json.jspjsonobject cannot is resolved to a type105:         return;106:}107:108:jsonobject obj = new Jsonobject () 109:obj.put ("error", 0); 110: Obj.put ("url", Saveurl + NewFileName); 111:out.println (obj.tojsonstring ());             An error occurred at line:108 in the JSP file:/editor/jsp/upload_json.jspjsonobject cannot is resolved to a type105:         return;106:}107:108:jsonobject obj = new Jsonobject () 109:obj.put ("error", 0); 110: Obj.put ("url", Saveurl + NewFileName); 111:out.println (obj.tojsonstring ()); Stacktrace:at Org.apache.jasper.compiler.DefaultErrorHandler.javacError (defaulterrorhandler.java:103) at Org.apache.jasper.compiler.ErrorDispatcher.javacError (errordispatcher.java:366) at Org.apache.jasper.compiler.JDTCompiler.generateClass (jdtcompiler.java:485)    At Org.apache.jasper.compiler.Compiler.compile (compiler.java:379) at Org.apache.jasper.compiler.Compiler.compile ( compiler.java:354) at Org.apache.jasper.compiler.Compiler.compile (compiler.java:341) at Org.apache.jasper.JspCompilationContext.compile (jspcompilationcontext.java:657) at Org.apache.jasper.servlet.JspServletWrapper.service (jspservletwrapper.java:357) at Org.apache.jasper.servlet.JspServlet.serviceJspFile (jspservlet.java:395) at Org.apache.jasper.servlet.JspServlet.service (jspservlet.java:339) at Javax.servlet.http.HttpServlet.service ( httpservlet.java:727) at Org.apache.catalina.core.ApplicationFilterChain.internalDoFilter ( applicationfilterchain.java:303) at Org.apache.catalina.core.ApplicationFilterChain.doFilter ( applicationfilterchain.java:208) at Cn.qtone.xxt.base.utiltity.UrlFilter.doFilter (urlfilter.java:114) at Org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (applicationfilterchain.java:241) at Org.apache.catalina.Core. Applicationfilterchain.dofilter (applicationfilterchain.java:208) at Org.apache.catalina.core.StandardWrapperValve.invoke (standardwrappervalve.java:220) at Org.apache.catalina.core.StandardContextValve.invoke (standardcontextvalve.java:122) at Org.apache.catalina.authenticator.AuthenticatorBase.invoke (authenticatorbase.java:504) at Org.apache.catalina.core.StandardHostValve.invoke (standardhostvalve.java:170) at Org.apache.catalina.valves.ErrorReportValve.invoke (errorreportvalve.java:103) at Org.apache.catalina.core.StandardEngineValve.invoke (standardenginevalve.java:116) at Org.apache.catalina.connector.CoyoteAdapter.service (coyoteadapter.java:421) at Org.apache.coyote.http11.AbstractHttp11Processor.process (abstracthttp11processor.java:1074) at Org.apache.coyote.abstractprotocol$abstractconnectionhandler.process (abstractprotocol.java:611) at Org.apache.tomcat.util.net.jioendpoint$socketprocessor.run (jioendpoint.java:316) at Java.util.concurrent.ThreaDpoolexecutor$worker.runtask (threadpoolexecutor.java:895) at Java.util.concurrent.threadpoolexecutor$worker.run ( threadpoolexecutor.java:918) at Org.apache.tomcat.util.threads.taskthread$wrappingrunnable.run (TaskThread.java : At Java.lang.Thread.run (thread.java:662)
  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.