ie下打开文件都会提示下载,求大神解答

ie下下东西都需要先下载,才能预览,怎么让他不下载也可以预览啊,求大神解答图片

4个回答

你没安装过pdf插件,处理不了的文件肯定都是下载的了,你要直接网页预览需要flash,可以使用FlashPaper
http://blog.csdn.net/mywaster/article/details/43761003

用js代码写啊图片说明

默认直接打开pdf,你没安装过pdf插件,处理不了的文件肯定都是下载的了。

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
ie与火狐的差异,在线求大神解答
[img=https://img-bbs.csdn.net/upload/201508/25/1440471278_722129.png][/img]rnrn数据库中字段是小写的.rn为何在ie中m是大写,rn在火狐中是小写呢?rn我要在ie中显示的是小写,该怎么解决?
关于IE浏览器问题,求大神解答
IE浏览器卸载了,不能安装,显示有更好版本,这个问题该如何解决啊?我试过完美卸载,IE助手的软件进行卸载、修复都不行
LINK : fatal error LNK1104: 无法打开文件“Example.obj”,求大神解答
LINK : fatal error LNK1104: 无法打开文件“Example.obj”rn看了些帖子的解答,都说是"的问题,但是我看了链接器-命令行,没发现有什么问题,求各位大神帮忙看看rn命令行里是这样的rn/OUT:"Debug\"GSound Example 2.exe"" /INCREMENTAL /NOLOGO /LIBPATH:"D:\Programing\GSound SDK\Windows" /MANIFEST /MANIFESTFILE:"Debug\GSound Example 2.exe.intermediate.manifest" /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /DEBUG /PDB:"d:\Programing\GSound SDK\Example 2\Projects\VS2008\Debug\GSound Example 2.pdb" /SUBSYSTEM:CONSOLE /DYNAMICBASE /NXCOMPAT /MACHINE:X86 /ERRORREPORT:PROMPT GSound.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.librn哪里需要修改呢?或者问题还有其他原因?
求大神解答,谢谢
grant selectrnon table 职工,部门rnto 王明rnrnrnrn消息102,级别15,状态1,第2行rn','附近有语法错误。
新手求大神解答!!
最近学习javaweb的servlet,做了一个查询 跳转完了总是空白页rnconsole里是这样的rn严重: Servlet.service() for servlet jsp threw exceptionrnjava.lang.ArrayIndexOutOfBoundsException: -1rn at org.eclipse.jdt.internal.compiler.codegen.StackMapFrame.addStackItem(StackMapFrame.java:92)rn at org.eclipse.jdt.internal.compiler.ClassFile.traverse(ClassFile.java:5586)rn at org.eclipse.jdt.internal.compiler.ClassFile.generateStackMapTableAttribute(ClassFile.java:4303)rn at org.eclipse.jdt.internal.compiler.ClassFile.completeCodeAttribute(ClassFile.java:1378)rn at org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration.generateCode(AbstractMethodDeclaration.java:338)rn at org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration.generateCode(AbstractMethodDeclaration.java:270)rn at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.generateCode(TypeDeclaration.java:566)rn at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.generateCode(TypeDeclaration.java:635)rn at org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration.generateCode(CompilationUnitDeclaration.java:368)rn at org.eclipse.jdt.internal.compiler.Compiler.process(Compiler.java:781)rn at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:470)rn at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:436)rn at org.apache.jasper.compiler.Compiler.compile(Compiler.java:361)rn at org.apache.jasper.compiler.Compiler.compile(Compiler.java:336)rn at org.apache.jasper.compiler.Compiler.compile(Compiler.java:323)rn at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:564)rn at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:357)rn at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:405)rn at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:349)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:725)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:721)rn at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:466)rn at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:391)rn at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:318)rn at servlets.Update1.doGet(Update1.java:32)rn at servlets.Update1.doPost(Update1.java:40)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:644)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:725)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)rn at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:503)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:136)rn at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)rn at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:610)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)rn at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:526)rn at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1078)rn at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:655)rn at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:222)rn at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1566)rn at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1523)rn at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)rn at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)rn at java.lang.Thread.run(Unknown Source)rnrnorg.apache.jasper.JasperException: Unable to compile class for JSPrn at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:579)rn at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:357)rn at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:405)rn at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:349)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:725)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:721)rn at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:466)rn at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:391)rn at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:318)rn at servlets.Update1.doGet(Update1.java:32)rn at servlets.Update1.doPost(Update1.java:40)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:644)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:725)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)rn at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:503)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:136)rn at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)rn at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:610)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)rn at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:526)rn at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1078)rn at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:655)rn at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:222)rn at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1566)rn at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1523)rn at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)rn at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)rn at java.lang.Thread.run(Unknown Source)rnCaused by: java.lang.ArrayIndexOutOfBoundsException: -1rn at org.eclipse.jdt.internal.compiler.codegen.StackMapFrame.addStackItem(StackMapFrame.java:92)rn at org.eclipse.jdt.internal.compiler.ClassFile.traverse(ClassFile.java:5586)rn at org.eclipse.jdt.internal.compiler.ClassFile.generateStackMapTableAttribute(ClassFile.java:4303)rn at org.eclipse.jdt.internal.compiler.ClassFile.completeCodeAttribute(ClassFile.java:1378)rn at org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration.generateCode(AbstractMethodDeclaration.java:338)rn at org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration.generateCode(AbstractMethodDeclaration.java:270)rn at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.generateCode(TypeDeclaration.java:566)rn at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.generateCode(TypeDeclaration.java:635)rn at org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration.generateCode(CompilationUnitDeclaration.java:368)rn at org.eclipse.jdt.internal.compiler.Compiler.process(Compiler.java:781)rn at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:470)rn at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:436)rn at org.apache.jasper.compiler.Compiler.compile(Compiler.java:361)rn at org.apache.jasper.compiler.Compiler.compile(Compiler.java:336)rn at org.apache.jasper.compiler.Compiler.compile(Compiler.java:323)rn at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:564)rn ... 39 morern
thinkphp求大神解答
我有一个form表单 rn rn1:rn2:rn3:rn4:rnrn我想把 1存到一个数据表 2存到另一个数据表 3存到另外一个数据表里, 这个东西应该怎么写,或者大神忘记我这个表单 直接给个方法 求帮助!!!
面试题,求大神解答
请用C#实现以下功能rn1.一个winform程序,内嵌浏览器访问一个html页面,显示html内容rn2.在html页面中创建一个按钮A,点击按钮可以显示又winform弹出的对话框rn3.在winform程序界面上,创建一个按钮B,点击后,显示又html javascript弹出的消息提示框rn4.由winform程序界面上,创建一个按钮C,点击后将一个js函数注入到浏览器的html中,改变按钮A的点击效果,
tomcat报错 求大神解答!
rn错误信息如下。。 我百度了一下都是说连接不了数据库,但是解决方法都不管用rnrnERROR JDBCExceptionReporter:78 - Cannot create PoolableConnectionFactory (到主机 的 TCP/IP 连接失败。 java.net.ConnectException: Connection timed out: connect)rnrn我做了很多尝试,但是都没用,不知道问题出在哪? 我是做前端的,这个后台java程序不是我写的 所以具体该怎么处理这个东西??
求大神解答
using System;rnusing System.Collections.Generic;rnusing System.Linq;rnusing System.Text;rnrnnamespace 写一个读入整数的方法rnrn class Programrn rn static void Main(string[] args)rn rn Console.WriteLine("请输入你的年龄");rn int age = Console.[color=#FF0000]ReadInt();rn[/color] Console.WriteLine("你刚刚输入的年龄为:");rn rn public static int ReadInt()rn rn int number = 0;rn dorn rn tryrn rn number=Convert.ToInt32(Console.ReadLine());rn rn catchrn rn Console.WriteLine("你输入有误,请重新输入");rn return number;rn rn rn while (true);rn rn rn rnrn[color=#FF0000][b]]错误提示:错误 1 “System.Console”并不包含“ReadInt”的定义 rn[/b][/color]
求大神帮忙解答!!
大神,您好:rn 小弟遇到了下面的代码:rn [code=java]<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>rn<%rnString path = request.getContextPath();rnString basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";rnString errorMessage=(String)request.getAttribute("errorMessage");rn%>rn//七rnrnrnrn rn 远程医患交流平台-登陆rn rnrnrnrnrn rn rn rn rn rn rn 账 户:rn 密 码: rn 用户类型:医生用户患者用户管理员 rn <%rn if(errorMessage!=null) %>rn <%=errorMessage %>rn <% rn %>rnrnrn rn rn rn rn rn rn rn rn rnrnrnrn[/code]rn 下图为代码运行效果:rn [img=https://img-bbs.csdn.net/upload/201601/20/1453219648_447217.jpg][/img]rn 求高手点拨:rn 这个类型的 “表单提交 ”的机制,在哪行代码体现?rn 并且,这个类型的用户,单击图片中的“登陆”按钮后,应该触发了服务器验证用户是否合法的流程中。rn 上面:“单击图片中的登陆按钮后,登入系统。这一行 ”伪代码“, 要是换成对应的Java代码或者Jsp代码的话,应该分别走哪几行代码?rn 希望高手,能够指教!!rn 小弟,100分奉上!!rn [img=https://img-bbs.csdn.net/upload/201601/20/1453220877_494394.png][/img]
求大神解答!!!
例题:打印1到5的阶乘值。rnint fac(int n)rnrn static int f=1;rn f=f*n;rn return(f);rnrnmain()rnrn int i;rn for(i=1;i<=5;i++)rn printf("i=%d,fac(i)=%ld\n",i,fac(i));rnrnrnrn按照书上打的,但是电脑编译不出来,有错误。请问,哪里错了?
求大神帮忙解答
写程序帮李老师把2 组学生配对。有两组学生,A 组跟 B组。每个学生有自己的分数,分rn数为1 到100 的整数。一个 A 组的学生能跟一个 B组的学生配成一对,条件是两个学生分rn数差别不能超过某非负整数 k 。每一对包含一个 A 组的学生跟一个 B组的学生。每个学生rn只能参与一对不能参与多对。rn程序需要从标准输入(stdin)读问题数据,包括 3 行。第一行有 3 个整数,第一是 k ,第rn二是A 组的人数,第三是 B组的人数。第二第三行分别是 A 组 B组学生的分数,空各字符rn为定界符。答案为最多能配对的数量。程序需要把答案写到标准输出(stdout)。rn输入例子1:rn3 4 5rn1 1 0 2 0 2 6rn2 7 1 4 2 3 1 0 0rn输出例子1:rn3rn输入例子2:rn0 5 5rn1 7 4 5 0 2 3 1 0rn1 0 5 0 2 3 7 4 1 0 0rn输出例子2:rn4rn
新手 求大神解答
[img=https://img-bbs.csdn.net/upload/201612/22/1482372220_679957.png][/img] 这个问题怎么解决 就一个c#登陆界面密码验证的问题 用mysql 这里就是不行为什么啊 求大神详细解答下 万分感谢rn
求大神解答啊
[img=https://img-bbs.csdn.net/upload/201605/31/1464676561_22731.png][/img]
flash求大神解答
小弟,做了一个简单的,flash与vb结合的程[img=https://img-bbs.csdn.net/upload/201504/01/1427849436_788729.png][/img]序,就是flash 与vb交互,在排版方面遇到问题,想要让中间的FLVPlayback全屏展示该如何操作
求大神解答技术问题?
[img=https://img-bbs.csdn.net/upload/201702/11/1486790047_79897.png][/img]rn这是我在百度搜索中看到的 点击上一页下一页 整个页面不会刷新,只刷新这一块内容,而且还是带条件的进行查询的,这个用到的什么技术???
java.lang.InstantiationException,求大神解答!
严重: Servlet.service() for servlet spring threw exceptionrnjava.lang.InstantiationExceptionrn at sun.reflect.InstantiationExceptionConstructorAccessorImpl.newInstance(InstantiationExceptionConstructorAccessorImpl.java:30)rn at java.lang.reflect.Constructor.newInstance(Constructor.java:513)rn at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:147)rn at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:104)rn at org.springframework.web.method.annotation.ModelAttributeMethodProcessor.createAttribute(ModelAttributeMethodProcessor.java:136)rn at org.springframework.web.servlet.mvc.method.annotation.ServletModelAttributeMethodProcessor.createAttribute(ServletModelAttributeMethodProcessor.java:81)rn at org.springframework.web.method.annotation.ModelAttributeMethodProcessor.resolveArgument(ModelAttributeMethodProcessor.java:102)rn at org.springframework.web.method.support.HandlerMethodArgumentResolverComposite.resolveArgument(HandlerMethodArgumentResolverComposite.java:75)rn at org.springframework.web.method.support.InvocableHandlerMethod.getMethodArgumentValues(InvocableHandlerMethod.java:162)rn at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:123)rn at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:100)rn at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:604)rn at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:565)rn at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:80)rn at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:923)rn at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852)rn at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)rn at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:789)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)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 com.mvc.util.LoginFilter.doFilter(LoginFilter.java:27)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at com.mvc.util.SystemContextFilter.doFilter(SystemContextFilter.java:29)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.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)rn at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)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.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)rn at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at com.opensymphony.sitemesh.webapp.SiteMeshFilter.obtainContent(SiteMeshFilter.java:129)rn at com.opensymphony.sitemesh.webapp.SiteMeshFilter.doFilter(SiteMeshFilter.java:77)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:233)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:102)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)rn at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)rn at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)rn at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)rn at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)rn at java.lang.Thread.run(Thread.java:619)rnrn这是我在做spring MVC 文件上传所出现的异常,所用上传jar 包是jspSmartUpload.jar,求解rnrn这是后台方法rn[img=https://img-bbs.csdn.net/upload/201312/06/1386301764_604549.png][/img]rn这是前台jsprn[img=https://img-bbs.csdn.net/upload/201312/06/1386301781_102306.png][/img]rnrn
初学者求大神解答
protected void Button1_Click(object sender, EventArgs e)rn rn string name = Session["Vipname"].ToString();rn string userid = Session["Vipcard"].ToString();rn string zhuti = txt_zhutiadd.Text.ToString();rn string neirong = txt_neirongadd.Text.ToString();rn //string time = DateTime.Now.ToString();rn string sConn = ConfigurationManager.ConnectionStrings["ConnStr"].ToString();rn using (SqlConnection Conn = new SqlConnection(sConn))rn rn Conn.Open();rn using (SqlCommand cmd = new SqlCommand("Insert INTO [Liuyan] ([lytitle], [lycontent] ,[username] , [userid]) VALUES (@zhuti,@neirong,@name,@userid)", Conn))rn rn cmd.Parameters.AddWithValue("@zhuti", zhuti);rn cmd.Parameters.AddWithValue("@neirong", neirong);rn //cmd.Parameters.AddWithValue("@time", time);rn cmd.Parameters.AddWithValue("@name", name);rn cmd.Parameters.AddWithValue("@userid", userid);rn cmd.ExecuteNonQuery();rn rn rn rn rn总是报错,看了半天实在是看不出哪里错了,求大神解答rnrn编译不报错 运行出错rnrn行 40: cmd.Parameters.AddWithValue("@name", name);rn行 41: cmd.Parameters.AddWithValue("@userid", userid);rn行 42: cmd.ExecuteNonQuery();rn行 43: rn行 44: rn rnrn
求mfc大神解答
创建了Cdialog类怎么找不到相关类的Dlg.cpp
求大神解答!!!!!
这段代码为什么可以弹出来1不能弹出来2???????![图片](https://img-ask.csdn.net/upload/201703/23/1490226986_352921.png)
异常错误,求大神解答
![![图片说明](https://img-ask.csdn.net/upload/201606/04/1465022376_985865.png)图片说明](https://img-ask.csdn.net/upload/201606/04/1465022369_81740.png)
离散数学,,,求大神解答
求 (¬p∨¬q)→(p↔¬q)的主析取范式和主合取范式n求解答求解答求解答求解答求解答求解答
求大神解答!
我是个小白,最近一直在研究怎样上谷歌,都快要哭了!哪位大佬给解答一下,现在怎么翻墙啊!
新人,求大神解答!!!!
为什么我下android studio里java中没有src,也没有gen文件?会对我的编程有影响吗?![图片](https://img-ask.csdn.net/upload/201611/13/1478967421_859164.jpg)
求大神解答而已
[img=https://img-bbs.csdn.net/upload/201504/15/1429109837_984843.jpg][/img]rnrn这是我们学校Linux兴趣小组的官网首页rn因为快纳新了 所以先出一个 免试题来rn先看这个免试题吧 一开始我也很疑惑 不知道干什么 昨天听一个同学说了说rn这是主页 然后不论点下面的哪个选项 都是一直显示主页rn应该这就是问题吧 如何破解还是什么?rn我也不知道 我只是起步的菜鸟rn但是我也想进实验室 想掌握更好的技术rn所以 有没有大神告诉我 rn这是什么原理或者主要想搞什么rn谢谢
求大神解答查错
#includern#includern#includernusing namespace std;rnstruct flight //航班信息rnrn char a1[10]; //航班号rn string a2; //起飞时间rn string a3; //降落时间rn char a4[10]; //起飞城市rn char a5[10]; //降落城市rn int a6; //价格rn int a7; //票价折扣 rn int a8; //余票rnfl[10];rnstruct customer //客户信息rnrn char name[10]; //定义字符型数组姓名name[10]rn int seat; //定义整型变量座位号seatrn char num[10]; //定义字符型数组航班号num[10]rn char no[18]; //证件号norn int ps; //订票数psrn string qfs; //起飞时间qfsrn string jls; //降落时间jlsrn char qfd[10]; //起飞城市qfdrn char jld[10]; //降落城市jldrn int pj; //票价pjrncu[200];rnint cnum=3;rnint len=0;rnint A=0;rnvoid luru(); //声明录入函数rnvoid chaxun(); //声明查询函数rnvoid chaxun1(); //声明查询方式1函数rnvoid chaxun2(); //声明按查询方式2函数rnvoid dingpiao(); //声明订票函数rnvoid tuipiao(); //声明退票函数rnvoid xiugai(); //声明修改函数rnvoid menu(); //声明主菜单函数rnvoid duqu(); //声明文件读取函数rnvoid tuichu(); //声明退出并保存函数rnrnrnvoid luru() //航班信息录入rn rn cout<<"请输入航班信息:"<>fl[len].a1; //录入航班号rn cout<<"起飞时间"<>fl[len].a2; //录入起飞时间rn cout<<"降落时间"<>fl[len].a3; //录入降落时间rn cout<<"起飞城市"<>fl[len].a4; //录入起飞城市rn cout<<"降落城市"<>fl[len].a5; //录入降落城市rn cout<<"票价"<>fl[len].a6; //录入票价rn cout<<"折扣"<>fl[len].a7; //录入机票折扣rn cout<<"剩余票量"<>fl[len].a8; //录入剩余票量rn len++;rn cout<<"请选择所要进行的操作"<>t; //选择查询方式rn switch(t)rn rn case 1:rn chaxun1();rn break;rn case 2:rn chaxun2();rn break;rn default:cout<<"输入的数据有误,请重新输入!"<>n;rn for(int j=0;j>m1>>m2; //输入起始城市和降落城市rn for(j=0;j>Name; //输入乘客姓名rn cin>>fn; //输入乘客所要订的航班号rn for(int i=0;i0) rn strcpy(cu[A].name,Name);rn strcpy(cu[A].num,fn);rn cu[A].seat=fl[i].a8;rn A++;fl[i].a8--;sign=1;rn cout<<"订票成功!"<>Name; //输入乘客姓名rnrn cout<<"请输入航班号:";cin>>fn;cout<>num;int z=0;int j;rn for(int z=0;z>fl[j].a2;cout<<"达到时间:";cin>>fl[j].a3;cout<(&cu[i])),sizeof(customer));cout<<"写入成功!"<(&fl[i])),sizeof(flight));//将航班信息写入文件rn infile1.close(); //关闭文件rnrnrnvoid duqu() //读取文件信息rn rn ifstream infile1("airline.dat",ios_base::binary); rn while(infile1.peek()!=EOF) rn rn infile1.read((reinterpret_cast(&fl[len])),sizeof(flight));//输入方式读取文件rn cout<<"***航班信息****"<(&cu[A++])),sizeof(customer)); //输入方式读取文件rn infile2.close(); //关闭文件rn getchar();system("cls");rnrnvoid menu()rnrn cout<<"*******************航班订票系统*********************"<>i; //选择菜单rn switch(i)rn rn case 1:rn luru(); rn break;rn case 2:rn chaxun(); rn break;rn case 3:rn dingpiao();menu();rn case 4:rn tuipiao();rn menu();rn case 5:rn xiugai();rn menu();rn case 6:rn tuichu();rn exit(1); //退出rn break;rn default:cout<<"输入的选项不合法,请重新输入"<
求大神帮忙解答!
[img=https://img-bbs.csdn.net/upload/201607/09/1468029033_463634.png][/img]rn这种效果怎么做rn[img=https://img-bbs.csdn.net/upload/201607/09/1468029164_749260.png][/img]rn一部分是这个
求大神解答~
public static String tostring(int[] arr)rn if (arr==null) rn return null;rn rn if (arr.length==0) rn return "[]";rn rn StringBuilder sb=new StringBuilder();rn sb.append("[");rn for (int i = 0;i
新人求大神解答
html的代码是 rnjs代码是 alert($('#xztab').value);rn为什么输出是 undefined!rn大神路过求解答
初学者,求大神解答
为什么这两代码在控制台那里运行不出来,显示的是我之前打的同一包中不同类的运行结果,求解答,,rn[img=https://img-bbs.csdn.net/upload/201907/30/1564453771_99934.png][/img][img=https://img-bbs.csdn.net/upload/201907/30/1564453776_146129.png][/img]
大神求解答
在存储过程创建的DW中,rn存储过程:execute dbo.sp_whs_user_define_item_activity;1 @as_col_list='(cust_code)[cust_code] (cust_name)[cust_name] (warehouse_name)[whs_name] (gdw_no)[gdw_no] (gdw_uid)[gdw_uid] (gdw_delivery_by)[delivery_by] (receive_date)[recv_date] (receive_date_time)[recv_time] (gdw_vehicle_no)[car_no] (vessel_name)[vsl_name] (pkg_unit_desc)[pkg_unit_desc] (voyage)[voy_no] (gdw_cntr_no)[cntr_no] (gdw_seal_no)[seal_no] (gdw_cntr_size)[cntr_size] (gdw_load_code)[load_code] (gdw_dish_code)[dish_port] (job_no)[job_no] (gdw_hawb_hbl_no)[hbl_no] (gdw_mawb_mbl_no)[cbl_no] (eta)[eta] (gdw_issue_date)[issue_date] (lot_no)[lot_no] (gdw_remark)[gdw_remark] (etd)[etd] (cust_addr01)[cu_addr_01] (cust_addr02)[cu_addr_02] (cust_addr03)[cu_addr_03] (cust_addr04)[cu_addr_04] (cust_addr05)[cu_addr_05] (lot_no)[lot_no] (client_item_no)[client_item_no] (gdwlot_client_lot_no)[client_lot_no] (booked_pkg)[pkg] (pkg_unit)[pkg_unit] (booked_inpkg)[in_pkg] (in_pkg_unit)[in_pkg_unit] (booked_cbm)[cbm] (booked_kgs)[kgs] (width)[width] (whs_loc)[loc_code] (gdwlot_remark)[gdwlot_remark] (description)[descp] (marks)[marks] (height)[height] (item_no)[maitem_item_no] (length)[lenght]',@as_active_type='I',@as_with_sub_table='0000',@as_date_fm='1900-1-1',@as_date_to='2099-12-31',@as_pgdw_where = ' and 1=2',@as_pdo_where = ' and 1=2',@as_do_where = ' and 1=2',@as_display_doctype='0100',@as_pb_prt_arg='''901508000171'',''90F10000023''' rn能运行rn在PB中添加存储过程代码rnexecute dbo.sp_whs_user_define_item_activity;1 @as_col_list='(cust_code)[cust_code] (cust_name)[cust_name] (warehouse_name)[whs_name] (gdw_no)[gdw_no] (gdw_uid)[gdw_uid] (gdw_delivery_by)[delivery_by] (receive_date)[recv_date] (receive_date_time)[recv_time] (gdw_vehicle_no)[car_no] (vessel_name)[vsl_name] (pkg_unit_desc)[pkg_unit_desc] (voyage)[voy_no] (gdw_cntr_no)[cntr_no] (gdw_seal_no)[seal_no] (gdw_cntr_size)[cntr_size] (gdw_load_code)[load_code] (gdw_dish_code)[dish_port] (job_no)[job_no] (gdw_hawb_hbl_no)[hbl_no] (gdw_mawb_mbl_no)[cbl_no] (eta)[eta] (gdw_issue_date)[issue_date] (lot_no)[lot_no] (gdw_remark)[gdw_remark] (etd)[etd] (cust_addr01)[cu_addr_01] (cust_addr02)[cu_addr_02] (cust_addr03)[cu_addr_03] (cust_addr04)[cu_addr_04] (cust_addr05)[cu_addr_05] (lot_no)[lot_no] (client_item_no)[client_item_no] (gdwlot_client_lot_no)[client_lot_no] (booked_pkg)[pkg] (pkg_unit)[pkg_unit] (booked_inpkg)[in_pkg] (in_pkg_unit)[in_pkg_unit] (booked_cbm)[cbm] (booked_kgs)[kgs] (width)[width] (whs_loc)[loc_code] (gdwlot_remark)[gdwlot_remark] (description)[descp] (marks)[marks] (height)[height] (item_no)[maitem_item_no] (length)[lenght]',@as_active_type='I',@as_with_sub_table='0000',@as_date_fm='1900-1-1',@as_date_to='2099-12-31',@as_pgdw_where = ' and 1=2',@as_pdo_where = ' and 1=2',@as_do_where = ' and 1=2',@as_display_doctype='0100',@as_pb_prt_arg=:as_uid_listrn添加参数值就会提示rnselect Error: failed to put data to safearrayrn错误rn确信就是这里出了问题,求解
相关热词 c# 标准差 计算 c#siki第五季 c#入门推荐书 c# 解码海康数据流 c# xml的遍历循环 c# 取 查看源码没有的 c#解决高并发 委托 c#日期转化为字符串 c# 显示问号 c# 字典对象池