自从玩了java,十以内的加减法都不会了!大佬快来看看呐!如图所示,那位大佬讲一下这是什么原因导致的!

图片说明

0

2个回答

道理很简单,123.123用二进制表示,是无法精确表示的。
它等于1111011.00011111011111001110110110010001011010000111011011001000101101000011101...
所以,用double表示,只能表示为一个近似数,当你将这个数再做了很多四则运算以后,这个误差就会放大。最后的结果就有微小的误差。

1

底层精度问题,你输入5.123.把每个a打出来看看

0
Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
大佬快来
[img=https://img-bbs.csdn.net/upload/201712/28/1514450824_821240.png][/img]Branch = 1的时候,直接段错误了;rnrnrnrnrnrn[img=https://img-bbs.csdn.net/upload/201712/28/1514450908_244232.png][/img]Branch = 1的时候,[img=https://img-bbs.csdn.net/upload/201712/28/1514451003_770496.png][/img]
大佬快来!!!!!!!!!!
关于load data infile的。百度上搜了很多。rn[img=https://img-bbs.csdn.net/upload/201907/29/1564383739_56620.png][/img]rn百度上说要把这个配置改成空的。 就不限制任何文件的导入导出了。rn我改过以后竟然又出现rn[img=https://img-bbs.csdn.net/upload/201907/29/1564383798_471870.png][/img]rn这种情况。 上面是 sql语句。 下面是报的错。rn百度搜不到了。解决不了了。望各位大佬给弟弟安排一下。
十以内加减法
利用python 实现十以内的加减法
十以内加减法教学软件
十以内加减法教学, 用红苹果和绿苹果相加减来形象的表现加减和减法的原理, 帮助孩子学习. 点击最下面的按钮可随机出题, 亦可拖动两个滑块来手动出题, 点击题目即可显示正确答案.
mysql启动失败大佬快来
![图片说明](https://img-ask.csdn.net/upload/201708/18/1503045648_746340.png)
这是什么原因呐?
<% int i=0;rn%>rn<% i++;%>rn你是第<%=i%>位来客rn----------------------rn<%! int i=0;rn%>rn<% i++;%>rn你是第<%=i%>位来客rn------------------rn两个结果为什么不一样啊?rnrnrn
快来看看这是什么原因?????????急!!!!!!!
typedef struct Eventrnint OccurTime;rnint NType;rnstruct Event *next;rnElemType,*Link;rnrntypedef struct rnLink head,tail;rnint listsize;rnEventList;//事件链表rnrn status InitList(EventList &ev)rn // 操作结果:构造一个空的线性表Lrn ev=(EventList)malloc(sizeof(Event)); // 产生头结点,并使ev指向此头结点rn if(!ev) // 存储分配失败rn exit(OVERFLOW);rn ev->next=NULL; // 指针域为空rn return OK;rn rnrn编译时为何提示'type cast' : cannot convert from 'void *' to 'EventList'rnunary '!' : 'EventList' does not define this operator or a conversion to a type acceptable to the predefined operator
十以内加减法练习(可执行程序)
这个是编译好的,用WINRAR自解压做的安装 双击就可以安装,在桌面上会有一个快捷方式 送给那些像我一样需要每天给孩子出题的家长
运行报错,大佬们帮忙看看什么原因java.util.concurrent.ExecutionException
"C:\Program Files\Java\jdk1.8.0_201\bin\java" "-Dmaven.multiModuleProjectDirectory=C:\Users\Administrator\Desktop\travel - 副本" -Dfile.encoding=gb2312 "-Dmaven.home=C:\Program Files\JetBrains\IntelliJ IDEA 2017.2.6\plugins\maven\lib\maven3" "-Dclassworlds.conf=C:\Program Files\JetBrains\IntelliJ IDEA 2017.2.6\plugins\maven\lib\maven3\bin\m2.conf" "-javaagent:C:\Program Files\JetBrains\IntelliJ IDEA 2017.2.6\lib\idea_rt.jar=51249:C:\Program Files\JetBrains\IntelliJ IDEA 2017.2.6\bin" -classpath "C:\Program Files\JetBrains\IntelliJ IDEA 2017.2.6\plugins\maven\lib\maven3\boot\plexus-classworlds-2.5.2.jar" org.codehaus.classworlds.Launcher -Didea.version=2017.2.6 tomcat7:runrn[INFO] Scanning for projects...rn[WARNING] rn[WARNING] Some problems were encountered while building the effective model for cn.itcast:travel:war:1.0-SNAPSHOTrn[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 131, column 21rn[WARNING] rn[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.rn[WARNING] rn[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.rn[WARNING] rn[INFO] rn[INFO] ------------------------------------------------------------------------rn[INFO] Building travel 1.0-SNAPSHOTrn[INFO] ------------------------------------------------------------------------rn[INFO] rn[INFO] >>> tomcat7-maven-plugin:2.1:run (default-cli) > process-classes @ travel >>>rn[INFO] rn[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ travel ---rn[WARNING] Using platform encoding (gb2312 actually) to copy filtered resources, i.e. build is platform dependent!rn[INFO] Copying 3 resourcesrn[INFO] rn[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ travel ---rn[INFO] Changes detected - recompiling the module!rn[INFO] Compiling 40 source files to C:\Users\Administrator\Desktop\travel - 副本\target\classesrn[WARNING] /C:/Users/Administrator/Desktop/travel - 副本/src/main/java/cn/itcast/travel/dao/impl/FindDaoImpl.java: 某些输入文件使用了未经检查或不安全的操作。rn[WARNING] /C:/Users/Administrator/Desktop/travel - 副本/src/main/java/cn/itcast/travel/dao/impl/FindDaoImpl.java: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。rn[INFO] rn[INFO] <<< tomcat7-maven-plugin:2.1:run (default-cli) < process-classes @ travel << #write/* in servlet mappingrn at org.apache.catalina.core.StandardContext.addServletMapping(StandardContext.java:3223)rn at org.apache.catalina.core.StandardContext.addServletMapping(StandardContext.java:3198)rn at org.apache.catalina.deploy.WebXml.configureContext(WebXml.java:1366)rn at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1353)rn at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:878)rn at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:369)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)rn at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)rn at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5179)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)rn ... 6 morernrn七月 21, 2019 5:00:21 下午 org.apache.catalina.core.ContainerBase startInternalrn严重: A child container failed during startrnjava.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Tomcat].StandardHost[localhost]]rn at java.util.concurrent.FutureTask.report(FutureTask.java:122)rn at java.util.concurrent.FutureTask.get(FutureTask.java:192)rn at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1123)rn at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:302)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)rn at org.apache.catalina.core.StandardService.startInternal(StandardService.java:443)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)rn at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:732)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)rn at org.apache.catalina.startup.Tomcat.start(Tomcat.java:335)rn at org.apache.tomcat.maven.plugin.tomcat7.run.AbstractRunMojo.startContainer(AbstractRunMojo.java:1091)rn at org.apache.tomcat.maven.plugin.tomcat7.run.AbstractRunMojo.execute(AbstractRunMojo.java:512)rn at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)rn at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)rn at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)rn at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)rn at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)rn at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)rn at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)rn at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)rn at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)rn at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)rn at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)rn at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)rn at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)rn at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)rn at java.lang.reflect.Method.invoke(Method.java:498)rn at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)rn at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)rn at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)rn at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)rn at org.codehaus.classworlds.Launcher.main(Launcher.java:47)rnCaused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Tomcat].StandardHost[localhost]]rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)rn at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)rn at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)rn at java.util.concurrent.FutureTask.run(FutureTask.java:266)rn at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)rn at java.lang.Thread.run(Thread.java:748)rnCaused by: org.apache.catalina.LifecycleException: A child container failed during startrn at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1131)rn at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:800)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)rn ... 6 morernrn[INFO] ------------------------------------------------------------------------rn[INFO] BUILD FAILURErn[INFO] ------------------------------------------------------------------------rn[INFO] Total time: 3.989 srn[INFO] Finished at: 2019-07-21T17:00:21+08:00rn[INFO] Final Memory: 32M/279Mrn[INFO] ------------------------------------------------------------------------rn[ERROR] Failed to execute goal org.apache.tomcat.maven:tomcat7-maven-plugin:2.1:run (default-cli) on project travel: Could not start Tomcat: Failed to start component [StandardServer[-1]]: Failed to start component [StandardService[Tomcat]]: Failed to start component [StandardEngine[Tomcat]]: A child container failed during start -> [Help 1]rn[ERROR] rn[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.rn[ERROR] Re-run Maven using the -X switch to enable full debug logging.rn[ERROR] rn[ERROR] For more information about the errors and possible solutions, please read the following articles:rn[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionExceptionrnrnProcess finished with exit code 1
大佬讲MBT
大佬讲MBT 网址:https://www.youtube.com/watch?v=TnuiEGS6iyc 获取模型: 1.手工创建(Manual creation) 2.基于事件接口(Event based inference) Apply regular language learning algorithms to traces Minimize over/under approximat...
看看这是什么原因所导致的!
已经有 rnMicrosoft VBScript 编译器错误 错误 '800a03f6' rnrn缺少 'End' rnrn/iisHelp/common/500-100.asp,行242 rnrnMicrosoft JET Database Engine 错误 '80004005' rnrn操作必须使用一个可更新的查询。 rnrn/dgjcjm/Lib/functions.asp,行84 rnrn这是什么问题哦,请知道的高手讲下!rn
大佬们看看这道题 带一下注释 谢谢大佬
把一个整数的每个数位都平方后求和,又得到一个整数,我们称这个整数为:位平方和。rnrn对新得到的整数仍然可以继续这一运算过程。rnrn比如,给定整数为4,则一系列的运算结果为:rnrn16,37,58,89,....rnrn本题的要求是,已知一个整数x,求第n步的运算结果。rnrn数据格式要求:rnrn输入,两个整数x n,中间以空格分开。表示求x的第n步位平方和。其中,x,n都大于0,且小于100000。rn输出,一个整数,表示所求结果。rnrn例如,rn输入:rn4 3rn则程序应该输出:rn58rnrn再例如,rn输入:rn1314 10rn则程序应该输出:rn20rnrn资源约定:rn峰值内存消耗 < 256MrnCPU消耗 < 1000msrnrnrn注意: main函数需要返回0rn注意: 只使用ANSI C/ANSI C++ 标准,不要调用依赖于编译环境或操作系统的特殊函数。rn注意: 所有依赖的函数必须明确地在源文件中 #include , 不能通过工程设置而省略常用头文件。
【求助】大佬大佬帮我看看鸭,感谢!!!!!!
【求助】我想要完成两个任务 将两个txt文件内容拼接到一起,存入第三个txt文件 读取txt文件中特定的列 我将整合的任务写在函数ad里,但是我发现它只能用一次 我重复调用ad时它并不会进行两次拼接 然后就是 我觉得我第二个读取特定的列的函数也没错,但调用时没反应。。。。。 代码 #include&amp;lt;fstream&amp;gt; #include&amp;lt;sstream&amp;gt; #includ...
!!!!!紧急!!!求大佬帮忙看看这是什么问题
[img=https://img-bbs.csdn.net/upload/201711/15/1510734544_687595.png][/img]rn别的文件都没报错就这个报错了!
大佬们帮我看看 这是啥 感激不尽
F:\jar\dubbox-master>mvn install -Dmaven.test.skip=truern[ERROR] Error executing Maven.rn[ERROR] 1 problem was encountered while building the effective settingsrn[FATAL] Non-parseable settings F:\maven\apache-maven-3.5.4-bin\apache-maven-3.5.4\bin\..\conf\settings.xml: end tag name must be the same as start tag from line 254 (position: TEXT seen ...1.8... @254:54) @ F:\maven\apache-maven-3.5.4-bin\apache-maven-3.5.4\bin\..\conf\settings.xml, line 254, column 54
求助大佬!!!! PHP大佬
求助大佬!!!!!excel导入功能 phpcmf的后台 上传读取时 读到的数据如下,能获取的行 只有1, 列只有A,上传文件没有问题
大佬
https://www.cnblogs.com/cjyyb/p/9990833.html https://www.cnblogs.com/bztMinamoto/p/9942932.html http://www.cnblogs.com/zhoushuyu https://www.cnblogs.com/ywwyww/ http://www.cnblogs.com/GuessYCB
请教一下各位大佬
2-2^-23是什么意思,不是说取1.0到2.0之间吗[img=https://img-bbs.csdn.net/upload/201904/29/1556512968_868956.jpg][/img][img=https://img-bbs.csdn.net/upload/201904/29/1556512985_396074.jpg][/img][img=https://img-bbs.csdn.net/upload/201904/29/1556512992_740484.jpg][/img]
有没有大佬帮我看看,
总是出栈后gettop就成空白了=.=求大神指点,万分感谢程序本身没有语法错误,qu'x#include &quot;stdafx.h&quot;using namespace std;void ShowStackMenu(){    cout &amp;lt;&amp;lt; &quot;\n&quot;;    cout &amp;lt;&amp;lt; &quot;  ************《线性表》*************\n&quot;;    cout &amp;lt;&amp;lt; ..
各位大佬帮忙看看
[img=https://img-bbs.csdn.net/upload/201804/11/1523447552_779822.jpg][/img] 这是什么意思 而且不定时的会弹出来 只要app在后台运行就会弹出 有时候看新闻 打游戏都会弹出 求大佬帮忙看看
大佬帮我看看
[code=java]rnpackage cn.dome;rnrnimport java.io.File;rnrnpublic class Copy rn public static void main(String[] args) rn File fi = new File("D:\\");rn File[] fileArray = fi.listFiles();rn try rn CopyFile.Copy(fileArray, "D:\\filename", "txt");rn catch (Exception e) rn // TODO Auto-generated catch blockrn e.printStackTrace();rn rn rnrnrn[/code]rnrnrnrnrn[code=java]rnpackage cn.dome;rnrnimport java.io.BufferedReader;rnimport java.io.BufferedWriter;rnimport java.io.File;rnimport java.io.FileReader;rnimport java.io.FileWriter;rnrnpublic class CopyFile rn public static void Copy(File[] file,String s,String st) throws Exceptionrn File desFile = new File(s);rn rn if(!desFile.exists())rn desFile.mkdirs();rn rn for (File file2 : file) rn if(file2.isFile())rn if(file2.getName().endsWith(st))rn BufferedReader br = new BufferedReader(new FileReader(file2));rn BufferedWriter bw = new BufferedWriter(new FileWriter(desFile));rn String len = null;rn while((len=br.readLine()) != null)rn bw.write(len);rn bw.newLine();rn bw.flush();rn rn bw.close();rn br.close();rn rn elsern File[] filess = file2.listFiles();rn Copy(filess, s, st);rn rn rn rnrnrnrn[/code]rnrnrnrn无法访问D盘什么鬼
请教一下大佬们
2ˉ2^-23是什么意思,是怎么算出来是这个试子的?[img=https://img-bbs.csdn.net/upload/201904/29/1556516133_761816.jpg][/img]
求大佬帮助一下
我写了一个小游戏把它放入框架后无法判断正确值了,能帮我看看问题出在哪了吗? package two; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.JButton; import javax.swing.JFrame; import javax.swing.JL...
mark一下大佬网址
大佬网址 https://www.shenyaocn.com/category/myapp/ip-cam/
大佬们解析 一下
今天做了个练习:角色关联用户,用角色ID查询该角色是否关联有用户,如果关联该角色不可删除,否则可以删除。 错误如下: 严重: Servlet.service() for servlet [springmvc] in context with path [/MSSM] threw exception [Request processing failed; nested exception is ...
求大佬给看一下
代码如下nPrivate Sub Command1_Click()rnIf Combo1.Text = "病斑大而少,呈梭形条斑,灰褐至桔黄色,无轮纹" And Combo2.Text = "无现象" And Combo3.Text = "无现象" ThenrnCombo4.Text = "大斑病"rnEnd IfrnEnd Subn前三个条件都是通过下拉列表框选的
请教一下大佬!
求大佬帮忙解释下这段代码,最好详细点,前面我大概知道是创建了一个水平类的长度4的数组,后面给它赋值那段看不懂什么意思。rn[img=https://img-bbs.csdn.net/upload/201903/09/1552063239_660323.png][/img]
请大佬看看
rn我在FORM里画了一个PictureBoxrnpicDemo As System.Windows.Forms.PictureBoxrnrn然后,rn Dim myPen As New Pen(Color.Red, 2)rn picDemo.CreateGraphics().DrawPath(myPen, myPath)rnrn我一下在查CreateGraphics()这个方法,但是在PictureBox里没有这个方法,为什么这里能这样使用?rn
求大佬帮忙看看
错误信息:rnClientAbortException: java.net.SocketException: Software caused connection abort: socket write errorrn at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:358)rn at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:434)rn at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:349)rn at org.apache.catalina.connector.OutputBuffer.writeBytes(OutputBuffer.java:381)rn at org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:370)rn at org.apache.catalina.connector.CoyoteOutputStream.write(CoyoteOutputStream.java:89)rn at sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:221)rn at sun.nio.cs.StreamEncoder.implWrite(StreamEncoder.java:282)rn at sun.nio.cs.StreamEncoder.write(StreamEncoder.java:125)rn at sun.nio.cs.StreamEncoder.write(StreamEncoder.java:135)rn at java.io.OutputStreamWriter.write(OutputStreamWriter.java:220)rn at java.io.Writer.write(Writer.java:157)rn at org.springframework.util.StreamUtils.copy(StreamUtils.java:118)rn at org.springframework.http.converter.StringHttpMessageConverter.writeInternal(StringHttpMessageConverter.java:106)rn at org.springframework.http.converter.StringHttpMessageConverter.writeInternal(StringHttpMessageConverter.java:41)rn at org.springframework.http.converter.AbstractHttpMessageConverter.write(AbstractHttpMessageConverter.java:227)rn at org.springframework.web.servlet.mvc.method.annotation.AbstractMessageConverterMethodProcessor.writeWithMessageConverters(AbstractMessageConverterMethodProcessor.java:247)rn at org.springframework.web.servlet.mvc.method.annotation.RequestResponseBodyMethodProcessor.handleReturnValue(RequestResponseBodyMethodProcessor.java:174)rn at org.springframework.web.method.support.HandlerMethodReturnValueHandlerComposite.handleReturnValue(HandlerMethodReturnValueHandlerComposite.java:81)rn at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:113)rn at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:827)rn at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:738)rn at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)rn at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:967)rn at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:901)rn at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)rn at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:872)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)rn at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:197)rn at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)rn at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)rn at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:261)rn at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)rn at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:581)rn at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)rn at java.lang.Thread.run(Thread.java:745)rnCaused by: java.net.SocketException: Software caused connection abort: socket write errorrn at java.net.SocketOutputStream.socketWrite0(Native Method)rn at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:111)rn at java.net.SocketOutputStream.write(SocketOutputStream.java:155)rn at org.apache.coyote.http11.InternalOutputBuffer$OutputStreamOutputBuffer.doWrite(InternalOutputBuffer.java:764)rn at org.apache.coyote.http11.filters.IdentityOutputFilter.doWrite(IdentityOutputFilter.java:118)rn at org.apache.coyote.http11.InternalOutputBuffer.doWrite(InternalOutputBuffer.java:570)rn at org.apache.coyote.Response.doWrite(Response.java:560)rn at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:353)rn ... 45 morern十一月 16, 2017 4:29:10 下午 org.apache.catalina.core.StandardWrapperValve invokern严重: Servlet.service() for servlet MVC DispatcherServlet threw exceptionrnjava.lang.NullPointerExceptionrn at com.zhwy.exception.MyExceptionHandler.resolveException(MyExceptionHandler.java:54)rn at org.springframework.web.servlet.DispatcherServlet.processHandlerException(DispatcherServlet.java:1222)rn at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1034)rn at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:984)rn at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:901)rn at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)rn at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:872)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)rn at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:197)rn at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)rn at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)rn at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:261)rn at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)rn at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:581)rn at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)rn at java.lang.Thread.run(Thread.java:745)rn
大佬们 来看看
[img=https://img-bbs.csdn.net/upload/201711/24/1511518108_452158.png][/img][img=https://img-bbs.csdn.net/upload/201711/24/1511518115_189166.png][/img]rn我想要用[Data_MoJiWeather]里的location查[Data_Area_Info]里的areaCode的数量rnrn实际上就是 查两个无关联的表里字段a是否包含个字段b rn并获得 字段b的id和符合条件的字段a的数量
大佬们帮忙看看。
/* 登录系统; 可注册密码。可修改密码;*/rnrn#includern#include rn#include rn#includern void dengluxitong();rnint main()rnrn dengluxitong(10);rn rn return 0;rn rn rn rn void dengluxitong(int n) rn rn rn while(1) rn rn rn char (*p)[10]=malloc(sizeof(char[10])*n);rn rn FILE *fp=NULL;rn int a=0,i=0;rn do rn a=0,i=0;rn printf("1.登录\n2.注册\n3.修改密码\n");rn scanf("%d",&a);rn fflush(stdin);rn rn if(a<1||a>3)rn printf("\n无效的序号!"); Sleep(1000); rn rn system("cls");rn rn while(a<1||a>3);rn rn rn switch(a)rn rn case 3: while(1) rn rn printf("账号:");rn scanf("%s",p[0]);rn printf("原密码:");rn scanf("%s",p[1]);rn printf("新密码:");rn scanf("%s",p[2]);rn rn fp=NULL;rn fp=fopen("Sl.txt","r+");rn rn if(fp==NULL)rn printf("文件打开失败!"); return ;rn rn for(i=4;i=n) rn printf("此账号不存在!"); Sleep(1000); system("cls"); continue; //因达到循环次数上限导致循环结束的 表明并没有此账号 (如果有此账号 将会break 直接结束循环 ) rnrn rn rn if(strcmp(p[1],p[i+1])==0) //账号后面就是该账号的密码 ;判断密码如果无误 就对密码进行更换 rn strcpy(p[i+1],p[2]); system("cls"); break; //用新密码将原密码替换掉 rn elsern printf("原密码错误!"); Sleep(1000); system("cls");rn rn rn rn rn for(i=4;i=n)rn printf("此账号不存在!"); Sleep(1000); system("cls"); free(p); continue;rn rn rn rn if(strcmp(p[1],p[i+1])==0 ) //核对输入密码是否与存入密码相符; rn printf("登录成功!"); Sleep(1000); system("cls"); free(p); return ;rn elsern printf("密码错误!"); Sleep(1000); system("cls"); rn rn fclose(fp); rn rn rn rn rn rn rn rn rn rn free(p);rn rn rn rn rnrn[img=https://img-bbs.csdn.net/upload/201801/27/1517015534_474100.png][/img] 注册账号发现文件写入那么多(如图) 就写不进去了。 再写入的时候没有提示,就是账号信息并没有在文件中。 能写入多少似乎和我的数组大小有关。rnrn rn但是当我使用a 再次打开一次文件后再读写就没问题了rn[img=https://img-bbs.csdn.net/upload/201801/27/1517016097_821747.png][/img]rn
那位大佬看这什么意思啊
#includern#includern#includern#includernusing namespace std;rnstruct Meetinglist //定义类 Meetinglistrnrn char name[10];rn char number[50];rn char department[40];rn char address[40];rn char time[15];rn char moderator[20];rn char recoder[15];rn char presentmembers[300];rn char digest[500];rn;rnrnvoid Add(fstream); //添加会议记录rnvoid modification(fstream); //修改会议记录 rnvoid Delete(fstream); //删除会议记录rnvoid Inquire(fstream); //按不同字段(会议编号)查询会议记录和浏览所有会议记录信息rnrnrnint main()rnrn int choice;rn fstream field("F:\\aaa.dat", ios::in | ios::out | ios::binary);rn if (!field)rn rn cerr << "文件不能打开" << endl;rn return 0;rn rnrn while (choice)rn rn cout << "**会议记录管理系统**\n";rn cout << "1.添加会议记录:\n"rn << "2.修改会议记录:\n"rn << "3.删除会议记录:\n"rn << "4.按不同字段(会议编号)查询会议记录和浏览所有会议记录信息:\n"rn << "0.退出!\n";rnrnrn dorn rn cin >> choice;rn while (choice != 0 && choice != 1 && choice != 2 && choice != 3 && choice != 4 && choice != 5);rnrn switch (choice)rn rn case 1: Add(field); break;rn case 2: modification(field); break;rn case 3: Delete(field); break;rn case 4: Inquire(field); break;rn case 0: cout << "退出系统!\n"; return 0;rn default:cout << "输入错误,请重新输入\n";rn rn rnrn field.close();rnrnrnvoid Add(fstream f)rnrn Meetinglist list;rnrn cout << "请输入会议名称:\n";rn cin >> list.name;rnrn cout << "请输入会议编号(3位):\n";rn cin >> list.number;rnrn cout << "請输入部门名称:\n";rn cin >> list.department;rnrn cout << "请输入会议地点:\n";rn cin >> list.address;rnrn cout << "请输入会议日期:\n";rn cin >> list.time;rnrn cout << "请输入会议主持人:\n";rn cin >> list.moderator;rnrn cout << "请输入会议记录人:\n";rn cin >> list.recoder;rnrn cout << "请输入出席人员:\n";rn cin >> list.presentmembers;rnrn cout << "请输入会议摘要:\n";rn cin >> list.digest;rnrn f.write((char*)& list, sizeof(Meetinglist));rnrnrnrnrnvoid modification(fstream f)rnrn Meetinglist List;rn int a = 0;rn int m = 0;rn int choice;rn char num[50];rn char information[50];rn f.seekg(0, ios::end);rn long posEnd = (long)f.tellg();rn f.seekg(0, ios::beg);rnrnrn cout << "*请输入要修改会议记录的编号:*\n";rn cin >> num;rn dorn rn f.read((char*)& List, sizeof(Meetinglist));rn for (int i = 0; i < 50; i++)rn rn if (num[i] == List.number[i])rn m++;rn if (num[i] != List.number[i])rn rn m = 0;rn break;rn rn rn while (m != 50 && posEnd != f.tellg());rnrn if (m <= 50)rn cout << "*找到这个会议*\n"rn << "1.修改会议名称:\n"rn << "2.修改会议编号:\n"rn << "3.修改部门名称:\n"rn << "4.修改会议地点:\n"rn << "5.修改会议日期:\n"rn << "6.修改会议主持人:\n"rn << "7.修改会议记录人:\n"rn << "8.修改出席人员:\n"rn << "9.修改会议摘要:\n"rn << "0.退出:\n";rnrn if (m != 50)rn rn cout << "*没有这个会议*!\n";rn return;rn rnrn while (choice)rn rn dorn rn cin >> choice;rn while (choice != 1 && choice != 2 && choice != 3 && choice != 4 && choice != 5 &&rn choice != 6 && choice != 7 && choice != 8 && choice != 9 && choice != 0);rnrn switch (choice)rn rn case 1: cin >> information;rn for (a = 0; a < sizeof(List.name); a++)rn List.name[a] = information[a];rn f.seekp(-long(sizeof(Meetinglist)), ios::cur);rn f.write((char*)& List, sizeof(List));rn return;rn case 2: cin >> information;rn for (a = 0; a < sizeof(List.number); a++)rn List.number[a] = information[a];rn f.seekp(-long(sizeof(Meetinglist)), ios::cur);rn f.write((char*)& List, sizeof(List));rn return;rn case 3: cin >> information;rn for (a = 0; a < sizeof(List.department); a++)rn List.department[a] = information[a];rn f.seekp(-long(sizeof(Meetinglist)), ios::cur);rn f.write((char*)& List, sizeof(List));rn return;rn case 4: cin >> information;rn for (a = 0; a < sizeof(List.address); a++)rn List.address[a] = information[a];rn f.seekp(-long(sizeof(Meetinglist)), ios::cur);rn f.write((char*)& List, sizeof(List));rn return;rn case 5: cin >> information;rn for (a = 0; a < sizeof(List.time); a++)rn List.time[a] = information[a];rn f.seekp(-long(sizeof(Meetinglist)), ios::cur);rn f.write((char*)& List, sizeof(List));rn return;rn case 6: cin >> information;rn for (a = 0; a < sizeof(List.moderator); a++)rn List.moderator[a] = information[a];rn f.seekp(-long(sizeof(Meetinglist)), ios::cur);rn f.write((char*)& List, sizeof(List));rn return;rn case 7: cin >> information;rn for (a = 0; a < sizeof(List.recoder); a++)rn List.recoder[a] = information[a];rn f.seekp(-long(sizeof(Meetinglist)), ios::cur);rn f.write((char*)& List, sizeof(List));rn return;rn case 8: cin >> information;rn for (a = 0; a < sizeof(List.presentmembers); a++)rn List.presentmembers[a] = information[a];rn f.seekp(-long(sizeof(Meetinglist)), ios::cur);rn f.write((char*)& List, sizeof(List));rn return;rn case 9: cin >> information;rn for (a = 0; a < sizeof(List.digest); a++)rn List.digest[a] = information[a];rn f.seekp(-long(sizeof(Meetinglist)), ios::cur);rn f.write((char*)& List, sizeof(List));rn return;rn case 0: cout << "退出!\n"; return;rn rnrn rnrnrnrnrnvoid Delete(fstream f)rnrn Meetinglist list;rn int m = 0;rn char a;rn char num[50];rn char Fill[80] = ' ' ;rn int i;rn cout << "*请输入要删除的会议的编号Y/N:*" << endl;rn cin >> num;rn f.seekg(0, ios::end);rn long posEnd =(long)f.tellg();rn f.seekg(0, ios::beg);rn dorn rn f.read((char*)& list, sizeof(Meetinglist));rn for (int i = 0; i < 50; i++)rn rn if (num[i] == list.number[i])rn m++;rn if (num[i] != list.number[i])rn rn m = 0;rn break;rn rn rn while (m != 50 && posEnd != f.tellg());rn if (m <= 50)rn cout << "*找到这个会议*\n";rnrn if (m != 50)rn rn cout << "*没有这个会议!*\n";rn return;rn rn cout << "*确定删除这个会议?*" << endl;rn dorn rn cin >> a;rn while (a != 'Y' && a != 'N' && a != 'y' && a != 'n');rnrn if (a == 'Y' || a == 'y')rn rn for (int i = 0; i < sizeof(list.name); i++)rn rn list.name[i] = Fill[i];rn rn for (i = 0; i < sizeof(list.number); i++)rn rn list.number[i] = Fill[i];rn rn for (i = 0; i < sizeof(list.department); i++)rn rn list.department[i] = Fill[i];rn rn for (i = 0; i < sizeof(list.address); i++)rn rn list.address[i] = Fill[i];rn rn for (i = 0; i < sizeof(list.time); i++)rn rn list.time[i] = Fill[i];rn rn for (i = 0; i < sizeof(list.moderator); i++)rn rn list.moderator[i] = Fill[i];rn rn for (i = 0; i < sizeof(list.recoder); i++)rn rn list.recoder[i] = Fill[i];rn rn for (i = 0; i < sizeof(list.presentmembers); i++)rn rn list.presentmembers[i] = Fill[i];rn rn for (i = 0; i < sizeof(list.digest); i++)rn rn list.digest[i] = Fill[i];rn rnrn f.seekp(-long(sizeof(Meetinglist)), ios::cur);rn f.write((char*)& list, sizeof(list));rn return;rn rn if (a == 'N' || a == 'n')rnrn return;rnrnrnrnrnvoid Inquire(fstream f)rnrn int choice;rn Meetinglist list;rn char num[50];rn f.seekg(0, ios::end);rn long posEnd = (long)f.tellg();rn cout << "**查询会议资料**\n";rn while (1)rn rn cout << "请输入操作选项\n"rn << "1:按会议编号查询\t"rn << "2:浏览\t"rn << "0:退出\n";rn cin >> choice;rn switch (choice)rn rn case 1:rn f.seekg(0, ios::beg);rn cout << "会议编号:\n";rn cin >> num;rn dorn rn f.read((char*)& list, sizeof(Meetinglist));rn while (list.number != num && f.tellg() != posEnd);rn if (list.number == num)rn cout << list.number << '\t'rn << list.name << '\t'rn << list.department << '\t'rn << list.address << '\t'rn << list.time << '\t'rn << list.moderator << '\t'rn << list.recoder << '\t'rn << list.presentmembers << '\t'rn << list.digest << endl;rn elsern rn cout << "*会议编号输入错误*\n";rn continue;rn rn break;rn rn case 2:rn f.seekg(0, ios::beg);rn dorn rn f.read((char*)& list, sizeof(Meetinglist));rn cout << list.number << '\t'rn << list.name << '\t'rn << list.department << '\t'rn << list.address << '\t'rn << list.time << '\t'rn << list.moderator << '\t'rn << list.recoder << '\t'rn << list.presentmembers << '\t'rn << list.digest << endl;rn while (list.number != num && f.tellg() != posEnd);rn break;rn rn case 0: return;rn rn rnrnrnrn1>C:\Users\Administrator\Desktop\课设\课设\课设.cpp(52,1): error C2280: “std::basic_fstream>::basic_fstream(const std::basic_fstream> &)”: 尝试引用已删除的函数rnrn
十以内带括号的加减法(c++)
这是数据结构老师在课上讲的例题,具体教程可以看我上传的ppt,问题要求如下:   输入一串字符串,为十以内带括号的加减乘除,输出后缀表达式和结果。 解决思路:   先将字符串转化为后缀表达式,然后利用后缀表达式得出结果。 中缀表达式转化为后缀表达式 当中缀表达式中有括号时, 后缀表达式计算结果: 代码实现: #include &quot;pch.h&quot; #include &amp;lt;...
高手们快来看看这是什么原因唉....
小弟在Linux下安装完Jbuilderx后遇到了问题,rn在运行时他总是说:rn error: while loading shared libraries: libstdc++-libc6.2-2.so.3: cannot open shared object file: No such file or directoryrn请问这是什么原因呀
十以内加减法练习 powerbuilder源码
学校要求每天都要给孩子出20道练习题,第二天检查,所以就做了这个小练习 是用pb11.5做的,是源码
请问各位大佬这是什么问题????
这个东西我在DEV C++里面可以通过,在VC里就不能说是rnerror C2039: 'delete[]' : is not a member of '`global namespace''rn是不是D版的VC++6.0不行啊,请问高手.rnrnrn#includern#includernusing namespace std;rnrntemplate class PWraprn T* ptr;rnpublic:rn class RangeError;rn PWrap()rn ptr=new T[sz];rn cout<<"PWrap constructor"<=0&&icats;rn PWrapdog;rnpublic:rn UseResources()cout << "UseResources()"<
大佬告诉我这是什么错误
十一月 18, 2017 2:40:22 下午 com.microsoft.sqlserver.jdbc.TDSChannel enableSSLrn信息: java.security path: D:\Java\jdk1.8.0_121\jre\lib\securityrnSecurity providers: [SUN version 1.8, SunRsaSign version 1.8, SunEC version 1.8, SunJSSE version 1.8, SunJCE version 1.8, SunJGSS version 1.8, SunSASL version 1.8, XMLDSig version 1.8, SunPCSC version 1.8, SunMSCAPI version 1.8]rnSSLContext provider info: Sun JSSE provider(PKCS12, SunX509/PKIX key/trust factories, SSLv3/TLSv1/TLSv1.1/TLSv1.2)rnSSLContext provider services:rn[SunJSSE: KeyFactory.RSA -> sun.security.rsa.RSAKeyFactoryrn aliases: [1.2.840.113549.1.1, OID.1.2.840.113549.1.1]rn, SunJSSE: KeyPairGenerator.RSA -> sun.security.rsa.RSAKeyPairGeneratorrn aliases: [1.2.840.113549.1.1, OID.1.2.840.113549.1.1]rn, SunJSSE: Signature.MD2withRSA -> sun.security.rsa.RSASignature$MD2withRSArn aliases: [1.2.840.113549.1.1.2, OID.1.2.840.113549.1.1.2]rn, SunJSSE: Signature.MD5withRSA -> sun.security.rsa.RSASignature$MD5withRSArn aliases: [1.2.840.113549.1.1.4, OID.1.2.840.113549.1.1.4]rn, SunJSSE: Signature.SHA1withRSA -> sun.security.rsa.RSASignature$SHA1withRSArn aliases: [1.2.840.113549.1.1.5, OID.1.2.840.113549.1.1.5, 1.3.14.3.2.29, OID.1.3.14.3.2.29]rn, SunJSSE: Signature.MD5andSHA1withRSA -> sun.security.ssl.RSASignaturern, SunJSSE: KeyManagerFactory.SunX509 -> sun.security.ssl.KeyManagerFactoryImpl$SunX509rn, SunJSSE: KeyManagerFactory.NewSunX509 -> sun.security.ssl.KeyManagerFactoryImpl$X509rn aliases: [PKIX]rn, SunJSSE: TrustManagerFactory.SunX509 -> sun.security.ssl.TrustManagerFactoryImpl$SimpleFactoryrn, SunJSSE: TrustManagerFactory.PKIX -> sun.security.ssl.TrustManagerFactoryImpl$PKIXFactoryrn aliases: [SunPKIX, X509, X.509]rn, SunJSSE: SSLContext.TLSv1 -> sun.security.ssl.SSLContextImpl$TLS10Contextrn aliases: [SSLv3]rn, SunJSSE: SSLContext.TLSv1.1 -> sun.security.ssl.SSLContextImpl$TLS11Contextrn, SunJSSE: SSLContext.TLSv1.2 -> sun.security.ssl.SSLContextImpl$TLS12Contextrn, SunJSSE: SSLContext.TLS -> sun.security.ssl.SSLContextImpl$TLSContextrn aliases: [SSL]rn, SunJSSE: SSLContext.Default -> sun.security.ssl.SSLContextImpl$DefaultSSLContextrn, SunJSSE: KeyStore.PKCS12 -> sun.security.pkcs12.PKCS12KeyStorern]rnjava.ext.dirs: D:\Java\jdk1.8.0_121\jre\lib\ext;C:\Windows\Sun\Java\lib\extrn2017-11-18 14:40:22 [ERROR] -com.zhwy.exception.MyExceptionHandler.resolveException(MyExceptionHandler.java:27)rn 错误信息:rnorg.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (驱动程序无法通过使用安全套接字层(SSL)加密与 SQL Server 建立安全连接。错误:“Connection reset by peer: socket write error ClientConnectionId:7cbf4001-f25a-4b28-9be5-f239b2f98254”。)rn rn
这是什么原因导致的??
[img=https://img-bbs.csdn.net/upload/201409/01/1409537648_840658.jpg][/img]rnrn这种错误有时出现,虽然不会有什么大影响,但却是很烦人
这是什么原因导致
org.apache.jasper.JasperExceptionrn at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:254)rn at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)rn at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)rn at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)rn at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:575)rn at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:498)rn at org.apache.struts.tiles.TilesUtilImpl.doInclude(TilesUtilImpl.java:118)rn at org.apache.struts.tiles.TilesUtil.doInclude(TilesUtil.java:161)rn at org.apache.struts.taglib.tiles.InsertTag.doInclude(InsertTag.java:702)rn at org.apache.struts.taglib.tiles.InsertTag$InsertHandler.doEndTag(InsertTag.java:817)rn at org.apache.struts.taglib.tiles.InsertTag.doEndTag(InsertTag.java:466)rn at org.apache.jsp.indexlayout_jsp._jspx_meth_tiles_insert_5(indexlayout_jsp.java:299)rn at org.apache.jsp.indexlayout_jsp._jspService(indexlayout_jsp.java:121)rn at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)rn at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)rn at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)rn at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)rn at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)rn at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:575)rn at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:498)rn at org.apache.struts.tiles.TilesUtilImpl.doInclude(TilesUtilImpl.java:118)rn at org.apache.struts.tiles.TilesUtil.doInclude(TilesUtil.java:161)rn at org.apache.struts.taglib.tiles.InsertTag.doInclude(InsertTag.java:702)rn at org.apache.struts.taglib.tiles.InsertTag$InsertHandler.doEndTag(InsertTag.java:817)rn at org.apache.struts.taglib.tiles.InsertTag.doEndTag(InsertTag.java:466)rn at org.apache.jsp.index_jsp._jspx_meth_tiles_insert_0(index_jsp.java:84)rn at org.apache.jsp.index_jsp._jspService(index_jsp.java:53)rn at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)rn at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)rn at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)rn at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)rn at com.wisdom.dzjp.struts.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:67)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)rn at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)rn at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)rn at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)rn at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)rn at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)rn at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2416)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)rn at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)rnrnrn
大佬的java笔记
这个是一位大佬给我的java笔记 据说作者是专业第一我觉得写的不错