求救!!求救!!页面跳转出错, [问题点数:20分]

Bbs1
本版专家分:0
结帖率 0%
网站跳转页面出错,经常自动跳回首页,求大神解救
网站在跳转页面的时候自动生成一些JS调用方法,调用的方法和和文件都不是我们写的,所以经常会报错,导致页面崩溃,自动跳转回首页。 (下图为报错信息,每次一弹出这个就会自动跳转到首页,根据用户反映,有时候
web页面跳转出错求救
代码有点多吧,希望好心人能运行一下帮帮,还是那句话不到最后时刻不会来劳烦大家,也没多少分啊……rnrnjava servlet代码:import java.io.IOException;rnimport java.io.PrintWriter;rnimport java.util.Collections;rnimport java.util.Enumeration;rnimport java.util.Map;rnrnimport javax.servlet.ServletException;rnimport javax.servlet.http.HttpServlet;rnimport javax.servlet.http.HttpServletRequest;rnimport javax.servlet.http.HttpServletResponse;rnrnrnpublic class ShowParameters extends HttpServlet rn public void doGet(HttpServletRequest request, HttpServletResponse response) rn throws ServletException, IOException rn response.setContentType("text/html;charset=gb2312");rn PrintWriter pw = response.getWriter();rn String title = "Reading All Request Parameters";rn pw.println(" 读取所有参数"rn + "\n" + " \n" + " \n"rn + " \n" rn + " Parameter Name Parameter Value(s)"); rn /*Map paramNames = request.getParameterMap();rn while (!paramNames.isEmpty()) rn Collections paramName = (Collections) paramNames.values();rn pw.print(" "+ paramName +"\n ");rn String[] paramValues = request.getParameterValues("paramName");rn */ rn Enumeration paramNames = request.getParameterNames();rn while (paramNames.hasMoreElements()) rn String paramName = (String) paramNames.nextElement();rn pw.print(" "+ paramName +"\n ");rn String[] paramValues = request.getParameterValues("paramName");rn rn if (paramValues.length == 1) rn String paramValue = paramValues[0];rn if (paramValues.length == 0) rn pw.println("No Value");rn else rn pw.println(paramValue);rn else rn pw.println(" ");rn for (int i=0; i" + paramValues[i]); rn rn pw.println("");rn rn rn pw.println("\n");rn rn rnrnrnrnHTML代码:rnrnrnrn A Sample FORM using Get rnrnrn A Sample PORM using POSTrnrn rn Item Number: rn Quantity: rn Price Each: rn rn First Name: rn Last Name: rn Middle Initial: rn Shipping Address:rn rn Gredit Card: rn Visa rn Master Card rn Americal Express rn Discover rn Java SmartCard rn Credit Card Number:rn rn Repeat Credit Card Number:rn rn rn rn rnrnrnrnrnrnrnservlet部署是成功的,可以访问:http://172.28.4.102:8080/myapp/servlet/ShowParametersrn静态网页也能访问: http://172.28.4.102:8080/myapp/ShowParametersForm.htmrnrn提交订单的时候跳转<em>出错</em>抛空指针错误啊:rnHTTP Status 500 - rnrn--------------------------------------------------------------------------------rnrntype Exception reportrnrnmessage rnrndescription The server encountered an internal error () that prevented it from fulfilling this request.rnrnexception rnrnjava.lang.NullPointerExceptionrn ShowParameters.doGet(ShowParameters.java:36)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:617)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:717)rn filters.ExampleFilter.doFilter(ExampleFilter.java:101)rnrnrn第36行没什么错啊就是个if语句:if (paramValues.length == 1) rnrnrn请好心的人有闲情的人帮看看……rnrn
初学页面跳转遇到问题求救
在慕课网上跟着安卓教程学习了三四天了,今天学到了<em>页面跳转</em>,跟着教程一步步做的没有发现什么问题。可是测试之后就到了一个空白的页面,可是我的两个页面都是有控件的而且把原来的主activity已经删掉了啊 不知道什么情况<em>求救</em>啊。。看在新人第一次发帖的份上求各位大大快来回复啊,下面贴代码
[求救]JSP页面跳转问题
从别人那,拿了个网站,说是要帮他修改修改rn然后我就原封不动的拿到了自己的MyEclipes workspace目录下rn发布到本地localhost服务器下rnrn发现进入首页indexrn页面url进行了处理,导致了网页不可呈现,求教!怎么样才能呈现网页rnrn主页目录包含代码rnrnrn rnrnrn输入的url:rnhttp://localhost:8080/school/index.jsprn按回车后,显示的url:rnhttp://localhost:8080/school/classInfo.do?action=getClassInfornrn然后,浏览器就显示网页not foundrn怎么破
求救页面跳转问题!!!
我想实现session过期后自动将<em>页面跳转</em>到登录窗口,代码如下:rnif session is nothing thenrn Response.Redirect("login.aspx")rnEnd ifrnrn但是过期后没有任何反应,请问该怎么写?
页面跳转问题求救
想从这个页面的登录直接调到另一个页面的登录而且自动登录,登录成功进入主页面。rn前提是这两个页面不是一个项目。rn大侠们有什么方法?rn有什么好的建议。rn<em>求救</em>哈哈。rn[color=#FF0000]rn在线等。[/color]
求救 asp 分页和页面跳转
在文本框输入想要进去的页面,通过按钮来实现。rnsql="select * from call_board where kind="&kind&" order by createtime desc"rnrs.open sql,conn,1,1rncallname=getcallname(kind)rnrn sz=20rn rs.pagesize=szrn totalpage=cint(rs.recordcount\sz)rn if rs.recordcount mod sz >0 then totalpage=totalpage+1rn if request("page")< "1" or request("page")= "" thenrn page=1rn elsern page=cint(request("page"))rn end ifrn if not rs.eof then rs.AbsolutePage=pagern%>rnrn 共页 第页 rn 1 then%>rn rn rn 上一页rn ">rn ">rn 跳rn " size="5">rn 页rn rn rn rn 下一页rn怎么点击没有反应?
PHP页面跳转,菜鸟求救。。。
rn rn rn rn rn rnrnrn首先判断输入框edit的内容是否为空,若非空跳转到news.php页面,且把值传给news.php中的edit2。rn该怎么写。本人是PHP初学,请大哥大姐指点。。。
求救......页面跳转问题
我有三个页面分别为A.aspx,B.aspx,C.aspxrnB.aspx的一部份用iframe包函了C.aspx内容rn现在我想在A.spx点击某个链接时跳转到B.aspx所包函C.aspx的某个段落.rnrn例如rnB.aspxrnrnrnC.aspxrn点击跳转rnrnA.aspx要怎样访问C.aspx的"点击跳转"这个段落呢?显示时不能只显示C.aspx,要显示B.aspx,因为它已经包函了C.aspx的内容了
求救----页面跳转问题
rn0 then totalpage=totalpage+1rn page=request("page1")rn if page< "1" or page= "" thenrn page=1rn elsern page=cint(page)rn 'response.Write(page)rn end ifrn if not rs.eof then rs.AbsolutePage=pagern %>rnrn rn 1 then%>rn&kind=>上一页rnrn上一页rnrn | rn >下一页rn rn 下一页rn /页 共个rn 跳转到 rn rn rn rn rnrn开始点GO能实现跳转,但是在点击下一页或者上一页的时候。。就不能在实现跳转了。
求救:session和页面跳转问题
1、如何判断session是否是同一个会话 比如说:一个用户进入网站时,计数器会加一,如果用户点刷新按钮程序就要判断是不是同一个用户(或者来自同一个会话)请问要怎么判断啊??请高手给个回答rnrn2、在一个session过期时,要关闭当前的窗口,返回到登陆 窗体,但是当前窗口是一个框架页,要怎么才能把这个框架页关闭,而不是让登陆窗体在当前框架页的主窗口中显示
创建线程时出错求救求救求救
DWORD WINAPI CMainFrame::ThreadForSave(LPVOID lpparameter)rnrn mempoint temp=(mempoint)lpparameter;rn rn CString filename=File_manager(1);rn 。。。。rn}rnrnm_file0结构如下:rntypedef struct mem//此结构体作为参数传递给线程:ThreadForSave;rn rn char *point;//待保存块首地址指针;rn DWORD blocksize;//待保存块长度;rn memblock,*mempoint;rnmemblock m_file0;rn错误出现在下面这句:rn savethread=CreateThread(NULL,0,ThreadForSave,&m_file0,CREATE_SUSPENDED,&ThreadID);rn提示是:error C2664: 'CreateThread' : cannot convert parameter 3 from 'unsigned long (void *)' to 'unsigned long (__stdcall *)(void *)'rnrnrn帮帮!rnrn
出错求救
PB9+ORCALE8rn数据更新时出现如下提示:rnORA-01653 unableto extend table HR.WAGE_SJBASE by 128 in tablespace HR
出错!求救!
在MSSQL数据库里执行一个存储过程没有问题!rn但是,rn用JSP调用这个过程就有问题!rn一到第62个记录就会终止!rnrnrn这个过程如下:rnrnrncreate proc batch_dhrn(rn@id char(10)rn)rnasrnEXEC master.dbo.xp_cmdshell 'bcp temp1.dbo.batch in c:\upload\batch.txt -c -q -S"sidi" -U"" -P""'rnrnrndeclare batch_cur cursor for select left(mobile,11) from batchrn open batch_currn declare @mobile char(11)rn fetch next from batch_cur into @mobilern while @@fetch_status=0rn beginrn if left(@mobile,3) not in ('130','131','132','133') or len(@mobile)<>11rn beginrn insert batch_nul(name,mobile,starttime,state,item)rn values(@id,@mobile,getdate(),1,'dh')rn endrn elsern beginrn if exists(select mobile from ticq.dbo.tdtuserinfo where left(mobile,11)=@mobile) or exists(select mobile from ticq.dbo.tdt_history where left(mobile,11)=@mobile)rn beginrn insert batch_fal(name,mobile,starttime,state,item)rn values(@id,@mobile,getdate(),1,'dh') rn endrn elsern beginrn insert batch_suc(name,mobile,starttime,state,item)rn values(@id,@mobile,getdate(),1,'dh')rn endrn endrn fetch next from batch_cur into @mobilern endrnclose batch_currndeallocate batch_currndelete from batchrnrndeclare batch_add cursor rn for select mobile from batch_suc where item='dh' and state=1rn open batch_addrn declare @mobile_add char(11)rn fetch next from batch_add into @mobile_addrn while @@fetch_status=0rn beginrn exec add_dh @mobile_add,@idrn fetch next from batch_add into @mobile_addrn endrnclose batch_addrndeallocate batch_addrnrninsert batchrnselect mobile from batch_suc where item='dh' and state=1rnEXEC master.dbo.xp_cmdshell 'bcp temp1.dbo.batch out c:\upload\suc.txt -c -q -S"sidi" -U"" -P""'rndelete from batchrninsert batchrnselect mobile from batch_fal where item='dh' and state=1rnEXEC master.dbo.xp_cmdshell 'bcp temp1.dbo.batch out c:\upload\fal.txt -c -q -S"sidi" -U"" -P""'rndelete from batchrninsert batchrnselect mobile from batch_nul where item='dh' and state=1rnEXEC master.dbo.xp_cmdshell 'bcp temp1.dbo.batch out c:\upload\nu.txt -c -q -S"sidi" -U"" -P""'rndelete from batchrnrn调用代码如下rnrnCallableStatement cstm1=con.prepareCall("call temp2.dbo.batchzc_dh_1(?,?)");rn cstm1.setString(1,tempid);rn cstm1.setString(2,gongsi);rn cstm1.execute();rncstm1.close();rnCallableStatement cstm2=con.prepareCall("call temp2.dbo.batchzc_dh_3(?)");rn cstm2.setString(1,tempid);rn cstm2.execute();
出错 -----------------------求救
“/”应用程序中的服务器错误。rn--------------------------------------------------------------------------------rnrn未将对象引用设置到对象的实例。 rn说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。 rnrn异常详细信息: System.NullReferenceException: 未将对象引用设置到对象的实例。rnrn源错误: rnrn执行当前 Web 请求期间生成了未处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。 rnrn堆栈跟踪: rnrnrn[NullReferenceException: 未将对象引用设置到对象的实例。]rn OfficeChannel.OfficeChannelDataContext..ctor() in C:\Documents and Settings\常慧勇\桌面\OfficeChannel\OfficeChannel\OfficeChannel.designer.cs:107rn CourseChannel_UserControl_LeftUser.ReturnBigID() in C:\Documents and Settings\常慧勇\桌面\OfficeChannel\OfficeChannel\coursesChannel\UserControl\LeftUser.ascx.cs:36rn CourseChannel_UserControl_LeftUser.Page_Load(Object sender, EventArgs e) in C:\Documents and Settings\常慧勇\桌面\OfficeChannel\OfficeChannel\coursesChannel\UserControl\LeftUser.ascx.cs:20rn System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +24rn System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +47rn System.Web.UI.Control.OnLoad(EventArgs e) +132rn System.Web.UI.Control.LoadRecursive() +65rn System.Web.UI.Control.LoadRecursive() +190rn System.Web.UI.Control.LoadRecursive() +190rn System.Web.UI.Control.LoadRecursive() +190rn System.Web.UI.Control.LoadRecursive() +190rn System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2603rn
求救求救求救求救求救求救求救求救求救求救求救求救求救求救!
rn网站发布到本地后,从index.html到list.aspx页面时就报这个错误了rnrn“C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -i”。rn网上都是这种解决办法,不管用.....<em>求救</em>~!rnrn[code=C#]rn无法显示 XML 页。 rn使用 XSL 样式表无法查看 XML 输入。请更正错误然后单击 刷新按钮,或以后重试。 rnrnrn--------------------------------------------------------------------------------rnrn名称以无效字符开头。处理资源 'file:///F:/web/list.aspx' 时<em>出错</em>。第 1 行,位置: 2 rnrnlis...rn rnrn[/code]rnrn
★★★★★★★求救求救求救求救求救求救求救求救求救求救求救求救求救求救求救求救求救求救★★★★★★★★★★
分一定全给,求求各位求求各位大哥大侠们了(谢谢谢谢谢谢大家大家)rn现有一学生情况表(STINFO),字段结构如下:rn域名 说明 rnxm 姓名 rnxb 性别 (分男,女) rnnl 年龄 rnxq 所属辖区 (分内,外两种,即取值可有内,外)rncsdj 测试等级 (分A,B,C,D,即取值可有A,B,C,D)rnrn现根据上述表中学生资料 进行分班,要求如下:rn 每班人数最多50人,每班性别(男女),年龄(出生在1990年以前与1990年以后),辖区(内,外),测试等级(A,B,C,D)的各类比例相同,我不知用什么好的方法解决,rnrn请各位大哥大姐大侠帮忙,特急特急。明天要交差的(星期天下午)rn谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢,一定加分!!!!!!!!!!!!!!rn也可直接发送方法至我的邮箱:LMH8127@china.com
求救求救求救求救求救求救求救
现要在pbscript 中读入一dbf格式的文件(用了fileopen)rn如何获得该文件的列名? 谢谢!!!!!!rn rnrn rn rn rn
求救~求救~求救~求救~求救~求救~求救~求救~求救~求救~求救~求救~求救~求救~求救~求救~求救~求救~求救~求救~求救~求救~求救~求救~求救~求救~求救~求救~求救~求救~求救~求救~求救~
一篇10万字的图文混排,中间包括 我设为 每1万字 分到下一页 rnrn可是中间正好有 从中间断开 rnrn下一页的开始只有 pic.gif" /> 所以肯定图片是显示不出来了。 rnrn还有遇到 的时候 结束标记被截到 下一页显示了。所以下一页 表格不见了,数据都错位。。 rnrn有没有高人 用replace 或者其它正则表达式来解决 这个问题呢。 rnrn万分感谢~~~~
求救求救求救求救求救求救求救求救求救求救求救求救求救……S……O……S
我以前做的一个数据库是Access的。密码忘啦。解密软件解不了啊。rn大侠救命…………………………rn哪儿用工具啊???rn
求救求救求救求救求救求救求救求救求救求救求救求救求救
以下是上传文件的源程序我上传以后rar的文件打不开,图片显示不全不知道为什么这个代码有问题吗??rnrnimport javax.servlet.*;rnimport javax.servlet.http.*;rnimport java.io.*;rnimport java.util.*;rnimport java.util.regex.*;rnimport org.apache.commons.fileupload.*;rnrnrnpublic class upload extends HttpServlet rn private static final String CONTENT_TYPE = "text/html; charset=GB2312";rn //Process the HTTP Post requestrn public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException rn response.setContentType(CONTENT_TYPE);rn PrintWriter out=response.getWriter();rn try rn DiskFileUpload fu = new DiskFileUpload();rn // 设置允许用户上传文件大小,单位:字节,这里设为2mrn fu.setSizeMax(2*1024*1024);rn // 设置最多只允许在内存中存储的数据,单位:字节rn fu.setSizeThreshold(4096);rn // 设置一旦文件大小超过getSizeThreshold()的值时数据存放在硬盘的目录rn fu.setRepositoryPath("c:\\windows\\temp");rn //开始读取上传信息rn List fileItems = fu.parseRequest(request);rn // 依次处理每个上传的文件rn Iterator iter = fileItems.iterator();rnrn//正则匹配,过滤路径取文件名rn String regExp=".+\\\\(.+)$";rnrn//过滤掉的文件类型rnString[] errorType=".exe",".com",".cgi",".asp";rn Pattern p = Pattern.compile(regExp);rn rn while (iter.hasNext()) rn FileItem item = (FileItem)iter.next();rn //忽略其他不是文件域的所有表单信息rn if (!item.isFormField()) rn String name = item.getName();rn long size = item.getSize();rn if((name==null||name.equals("")) && size==0)rn continue;rn Matcher m = p.matcher(name);rn boolean result = m.find();rn if (result)rn for (int temp=0;temp");rn rn catch(Exception e)rn out.println(e);rn rnrn rn elsern rn throw new IOException("fail to upload");rn rn rn rn rnrnrn catch (IOException e)rn out.println(e);rn rn catch (FileUploadException e)rn out.println(e);rn rn rn rnrn
求救求救求救求救求救
怎样配置才能让这段代码能连接上数据库呀rnusing System.Configuration;rnrnnamespace BHweb.DALrnrn public class DALConfigrn rn public static string ConnectionStringrn rn get return ConfigurationSettings.AppSettings["ConnectionString"]; rn rn rnrn
求救求救求救求救求救求救求救求救求救求救求救求救求救求救求救求救求救求救求救求救求救
分一定全给,求求各位求求各位大哥大侠们了(本人所属论坛VB)rn现有一学生情况表(STINFO),字段结构如下:rn域名 说明 rnxm 姓名 rnxb 性别 (分男,女) rnnl 年龄 rnxq 所属辖区 (分内,外两种,即取值可有内,外)rncsdj 测试等级 (分A,B,C,D,即取值可有A,B,C,D)rnrn现根据上述表中学生资料 进行分班,要求如下:rn 每班人数最多50人,每班性别(男女),年龄(出生在1990年以前与1990年以后),辖区(内,外),测试等级(A,B,C,D)的各类比例相同,我不知用什么好的方法解决,rnrn请各位大哥大姐大侠帮忙,特急特急。明天要交差的(星期天下午)rn谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢,一定加分!!!!!!!!!!!!!!rn也可直接发送方法至我的邮箱:LMH8127@china.com
!!求救!!求救!!求救!!求救!!求救!!!!!!
rn我是一个实习生啊,刚到公司老板就叫我一个人开发一个《台球厅计费系统》,我现在经验还不是很足,大家帮忙把我处处处以好吧!rn要求:rn1.用户角色设置。(能够管理用户)rn2.顾客身份设置:金卡,会员,普通rn3.不同球台球台,收费设置。rn4.台球桌的实时监控:看到当前那些桌子是空闲,那些桌子是忙碌rn5.修改收费具体内容:按季度收费,还是按时间段收费rn6.是否记录换台的功能rn7.有押金,提醒功能。(具有退款功能,)rn8.有打印每日报表功能。(是否具有记录功能)rnrn当然不是教大家帮我设计那!rnrn老板说这个软件较小,我是用什么做呢?rn我学过vs2005软件和C#语言,用vs里面自带的windows编程环境做吗?rn数据库用什么啊,用sql2005,可行啊?怎样参能做成类似于单击版的软件啊?rn多谢大家指教啊?????谢谢那rn感激!!!!!!!!!!:< :<
求救,求救,求救,求救,求救
学网络管理没有多少时间,看了一些这方面的书,对SNMP的原理部分有了些了解,在应用过程中发现原理的东西和实践还是相差很远,现在我用C++BUILDER做个东西,遇到了很多不明白的地方,创建会话,怎么样取得MIB中的数值,等等,现在特别想让高手给我指点一下,那样效果更好些,我周围对这方面了解的人特别少,我留下我的QQ和信箱,我们还可以交个朋友,谢谢了QQ21027007,EMAIL LIUHAIBAO@ETANG.COMrn
求救求救求救求救
我现在要把窗口名放在数据库的字段中,如何读取使字符型转换为对象!rn各位大哥大姐请帮个忙,要不然小弟的毕业论文就kill了!
求救求救求救求救
我的程序在调试时(按F5)出现下列信息rnrnUser breakpoint called from code at 0x77f9f9dfrnrn以至使我不能单步调试程序。rnrn不过开始部分(AfxWinMain)还是可以单步调试的,
求救 求救 求救 求救
<em>求救</em> <em>求救</em> <em>求救</em> <em>求救</em> 有一个系统,里面有很多个子系统,我拷了一个子系统在我机上,想修改,在一个子系统中我想改一个.class文件,修改后我想重新编译的时我想重新编译的时候,说编译不了,即使我一点都不改它也编译不了,我知道肯定是路径的问题,类包找不到,但我不知道怎么解决rn兄弟,你们说怎么办?怎么去修改那个.class文件???
▲▲▲▲▲▲求救求救求救求救求救求救求救求救求救求救求救求救▲▲▲▲
分一定全给,求求各位求求各位大哥大侠们了(VB论坛)rn现有一学生情况表(STINFO),字段结构如下:rn域名 说明 rnxm 姓名 rnxb 性别 (分男,女) rnnl 年龄 rnxq 所属辖区 (分内,外两种,即取值可有内,外)rncsdj 测试等级 (分A,B,C,D,即取值可有A,B,C,D)rnrn现根据上述表中学生资料 进行分班,要求如下:rn 每班人数最多50人,每班性别(男女),年龄(出生在1990年以前与1990年以后),辖区(内,外),测试等级(A,B,C,D)的各类比例相同,我不知用什么好的方法解决,rnrn请各位大哥大姐大侠帮忙,特急特急。明天要交差的(星期天下午)rn谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢,一定加分!!!!!!!!!!!!!!rn也可直接发送方法至我的邮箱:LMH8127@china.com 或 LMH8127@263.net
求救求救,求救求救,求救求救(100) !!!!!!!!!!!!!!!!!!!!!!!!
我用Vb做了四个Active 控件,每个控件中有两个数据库连接,打开方式如下rndim cnn as new adodb.connectionrncnn.connectionstring="..."rncnn.openrnadodc1.connectionstring="..."rnadodc1.recordsource="..."rnadodc1.refreshrn当我将这四控件(生成后的ocx,放在同一窗口)运行一次后,查看数据库连接,发现连接数rn为11个(sql查询分析器占用一个连接),针对此种情况,在控件中增加了unload函数如下:rnif cnn.state=adstateopen then cnn.close rnset cnn=nothingrn将控件重新生成,运行,但问题依然存在,现请教各位高手,这是什么原因,有何解决良策!!!
求救!!求救!!求救!!求救!!
如何把文件类型是jpg的转换成ico(尽量不失真)。在线等待!谢谢!
求救!!!!!!!!!!!!!!!!!求救!!!!!!!!!!!!!!!!!求救!!!!!!!!!!!!!!!!!求救!!!!!!!!!!!!!!!!!
我是一个JSP + tomcat 新手 ,有谁可发给我一些好的jsp开发的教程;rn谢谢!!,一定放分!!!!
(100分)求救求救求救求救求救求救求救求救
小弟刚刚买了一台电脑,可是老出问题: rn 每当开机后,自检完内存即检查驱动器之前,机子就死机了! rn 请各位把把脉!!谢谢!! rn电脑的配置: rn技嘉845E P41.7G HY256MDDR 金钻40G 小影霸GFM400 大水牛17" 建基52X rnSony1.44M 世纪之星 光电鼠标 漫步者2.1 华雕超薄键盘 rn
求救!求救!求救!求救!求救!求救!
怎样保留一个Double型为两为小数.如:54345.2121212转化为54345.21
求救求救求救求救求救求救
有哪位大虾知道如何在 datagrid 中加入checkbox?
求救求救求救求救求救求救求救!"在一定时间段内实现自动提示."求救求救求救求救
根据客户要求,我需要自动实现在某天到某天之间,提示员工需要完成的任务,并且设置每天提示几次,<em>求救</em>呀.高手帮帮忙,函数或者算法都可以.
求救!!求救!!TEXT 类型读取出错!!!
我用SQL的数据库,有四段文字都很长 ,我用varchar 8000不够长rn用 text 16 存入没问题,但是读取信息就报错!怎么办!rnrnMicrosoft OLE DB Provider for ODBC Drivers 错误 '80040e21' rnrn多步 OLE DB 操作产生错误。请检查每个 OLE DB 状态值。没有工作被完成。
在线高分求救求救求救求救求救求救求救
小弟因为安装linux,现在2000无法启动,光驱又不支持自动引导,无法修复和重新安装。rn请各位高手指点,在线急等!!!!!!!!!!
ADO求救!求救!求救!求救!
ADO控件是不是无法和DataSetProvider配合使用,为什么老是出现"Record not found or changed by other user"的错误,我是插入新记录怎么会现在这样的情况,用BDE控件则不会,请高手指教!
求救,COBList清空出错
第一次使用。rnCOBList dataValues = new CObList();rn有一个自己的类CGraphDataSet。rn下面是插入代码:rnCGraphDataSet *dataSet = new CGraphDataSet();rndataSet->SetXPosition(xValue);rndataSet->SetYValue(yValue);rndataValues->AddTail(dataSet);rnrn但是在我清空该list的时候老是<em>出错</em>,<em>求救</em>。rnPOSITION pos;rnCGraphDataSet *dataSet;rnrnpos = dataValues->GetHeadPosition();rnwhile(pos != NULL)rnrn dataSet = (CGraphDataSet*)dataValues->GetAt(pos);rn dataValues->RemoveAt(pos);rnrn delete dataSet; //此处delete总是<em>出错</em>rn dataValues->GetNext(pos);rnrndataValues->RemoveAll();rnrn谢谢了。
求救,qeb.config出错!!
我的项目突然遇到下面的错误,web.config我就没有修改过,并且我把项目copy到其他地方,可以正确运行,就是在调试的时候出这样的错,请问大虾我哪里出问题了呢??rnrn=====================================================rn错误的信息是:rn配置错误 rn说明: 在处理向该请求提供服务所需的配置文件时<em>出错</em>。请检查下面的特定错误详细信息并适当地修改配置文件。 rnrn分析器错误信息: 在应用程序级别以外使用注册为 allowDefinition='MachineToApplication' 的节是错误的。导致该错误的原因可能是在 IIS 中没有将虚拟目录作为应用程序进行配置。rnrn源错误: rnrnrn行 39: “Passport”和“None”rn行 40: rn行 41: rn行 42: rn行 43:
platformRequest 出错,求救
public void commandAction(Command c, Displayable d) rn rn if (c == cmdExit) rn this.notifyDestroyed(); rn rn if(c==cmdOK)rn try rn midlet.platformRequest("http://wap.163.com");rn catch (ConnectionNotFoundException ex) rn ex.printStackTrace();rn rn rn rnrn当我点击确定时报错rnjava.lang.NullPointerExceptionrn at ImgOpeMIDlet.commandAction(+26)rn at javax.microedition.lcdui.Display$DisplayAccessor.commandAction(+282)rn at javax.microedition.lcdui.Display$DisplayManagerImpl.commandAction(+10)rn at com.sun.midp.lcdui.DefaultEventHandler.commandEvent(+68)rn at com.sun.midp.lcdui.AutomatedEventHandler.commandEvent(+47)rn at com.sun.midp.lcdui.DefaultEventHandler$QueuedEventHandler.handleVmEvent(+186)rn at com.sun.midp.lcdui.DefaultEventHandler$QueuedEventHandler.run(+57)rnExecution completed.rnrn哪位大侠救我啊.是什么原因?rn
求救,引导区出错
安装linux过程中,准备硬盘安装:rn1.winiso制作了3个iso文件rn2.复制了dosutils文件夹,rn3.dos启动,dosutils下autoboot.batrn4.安装linux,错点了自动分区.linux没有安装好,又重启动.rn5.再次c启动,结果L 04 04 04 04 04.....不停的显示,rn估计是c引导区<em>出错</em>.rn6.a启动,看到c,d,e下文件依旧.rnrn请问如何恢复?
编程操作出错,求救
pic16c74b芯片在写入时<em>出错</em>是什么原因啊!rnrn求高手出手相助
JBuider2006+WS5.1出错求救
E:\Program Files\WebSphere\AppServer\java\bin\javaw" -classpath "E:\Program Files\WebSphere\AppServer\properties;E:\Program Files\WebSphere\AppServer\lib\bootstrap.jar;E:\Program Files\WebSphere\AppServer\lib\j2ee.jar;E:\Program Files\WebSphere\AppServer\lib\lmproxy.jar" -Dws.ext.dirs="" -Xmx256M -Xbootclasspath/p:"E:/Program Files/WebSphere/AppServer/java/jre/lib/ext/ibmorb.jar;E:/Program Files/WebSphere/AppServer/java/jre/lib/ext/ibmext.jar" -Dserver.root="C:E:/Program Files/WebSphere/AppServer" -Ddb2j.system.home="C:E:/Program Files/WebSphere/AppServer/properties" -Duser.install.root="C:E:/Program Files/WebSphere/AppServer" -Dcom.ibm.itp.location="C:E:/Program Files/WebSphere/AppServer/deploytool/itp" -Dwas.install.root="C:E:/Program Files/WebSphere/AppServer" -Dcom.ibm.CORBA.ConfigURL="file:/C:E:/Program Files/WebSphere/AppServer/properties/sas.client.props" -Djava.security.auth.login.config="C:E:/Program Files/WebSphere/AppServer/properties/wsjaas.conf" -Djava.security.policy="C:E:/Program Files/WebSphere/AppServer/properties/server.policy" com.ibm.ws.bootstrap.WSLauncher com.ibm.ws.runtime.WsServer "E:/Program Files/WebSphere/AppServer/config" gigfgt gigfgt server1rnjava.lang.ClassNotFoundException: com.ibm.ws.runtime.WsServerrn at java.net.URLClassLoader.findClass(URLClassLoader.java:374)rn at com.ibm.ws.bootstrap.ExtClassLoader.findClass(ExtClassLoader.java:45)rn at java.lang.ClassLoader.loadClass(ClassLoader.java:562)rn at java.lang.ClassLoader.loadClass(ClassLoader.java:494)rn at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:79)rnrn错误如上所述,请各位前辈兄弟指点一二...rn
求救:在SetPathName处出错
在某一个函数中向View发了一个消息,然后在响应函数中View调用了CDoc::SetPathName,在SetPathName函数中<em>出错</em>,经查为ASSERT中的错误。rnrnfunction1()rnrn ....//这里其实是一个循环,对每一个文件进行了操作,操作完就发出消息rn POSTMessage(....,pview,...)rn Sleep(200);//等待运行,打开一个新文件rn ...rnrnrnCMyView:: OnMessage1()rnrn...rnGetDocument()->SetPathName(FilePath);//!就是这里<em>出错</em>rn...rnrnrnrn实验证明,SetTitle也<em>出错</em>。怀疑是不是此时文档被锁定了??rn请高手赐教。
求救访问出错
Error Type:rnMicrosoft JET Database Engine (0x80004005)rnUnspecified errorrn/component/conn.asp, line 5rnrnrnBrowser Type:rnMozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) rnrnPage:rnGET /component/index.asp rnrn我在本机建了一个站点.把网站文件放在D盘就出现上面的错误,放在C盘又可以正常访问.请教各位高手,是怎么回事,如何解决.
Aglet运行时出错求救
运行agletsd,出现Tahiti。创建examples.hello.HelloAglet后,点击“go”运行后,出现如下错误rnjava.security.AccessControlException: access denied (com.ibm.aglets.security.MessagePermission aglet_key starttrip) rn at java.security.AccessControlContext.checkPermission(AccessControlConternxt.java:264)rn at java.security.AccessController.checkPermission(AccessController.java:rn427)rn at com.ibm.aglets.AgletContextImpl.checkPermission(Unknown Source)rn at com.ibm.aglets.LocalAgletRef.checkPermission(Unknown Source)rn at com.ibm.aglets.LocalAgletRef.checkMessagePermission(Unknown Source)rn at com.ibm.aglets.LocalAgletRef.checkMessagePermissionAndProtection(Unknrnown Source)rn at com.ibm.aglets.LocalAgletRef.cloneMessageAndCheck(Unknown Source)rn at com.ibm.aglets.LocalAgletRef.sendOnewayMessage(Unknown Source)rn at com.ibm.aglets.AgletProxyImpl.sendOnewayMessage(Unknown Source)rn at examples.hello.MyDialog.actionPerformed(Unknown Source)rn at java.awt.Button.processActionEvent(Button.java:388)rn at java.awt.Button.processEvent(Button.java:356)rn at java.awt.Component.dispatchEventImpl(Component.java:3955)rn at java.awt.Component.dispatchEvent(Component.java:3803)rn at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)rn at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThrnread.java:242)rn at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThrernad.java:163)rn at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)rnrn at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)rnrn at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)rn这是怎么回事呢?请大家多多指教。rn
数据库连接出错,高手求救!!
我封装一个ADOConn类:rnvoid ADOConn::OnInitADOConn() rn rntry rn rn ::CoInitialize(NULL); rnm_pConnection=NULL; rnm_pConnection.CreateInstance(__uuidof(Connection)); rnm_pConnection->ConnectionString="uid=;pwd=;DRIVER=Microsoft Access Driver (*.mdb);DBQ=WaterDB.mdb;"; rnm_pConnection->Open(L"",L"",L"",adCmdUnspecified); rn rncatch(_com_error e) rn rnAfxMessageBox(e.Description()); rn rn rnrn_RecordsetPtr& ADOConn::GetRecordSet(_bstr_t bstrSQL) rn rn try rn rnif(m_pConnection==NULL) rn OnInitADOConn(); rnm_pRecordset.CreateInstance(__uuidof(Recordset)); rn m_pRecordset->Open(bstrSQL,m_pConnection.GetInterfacePtr(),adOpenDynamic,adLockOptimistic,adCmdText); rn rn catch(_com_error e) rn rne.Description(); rn rnreturn m_pRecordset; rn rnrnBOOL ADOConn::ExecuteSQL(_bstr_t bstrSQL) rn rntry rn rn if(m_pConnection==NULL) rn OnInitADOConn(); rn m_pConnection->Execute(bstrSQL,NULL,adCmdText); rnreturn true; rn rncatch(_com_error e) rn rne.Description(); rnreturn false; rn rn rnrnvoid ADOConn::ExitConnect() rn rn m_pRecordset->Close(); rnm_pConnection->Close(); rnm_pRecordset=NULL; rnm_pConnection=NULL; rn::CoUninitialize(); rnrn用查询没问题,但当我用insert into语句时,rn ADOConn m_AdoConn; rnm_AdoConn.OnInitADOConn(); rnCString sql,code,name,type,price,num,date; rnm_code.GetWindowText(code); rnm_name.GetWindowText(name); rnm_type.GetWindowText(type); rnm_price.GetWindowText(price); rnm_num.GetWindowText(num); rnm_date.GetWindowText(date); rnsql.Format("insert into product values('%s','%s','%s','%s','%s','%s')",code,name,type,price,num,date); rn_RecordsetPtr m_pRecordset; rnm_pRecordset=m_AdoConn.GetRecordSet((_bstr_t)sql); rn m_AdoConn.ExitConnect();rn添加成功了,但还有错误的提示:rn[color=#FF0000]This application has requested the Runtime to terminate it in an unusual way.Please contact the application's support team for more information.[/color]怎么会这样?如何修改?高手请赐教!谢谢!!!
struts-menu 出错求救
我在弄struts-menu 的时候 报这个错rn=========rnexception rnrnjavax.servlet.ServletException: The menu repository could not be found.rn org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:825)rn org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:758)rn org.apache.jsp.static_002dmenu_jsp._jspService(static_002dmenu_jsp.java:72)rn org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:802)rn org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)rn org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)rn org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:802)rnrn==================rn "http://java.sun.com/dtd/web-jsptaglibrary_1_1.dtd"> 这个有警告rnrn大家帮忙看一看,我的qq是495058929 万分感谢!
求救!!!(上传服务器出错!)
我做好的项目在本机运行得时候一点问题也没有,可上传到服务器上进行浏览时出现下面得错误:rnParser Error Message: File or assembly name CrystalDecisions.CrystalReports.Engine, or one of its dependencies, was not found.rnrnSource Error: rnrn Line 13: 调试 ASP.NET 文件的文档。 Line 14: Line 15: rnrnrn Line 16: Line 17:
asp出错求救
一个对数据库进行操作的asp文件在本地iis运行正常,但是放到另一个iis中运行后出现以下错误,rn错误 Number: 70rn错误信息: 没有权限rn<em>出错</em>文件: Microsoft VBScript 运行时错误rn<em>出错</em>行: rn哪位大虾知道阿,!!!!!!!!谢谢阿!
express nodemailer出错求救
[code=html]rnrn rn rn rn rn rn rn 发送rn rn rn[/code]rnrn[code=javascript]rnvar express = require('express');rnvar router = express.Router();rnvar nodemailer = require('nodemailer');rnrnrn/* GET home page. */rnrouter.get('/', function(req, res, next) rnrn res.render('mail', title: 'Express' );rn);rnrouter.get('/send', function(req, res, next) rn var emailName = req.query['email'];rn var mailTransport = nodemailer.createTransport(rn host:'smtp.qq.com',rn // port:465,rn // host: 'smtp.qq.com',rn service: 'qq',rn secure: true,rn // secureConnection:true,rn auth:rn user:'2713103144@qq.com',rn pass:'mjsxhprbkzj11111'rn rn );rn var options = rn from:"2713103144@qq.com",rn to:emailName,rn subject:'这里是subject',rn text:'这里是text',rn html:' 你好,这里是html'rn ;rn console.log(options);rn mailTransport.sendMail(options, function(err, msg)rn if(err)rn console.log(err);rn elsern console.log("----------"+msg);rn res.send("发送成功");rn rn )rn rn);rnmodule.exports = router;rnrn[/code]rnrn[img=https://img-bbs.csdn.net/upload/201901/16/1547649626_41872.png][/img]rnrn提示我下面的错误。我怎么找也找不出 请高手指教
websphere4.0启动出错求救
我装了3台机子,可服务器总是启动不了,在服务里面手动启动IBM WS ADMIN也不行,这样管理控制台也启动不了,不知道是怎么回事,大家有没有碰到过,是不是和打了震荡波补丁有关系,我记得打这个补丁前都能正常启动的
求救:WEB水晶报表出错
编译器错误信息: CS1595: 已在多处定义“CrystalDecisions.Web.CrystalReportViewer”;使用“c:\WINDOWS\assembly\GAC\CrystalDecisions.Web\9.1.5000.0__692fbea5521e1304\CrystalDecisions.Web.dll”中的定义rnrn源错误:rnrn rnrn行 898: rn行 899: private System.Web.UI.Control __BuildControlCrystalReportViewer1() rn行 900: CrystalDecisions.Web.CrystalReportViewer __ctrl;rn行 901: rn行 902: #line 51 "F:\web\ytnet\mrpii\update2dz.aspx"rn rnrn源文件: c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\mrpii\7f521230\dcd3c74e\icgrvwu7.0.cs 行: 900 rn
tomcat部署出错 求救
2012-3-5 10:06:39 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbcrn严重: The web application [/shop] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.rn2012-3-5 10:06:39 org.apache.catalina.loader.WebappClassLoader clearReferencesThreadsrn严重: The web application [/shop] appears to have started a thread named [scheduler_Worker-1] but has failed to stop it. This is very likely to create a memory leak.rn2012-3-5 10:06:39 org.apache.catalina.loader.WebappClassLoader clearReferencesThreadsrn严重: The web application [/shop] appears to have started a thread named [scheduler_Worker-2] but has failed to stop it. This is very likely to create a memory leak.rn2012-3-5 10:06:39 org.apache.catalina.loader.WebappClassLoader clearReferencesThreadsrn严重: The web application [/shop] appears to have started a thread named [scheduler_Worker-3] but has failed to stop it. This is very likely to create a memory leak.rn2012-3-5 10:06:39 org.apache.catalina.loader.WebappClassLoader clearReferencesThreadsrn严重: The web application [/shop] appears to have started a thread named [scheduler_Worker-4] but has failed to stop it. This is very likely to create a memory leak.rn2012-3-5 10:06:39 org.apache.catalina.loader.WebappClassLoader clearReferencesThreadsrn严重: The web application [/shop] appears to have started a thread named [scheduler_Worker-5] but has failed to stop it. This is very likely to create a memory leak.rn2012-3-5 10:06:39 org.apache.catalina.loader.WebappClassLoader clearReferencesThreadsrn严重: The web application [/shop] appears to have started a thread named [scheduler_Worker-6] but has failed to stop it. This is very likely to create a memory leak.rn2012-3-5 10:06:39 org.apache.catalina.loader.WebappClassLoader clearReferencesThreadsrn严重: The web application [/shop] appears to have started a thread named [scheduler_Worker-7] but has failed to stop it. This is very likely to create a memory leak.rn2012-3-5 10:06:39 org.apache.catalina.loader.WebappClassLoader clearReferencesThreadsrn严重: The web application [/shop] appears to have started a thread named [scheduler_Worker-8] but has failed to stop it. This is very likely to create a memory leak.rn2012-3-5 10:06:39 org.apache.catalina.loader.WebappClassLoader clearReferencesThreadsrn严重: The web application [/shop] appears to have started a thread named [scheduler_Worker-9] but has failed to stop it. This is very likely to create a memory leak.rn2012-3-5 10:06:39 org.apache.catalina.loader.WebappClassLoader clearReferencesThreadsrn严重: The web application [/shop] appears to have started a thread named [scheduler_Worker-10] but has failed to stop it. This is very likely to create a memory leak.rn2012-3-5 10:06:39 org.apache.catalina.loader.WebappClassLoader clearReferencesThreadsrn严重: The web application [/shop] appears to have started a thread named [MySQL Statement Cancellation Timer] but has failed to stop it. This is very likely to create a memory leak.rn2012-3-5 10:06:39 org.apache.catalina.loader.WebappClassLoader clearReferencesThreadsrn严重: The web application [/shop] appears to have started a thread named [Compass Indexer] but has failed to stop it. This is very likely to create a memory leak.rn2012-3-5 10:06:39 org.apache.catalina.loader.WebappClassLoader clearReferencesThreadsrn严重: The web application [/shop] appears to have started a thread named [AWT-Windows] but has failed to stop it. This is very likely to create a memory leak.rnrn能进http://localhost:8080 进http://localhost:8080/shop就变成SOSO搜索了
求救,数据库修改出错
string sql;rn string conntxt;rn sql="update reguser set homepage='sddfgfhtht'";rn conntxt="Provider=Microsoft.Jet.OleDb.4.0;Data Source="+Server.MapPath("data.mdb")+"";rn System.Data.OleDb.OleDbConnection conn;rn conn=new System.Data.OleDb.OleDbConnection(conntxt);rn conn.Open();rn System.Data.OleDb.OleDbCommand comm;rn comm=conn.CreateCommand();rn comm.CommandText=sql;rn comm.CommandTimeout=30;rn comm.ExecuteScalar();rn //comm.ExecuteNonQuery();rn comm.Dispose();rn conn.Close();rn conn=null;rn以上是我的代码,检查sql语句是对的,没有错,但是运行时提示说:rn操作必须使用一个可更新的查询。 rn说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。 rnrn异常详细信息: System.Data.OleDb.OleDbException: 操作必须使用一个可更新的查询。rnrn源错误: rnrnrn行 61: comm.CommandText=sql;rn行 62: comm.CommandTimeout=30;rn行 63: comm.ExecuteScalar();rn行 64: //comm.ExecuteNonQuery();rn行 65: comm.Dispose();rn rnrnrn那位大虾知道给给小弟指点迷津,感激不尽阿!!!!!
配置出错求救
2014-2-11 14:54:03 org.apache.catalina.core.AprLifecycleListener initrn信息: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: D:\MyEclipse 10\MyEclipse\Common\binary\com.sun.java.jdk.win32.x86_64_1.6.0.013\bin;D:\MyEclipse 10\MyEclipse\Common\plugins\com.genuitec.eclipse.easie.tomcat.myeclipse_9.0.0.me201109141806\tomcat\binrn2014-2-11 14:54:03 org.apache.coyote.http11.Http11Protocol initrn信息: Initializing Coyote HTTP/1.1 on http-8080rn2014-2-11 14:54:03 org.apache.catalina.startup.Catalina loadrn信息: Initialization processed in 343 msrn2014-2-11 14:54:03 org.apache.catalina.core.StandardService startrn信息: Starting service Catalinarn2014-2-11 14:54:03 org.apache.catalina.core.StandardEngine startrn信息: Starting Servlet Engine: Apache Tomcat/6.0.13rn2014-2-11 14:54:03 org.apache.catalina.core.StandardContext listenerStartrn严重: Error configuring application listener of class org.springframework.web.context.ContextLoaderListenerrnjava.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListenerrn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1358)rn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)rn at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3770)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4334)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:920)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:883)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)rn at org.apache.catalina.core.StandardService.start(StandardService.java:516)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:566)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)rn2014-2-11 14:54:03 org.apache.catalina.core.StandardContext listenerStartrn严重: Skipped installing application listeners due to previous error(s)rn2014-2-11 14:54:03 org.apache.catalina.core.StandardContext startrn严重: Error listenerStartrn2014-2-11 14:54:03 org.apache.catalina.core.StandardContext startrn严重: Context [/POS] startup failed due to previous errorsrn2014-2-11 14:54:04 org.apache.catalina.core.ApplicationContext logrn信息: Initializing Spring root WebApplicationContextrn2014-2-11 14:54:04 org.springframework.web.context.ContextLoader initWebApplicationContextrn信息: Root WebApplicationContext: initialization startedrn2014-2-11 14:54:04 org.springframework.context.support.AbstractApplicationContext prepareRefreshrn信息: Refreshing org.springframework.web.context.support.XmlWebApplicationContext@3c3ac93e: display name [Root WebApplicationContext]; startup date [Tue Feb 11 14:54:04 CST 2014]; root of context hierarchyrn2014-2-11 14:54:04 org.springframework.context.support.AbstractApplicationContext obtainFreshBeanFactoryrn信息: Bean factory for application context [org.springframework.web.context.support.XmlWebApplicationContext@3c3ac93e]: org.springframework.beans.factory.support.DefaultListableBeanFactory@6ecf829drn2014-2-11 14:54:04 org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletonsrn信息: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@6ecf829d: defining beans []; root of factory hierarchyrn2014-2-11 14:54:04 org.springframework.web.context.ContextLoader initWebApplicationContextrn信息: Root WebApplicationContext: initialization completed in 181 msrn2014-2-11 14:54:04 org.apache.catalina.loader.WebappClassLoader validateJarFilern信息: validateJarFile(D:\MyEclipse 10\Workspaces\MyEclipse 10\.metadata\.me_tcat\webapps\prison_SYS\WEB-INF\lib\servlet-api.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.classrn2014-2-11 14:54:04 org.apache.catalina.core.StandardContext listenerStartrn严重: Error configuring application listener of class com.sun.faces.config.ConfigureListenerrnjava.lang.NoClassDefFoundError: javax/faces/event/SystemEventListenerrn at java.lang.Class.getDeclaredConstructors0(Native Method)rn at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)rn at java.lang.Class.getConstructor0(Class.java:2699)rn at java.lang.Class.newInstance0(Class.java:326)rn at java.lang.Class.newInstance(Class.java:308)rn at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3771)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4334)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:920)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:883)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)rn at org.apache.catalina.core.StandardService.start(StandardService.java:516)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:566)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)rnCaused by: java.lang.ClassNotFoundException: javax.faces.event.SystemEventListenerrn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1358)rn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)rn at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)rn ... 29 morern2014-2-11 14:54:04 org.apache.catalina.core.StandardContext listenerStartrn严重: Skipped installing application listeners due to previous error(s)rn2014-2-11 14:54:04 org.apache.catalina.core.StandardContext startrn严重: Error listenerStartrn2014-2-11 14:54:04 org.apache.catalina.core.StandardContext startrn严重: Context [/prison_SYS] startup failed due to previous errorsrn2014-2-11 14:54:05 org.apache.coyote.http11.Http11Protocol startrn信息: Starting Coyote HTTP/1.1 on http-8080rn2014-2-11 14:54:05 org.apache.jk.common.ChannelSocket initrn信息: JK: ajp13 listening on /0.0.0.0:8009rn2014-2-11 14:54:05 org.apache.jk.server.JkMain startrn信息: Jk running ID=0 time=0/17 config=nullrn2014-2-11 14:54:05 org.apache.catalina.startup.Catalina startrn信息: Server startup in 1808 msrnrnrn配置好就<em>出错</em>,我是新手,用的网上的例子,结果就是<em>出错</em>,求高手指教。
SQL Server出错求救
我的SQL Server突然服务管理器停止了,重启和跟新等办法都不能让它运行起来于是就卸载。rn重装的时候,到了最后"安装程序正在启动服务并安装您使用的配置..."时又停止不前,于是“结束任务”,在开始->程序那里找不到“Microsoft SQL Server”相关服务。到控制面板->添加删除程序那里则可以看到。于是卸载,可是又报错,提示是这样的:rn日志文件“D:\Program Files\Microsoft SQL Server\MSSQL\Uninst.isu”无效或数据已损坏。卸载过程将停止。rn一连串的问题!rn郁闷中!请高手帮帮忙。
数据保存出错求救
执行下列代码时:rn JButton postButton=dbNavToolBar.getPostButton();rn postButton.doClick();rnrn JButton saveButton=dbNavToolBar.getSaveButton();rn saveButton.doClick();rnrn<em>出错</em>原因提示是:rn  1.an error occurred to saving change to the "operator" tablern 2.[microsoft][sqlserver 2000 driver for jdbc]value not can be converted to reqeusted typernrn我用rnrn database1.saveChange(queryDataSet1);rnrn结果也是一样rnrnrn请大哥,朋友帮我出出力,小弟先谢谢了,
添加/删除程序 出错??求救~~
在fedora 5 ,gnome下,点击 添加/删除程序 它会读老半天后说“无法获取软件信息”,然后关闭请问这是怎么回事?谁遇到过??rnrnps:我是通过ftp装的f5,不会和这有关系吧??
求救:idUdpServer接收数据出错?
....rntypern //包头rn THead = recordrn ID: Integer;rn end;rnrn //请求方rn TAckFileInfo = record //文件信息rn FileSize: Integer;rn FileName: array [0..1024] of char;rn end;rnrn TAckData = recordrn pieceBuf: array [0..1024] of Char; //文件块。rn Length: Word; //长度rn end;rnrn TAckBag = packed Recordrn Head: THead;rn AckFileInfo: TAckFileInfo;rn AckData: TAckData;rn end;rn pAckBag = ^TAckBag;rnrn //回复方rn TReqType = recordrn ID: Integer; //0:传输 1:取消 2: 完成rn end;rnrn TReqData = record //包体部分rn Length: Word;rn StartPos: Integer;rn end;rnrn TReqBag = packed record //整包.rn Head: THead;rn ReqType: TReqType;rn ReqData: TReqData;rn end;rn pReqBag = ^TReqBag; rnrn form1 = class(form)rn.....rnrn在接收收据的过程中出现错误.rn//TBytes = array of Byte;rnrn procedure TForm1.UdpServerUDPRead(Sender: TObject; AData: TBytes;rn ABinding: TIdSocketHandle);rnvarrn ReqBag: pReqBag;rn AckBag: PAckBag;rn Buf: TBytes;rn MsgFrm: TMsgFrm;rnbeginrn New(AckBag);rn New(ReqBag);rnrn CopyMemory(@AckBag,@AData,SizeOf(AData));rnrn Dispose(Ackbag); //在这儿报错。rn.....rnrn我新建立一个new(Ackbag)rn将收到的数据保存到Ackbag结构里,rn然后释放.rn但为什么释放的时候会报错呢?是不是在执行copymemory的方法的时候,改变了原来的地址呢?如果是的,哪我怎么保存接收到传进来的数据到结构中啊?
求救: #include 出错的问题
请高手们帮帮忙。rn最近在搞Scons自动编译。编译的程序是同事们使用Qt及OSG在VS2005的环境下写的。rn调试时一切正常,生成的Release版应用程序时也一切正常。rn但使用Scons调试时出了一堆错误。rn错误如下:rnC:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\GL/gl.h(1152) : error C2144: syntax error : 'void' should be preceded by ';'rnC:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\GL/gl.h(1152) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-inrntrnC:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\GL/gl.h(1152) : error C2146: syntax error : missing ';' before identifier 'glAccum'rnC:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\GL/gl.h(1152) : error C2182: 'APIENTRY' : illegal use of type 'void'rnC:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\GL/gl.h(1152) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-inrntrnC:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\GL/gl.h(1153) : error C2144: syntax error : 'void' should be preceded by ';'rnC:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\GL/gl.h(1153) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-inrntrnC:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\GL/gl.h(1153) : error C2086: 'int WINGDIAPI' : redefinitionrn C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\GL/gl.h(1152) : see declaration of 'WINGDIAPI'rnC:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\GL/gl.h(1153) : error C2146: syntax error : missing ';' before identifier 'glAlphaFunc'rnC:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\GL/gl.h(1153) : error C2182: 'APIENTRY' : illegal use of type 'void'rnC:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\GL/gl.h(1153) : error C2086: 'int APIENTRY' : redefinitionrn C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\GL/gl.h(1152) : see declaration of 'APIENTRY'rnC:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\GL/gl.h(1153) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-inrntrnC:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\GL/gl.h(1154) : error C2146: syntax error : missing ';' before identifier 'GLboolean'rnC:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\GL/gl.h(1154) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-inrntrnC:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\GL/gl.h(1154) : error C2086: 'int WINGDIAPI' : redefinitionrn C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\GL/gl.h(1152) : see declaration of 'WINGDIAPI'rnC:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\GL/gl.h(1154) : error C2146: syntax error : missing ';' before identifier 'glAreTexturesResident'rnC:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\GL/gl.h(1154) : error C2371: 'APIENTRY' : redefinition; different basic typesrn C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\GL/gl.h(1152) : see declaration of 'APIENTRY'rnC:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\GL/gl.h(1154) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-inrntrnC:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\GL/gl.h(1155) : error C2144: syntax error : 'void' should be preceded by ';'rnC:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\GL/gl.h(1155) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-inrntrnC:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\GL/gl.h(1155) : error C2086: 'int WINGDIAPI' : redefinitionrn C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\GL/gl.h(1152) : see declaration of 'WINGDIAPI'rnC:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\GL/gl.h(1155) : error C2146: syntax error : missing ';' before identifier 'glArrayElement'rnC:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\GL/gl.h(1155) : error C2182: 'APIENTRY' : illegal use of type 'void'rnC:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\GL/gl.h(1155) : error C2086: 'int APIENTRY' : redefinitionrn C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\GL/gl.h(1152) : see declaration of 'APIENTRY'rnC:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\GL/gl.h(1155) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-inrntrnC:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\GL/gl.h(1156) : error C2144: syntax error : 'void' should be preceded by ';'rnC:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\GL/gl.h(1156) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-inrntrnC:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\GL/gl.h(1156) : error C2086: 'int WINGDIAPI' : redefinitionrn C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\GL/gl.h(1152) : see declaration of 'WINGDIAPI'rnC:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\GL/gl.h(1156) : error C2146: syntax error : missing ';' before identifier 'glBegin'rnC:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\GL/gl.h(1156) : error C2182: 'APIENTRY' : illegal use of type 'void'rnC:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\GL/gl.h(1156) : error C2086: 'int APIENTRY' : redefinitionrn C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\GL/gl.h(1152) : see declaration of 'APIENTRY'rnC:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\GL/gl.h(1156) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-inrntrnC:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\GL/gl.h(1157) : error C2144: syntax error : 'void' should be preceded by ';'rnC:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\GL/gl.h(1157) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-inrntrnC:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\GL/gl.h(1157) : error C2086: 'int WINGDIAPI' : redefinitionrn C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\GL/gl.h(1152) : see declaration of 'WINGDIAPI'rnC:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\GL/gl.h(1157) : error C2146: syntax error : missing ';' before identifier 'glBindTexture'rnC:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\GL/gl.h(1157) : error C2182: 'APIENTRY' : illegal use of type 'void'rnC:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\GL/gl.h(1157) : error C2086: 'int APIENTRY' : redefinitionrn C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\GL/gl.h(1152) : see declaration of 'APIENTRY'rnC:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\GL/gl.h(1157) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-inrn rn... ...rnrn这个程序在VS上调试时一切正常,没有报这些错误。rn如果使用VS上的Project only - Run code Analysis on *** 时,出现的错误和SCons编译时出现的错误一样。rnrn请问哥哥们这个问题该怎么解决,是不是Scons 脚本我忘了加什么头文件?rnrnSconstruct脚本如下:rnrnqtdir = 'C:\developer\qt_vc8'rnqtinc = qtdir + '\\include'rnrnosgdir = 'C:\developer\osg'rnosginc = osgdir + '\\include'rnrnsrc = [Glob('*.cpp'),Glob('GeneratedFiles\\release\\*.cpp')]rnrndll_inc = '..\\SceneEngine'rnui_inc = dll_inc + '\\GeneratedFiles'rnrnvcdir = 'C:\\Program Files\\Microsoft Visual Studio 8\\VC'rnvcinc = vcdir + '\\include'rnmfcinc = vcdir + '\\atlmfc' + '\\include'rnplatinc = vcdir + '\\PlatformSDK' + '\\include'rnrnglinc = platinc + '\\gl'rnrnframedir = 'C:\\Program Files\\Microsoft Visual Studio 8\\SDK\\v2.0'rnframeinc = framedir + '\\include'rnrnsimdir = 'C:\developer\simSDK'rnsiminc = simdir + '\\include'rnrninc_path = ';'.join((rnvcinc,rnmfcinc,rnplatinc,rnglinc,rnframeinc,rndll_inc,rnui_inc,rn'GeneratedFiles',rn qtinc,rn qtinc + '\\QtCore',rn qtinc + '\\QtGui',rn qtinc + '\\QtXml',rn qtinc + '\\QtOpenGL',rn qtinc + '\\QtWebKit',rn siminc,rn osginc))rnrnlib_path = qtdir + '\\lib'rnlibs = ['QtCore4', 'QtGui4', 'qtmain','QtXml4']rn rnenv = Environment(tools = ['default', 'qt'])rnrnmode = ARGUMENTS.get('mode', "release")rnrndebugcflags = ['-D_WIN32', '-D_WINDOWS', '-D__UNICODE', '-D_UNICODE', '-D_DEBUG', '-MTd', '-W0', '-EHsc', '-Zi', '-nologo']rnreleasecflags = ['-D__WINDLL','-D_WIN32', '-D_WINDOWS', '-D__UNICODE', '-D_UNICODE', '-DNDEBUG', '-MD', '-W0', '-O2', '-EHsc', '-nologo','-TP','-D_wall']rnrnif mode=="debug":rn env.SharedLibrary('..\\program\\ScenceEngine', src,rn CPPDEFINES = 'SCENEENGINE_LIB',rn CPPPATH = inc_path,rn LIBPATH = lib_path,rn CCFLAGS = debugcflags,rn LIBS = libs)rnelse:rn env.SharedLibrary('..\\program\\ScenceEngine', src,rn CPPDEFINES = 'SCENEENGINE_LIB',rn CCFLAGS = releasecflags,rn CPPPATH = inc_path,rn LIBPATH = lib_path,rn LIBS = libs)
求救:datastore.create 出错
如题,代码如下rndatastore ldst_temp rns_sql = "select top " + string( ai_row_count ) + " * from " + as_table_name + &rn" where " + as_array + " not in (select top " + string( (ai_page - 1) * ai_row_count ) + &rn" " + as_array + " from " + as_table_name + " order by " + as_array + ") order by " + as_arrayrn//分页控制rnrns_syntax = SQLCA.SyntaxFromSQL(s_sql, 'Style(Type= grid)', error_syntaxfromSQL)rn//根据SQL语句生成数据窗口代码rnrnIF Len(error_syntaxfromSQL) > 0 THEN //生成数据窗口源代码<em>出错</em>处理rn // messagebox("错误", error_syntaxfromSQL)rn return -3rnELSErn ldst_temp.Create(s_syntax, error_create) //根据代码创建数据此数据窗口rn IF Len(error_create) > 0 THEN //生成数据窗口<em>出错</em>处理rn // messagebox("错误", error_create)rn return -4rn END IFrnEND IFrnrn编译没有问题,运行时提示ldst_temp.Create(s_syntax, error_create)这行<em>出错</em>rn错误提示为:rnapplication terminated.rnError: Null object reference at (这行)rnrn这个错误不像是SQL语句有问题(试过用其他简单的SQL语句代替,错误提示不变),想不懂了。求各位大侠帮忙
求救,eclipse,tomcat配置出错
刚开始学习jsp,想用eclipse和tomcat来开发。rn但出师不顺,按照网上的介绍一步步的配置,但是不成功,可以从eclipse中启动tomcat,因为可以在浏览器中输入:localhost:8080,可以看到界面,但无论如何也显示不出任何jsp页面,都显示rnHTTP Status 404 - /tomrntype Status reportrnmessage /tomrndescription The requested resource (/tom) is not availablernrn我的系统是win7, tomcat7.rn同样的配置在我的win xp 就可以,请问有什么解决办法吗?
txt读取出错求救
1.txt中有rn825.000 0.180 729.234 2899.830 1.239 5618.510 2450.980 1849.540 3399.850rnrndouble width,hin,speed,tout,ep,p1,p2,tin,tmiddle;rnrnfscanf(fp,"%lf",&width);rnfscanf(fp,"%lf",&hin);rnfscanf(fp,"%lf",&speed);rnfscanf(fp,"%lf",&tout);rnfscanf(fp,"%lf",&ep);rnfscanf(fp,"%lf",&p1);rnfscanf(fp,"%lf",&p2);rnfscanf(fp,"%lf",&tin);rnfscanf(fp,"%lf",&tmiddle);rnrn结果特别奇怪,width和speed竟然得到负无穷大,其他七个数得到对应的值。rnrn请问:这是怎么搞得???
Outlook express出错求救
我的outlook express收件箱里信太多,我想删一部分,每次一拖到已删除邮件,就出现提示,无法移动指定邮件,系统是win98的,请大家帮忙,不胜感激!
setObject出错求救!!
我的程序在LINUX上,从一个文本文件里分析数据,再写到向一台2000 SERVER上的MS SQL SERVER2000数据库中,出现了[Microsoft][SQLServer 2000 Driver for JDBC]The hexadecimal string is invalid.rn错误。插入记录的过程用setObject来完成。其中有VARCHAR和IMAGE类型字段。rn如果目标数据库是MYSQL的,则可以正常工作。rn请高手指教rn简化的程序,照样出问题。rnpublic static void main(String[] args)rn Connection con = null;rn PreparedStatement ps=null;rn tryrn Class.forName ("com.microsoft.jdbc.sqlserver.SQLServerDriver");rn con=ConnectionManager.getConnection("jdbc:microsoft:sqlserver://63.231.34.5;DatabaseName=test","test","test");rn ps=con.prepareStatement("insert into mytable values(?,?)");rn ps.setObject(1,"3",Types.INTEGER);//字段1的类型是intrn ps.setObject(2,"tmd",Types.LONGVARBINARY);//字段2的类型是IMAGErn //ps.setNull(2,Types.LONGVARBINARY);//如果将上句换成此句,则程序通过rn ps.executeUpdate();rn catch(Exception e)rn ....rn rnrn
库调用出错求救
--------------------Configuration: rgloader - Win32 Release--------------------rnCompiling...rnrgloader.cpprnLinking...rnnafxcw.lib(timecore.obj) : error LNK2001: unresolved external symbol __mbctypernnafxcw.lib(apphelp.obj) : error LNK2001: unresolved external symbol __mbctypernnafxcw.lib(filelist.obj) : error LNK2001: unresolved external symbol __mbctypernnafxcw.lib(appcore.obj) : error LNK2001: unresolved external symbol ___argvrnnafxcw.lib(appcore.obj) : error LNK2001: unresolved external symbol ___argcrn.\WinRel/rgloader.exe : fatal error LNK1120: 3 unresolved externalsrnError executing link.exe.rnrnrgloader.exe - 6 error(s), 0 warning(s)rn
求救环境出错问题.
开发环境,DELPHI2006,rn问题是这样的.我有一个COM组件,我将COM接口文件导出生成了一个BPL包,同时注册到DELPHI的组件面板上,由于DELPHI2006的组件图标本身有BUG,(一般组件NEW上去的都默认有一个图标,)DELPHI2006有时候就NEW不到图标,哪么在安装组件的时候就会报Invalid image size错误,原因已经知道,但还不了解怎么样去解决...rnrnrn试验过:rn 通常如果是我自己写的组件,我就自己给组件加一个32*32的图标,现在将这个COM文件也同样的加上一个32*32,但不凑效.rn rn望高人指点.
高分求救,导入出错
用DTS导入/导出功能把excel文件导入Sql Server,发生错误:"无法将NULL值插入列'id',表'cm.dbo.otc_table';该列不允许空值。INSERT失败。"rnid是自增的识别,但是excel里面没有这个列,我在导入时忽略id一列,就<em>出错</em>,怎么做才行?rn
出错">求救:Server.MapPath("../" )出错
我想获得解决方案的上一级目录,使用Server.MapPath("../" )<em>出错</em>,rn只能用Server.MapPath("./" )获得当前解决方案的目录rnrn请问怎么解决啊?想得到 解决方案的上一级目录
JDBC连接出错求救
eclipes下使用JDBC连接MYSQL,在Class.forName("com.mysql.jdbc.Driver");后报错:SQLException: No suitable driver。请问是什么原因,是不是eclipes该配置什么?
AfxMessageBox出错求救
BOOL CDateTimePage::OnInitDialog()rnrn ...rn AfxMessageBox("in BOOL CDateTimePage::OnInitDialog()");rn ...rnrn<em>出错</em>:rnerror C2665: 'AfxMessageBox' : none of the 2 overloads can convert parameter 1 from type 'char [38]'rnError executing cl.exe.rn请问是什么原因?
DLL编译时出错求救
我按照这期的《程序员》上方法编写的Winamp视觉插件,可时编译时<em>出错</em>,显示From3 Member identfier expectedrn去掉“Form3->new TForm3(Application);”这句,又显示“[Link Error]Unresolved external 'quit(winampVisModule *)'referenced from 这里是路径\unit1.obj”rn这是怎么回事啊?
2000系统升级出错求救!!!!
updata升级sp4,升级过程中报错自动重启,之后系统不能启动无限制的自动重启,请问各位大虾是否能恢复到原来的系统。如何恢复???
求救~~导出数据到EXCEL出错~~~
public void ReadData(string userid)rn rn tryrn rn SqlConnection myConn=new SqlConnection(Cic.GetConnectionDatabaseString());rn myConn.Open();rn string sql="SELECT a.ljxh,a.sl,a.pp,a.scrq,a.dj,a.fz,a.ctype,b.egs+','+b.cgs+',电话:'+b.dh+',传真:'+b.cz+',EMAIL:'+b.email '资料' ";rn sql+="FROM info a,userinfo b WHERE a.uid=b.id and (a.ctype = 1) AND a.uid<>'"+userid.ToString()+"' and (a.ljxh IN(SELECT ljxh FROM info WHERE ctype = 2 AND uid = '"+userid.ToString()+"'))";rn SqlCommand myCommand=new SqlCommand(sql,myConn);rn SqlDataReader reader=myCommand.ExecuteReader();rn //ExpExcel(reader);rn rn rn //导出到excelrn SpreadsheetClass xlsheet=new SpreadsheetClass();rn int numbercols = reader.FieldCount; rn int row=1;rn while (reader.Read()) rn rn for (int i=0;i
求救!存储过程出错
存储过程代码:rn[code=SQL]CREATE PROCEDURE so(IN mov char(255),IN p1 int,IN p2 int) rnBEGIN rnSET @sql = CONCAT('SELECT * FROM filedata where title like (%',mov,'%) order by dateandtime desc LIMIT ',p1,',',p2,''); rnPREPARE sqlstmt FROM @sql; rnEXECUTE sqlstmt; rnDEALLOCATE PREPARE sqlstmt; rnEND$$[/code]rnrn当我调用这个存储过程[code=SQL]call so('nba','1','2');[/code],MYSQL提示<em>出错</em>:[size=10px]ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '%nba%) order by dateandtime desc LIMIT 1,2' at line 1[/size]rnrn希望各位高手能给指点下迷津,小弟不胜感激!
oracle9i监听器出错求救
监听器启动后好用一段时间,然后就连不上数据库了,我看了监听器的日志如下:rnrnrn13-12月-2009 12:41:38 * (CONNECT_DATA=(SERVICE_NAME=freight)(CID=(PROGRAM=F:\PLSQL+Developer+7[1].0.1+中文版\PLSQL Developer\plsqldev.exe)(HOST=ZBSERVER01)(USER=Administrator))) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.119.202.4)(PORT=4392)) * establish * freight * 12560rnTNS-12560: TNS: 协议适配器错误rn TNS-00517: 丢失连接rn 32-bit Windows Error: 54: Unknown errorrn TNS-12500: TNS:监听器未能启动专用的服务器进程rn TNS-12537: TNS:连接关闭rn TNS-12560: TNS: 协议适配器错误rn TNS-00507: 连接已关闭rn 32-bit Windows Error: 109: Unknown errorrnrnrn怎么才能解决呀,各位大哥
求救:vb.net程序运行出错
vb.net程序编译通过,但运行时出现rnrnAn unhandled exception of type 'System.Security.SecurityExeception' occurred in D:\WINNT\Microsoft.Net\Frameword\v1.0.2204\System.WinFornrn请问各位是何故?
求救!tomcat jndi出错
jndi配置server.xml:rnrn rn rn factoryrn org.apache.catalina.users.MemoryUserDatabaseFactoryrn rn rn pathnamern conf/tomcat-users.xmlrn rn rn rn rn validationQueryrn select * from tabrn rn rn maxWaitrn -1rn rn rn maxActivern 14rn rn rn passwordrn okrn rn rn urlrn jdbc:oracle:thin:ctplan@10.18.3.105:1521:tserver5rn rn rn driverClassNamern oracle.jdbc.driver.OracleDriverrn rn rn maxIdlern 10rn rn rn usernamern ctplanrn rn rnweb.xml:rnrn Oracle Datasourcern ctplanrn javax.sql.DataSourcern Containerrn代码:rnrntry rn // DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());rn Class.forName("oracle.jdbc.driver.OracleDriver");rn rn InitialContext initContext = new InitialContext();rn if (initContext == null) rn throw new Exception("Boom - No Context");rn rnrn Context envContext = (Context)initContext.lookup("java:/comp/env");rn System.out.println("This is no error.....");rn rn DataSource ds = (DataSource)envContext.lookup("ctplan");rnrn Connection conn = ds.getConnection();rn rn Statement stmt = conn.createStatement();rn rn String sql="select * from tab";rn ResultSet rset;rn rset = stmt.executeQuery(sql);rnrn while(rset.next())rn String s_no = rset.getString("tname");rn out.println(s_no);rn rn rset.close();rn stmt.close();rnrncatch (SQLException e) rn out.println(" " + "There was an error doing the query:");rn out.println (" " + e + " \n ");rn rn错误:rnorg.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null', cause: nullrn不解,为何????
出错求救!(在线等)
rnrnif (document.Form1.user.value == "") 为什么这句话有错误rnrn以前我没重做系统的时候没有错误,我重做系统之后就出现了document.form1.user.value不是一个对象的错误,为什么呢rn
求救!数据库连接出错
用ASP进行连接错误如下rnrnMicrosoft OLE DB Provider for Oracle 错误 '80004005' rnrn未找到 Oracle 客户端和网络组件。这些组件是由 Oracle 公司提供的,是 Oracle 8i 版 (或更高) 客户软件安装的一部分。 在安装这些组件之前,将无法使用此提供程序rnrn 高手指点!! rnrn
求救关于asp.net出错
现在三个文件rn文件1数据库rn文件2:mdb.vb:rn rn文件3:ASPX文件:rnrnrnrnrnrn Grid04c.aspx rn rnrnrn rn rnrnrn rn为什么提示<em>出错</em>:rnconn open()rn请大家帮忙好吗?rnconn open()有错吗?rn我的电脑装了net. frameworkrn调试别的文件ASPX文件不会<em>出错</em>的,为什么?是数据库的问题吗?rn那需要装什么吗?rn
调试出错,求救!
rn提示如下错误:rnA Servlet Exception Has Occurredrnorg.apache.jasper.JasperException: Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated.rn..\work\localhost\_\_0002fshop_0002fdenglu_00032_0002ejspdenglu2_jsp_1.java:57: Variable username may not have been initialized.rn String username=request.getParameter(username);rn ^rn..\work\localhost\_\_0002fshop_0002fdenglu_00032_0002ejspdenglu2_jsp_1.java:58: Variable passwd may not have been initialized.rn String passwd=request.getParameter(passwd);rnrn部分代码如下:rnrnrn
求救:为何出错
package test;rnrnimport java.io.IOException;rnimport java.io.PrintWriter;rnimport javax.servlet.ServletException;rnimport javax.servlet.http.HttpServlet;rnimport javax.servlet.http.HttpServletRequest;rnimport javax.servlet.http.HttpServletResponse;rnrnpublic class Test extends HttpServlet rnprotected void doGet(HttpServletRequest request, HttpServletResponse response)rnthrows ServletException, IOException rnrnPrintWriter out=response.getWriter();rnout.println(" This is a servlet test.");rnout.flush();rnrnrnC:\Test\Test.java:5: package javax.servlet does not existrnimport javax.servlet.ServletException;rn ^rnC:\Test\Test.java:6: package javax.servlet.http does not existrnimport javax.servlet.http.HttpServlet;rn ^rnC:\Test\Test.java:7: package javax.servlet.http does not existrnimport javax.servlet.http.HttpServletRequest;rn ^rnC:\Test\Test.java:8: package javax.servlet.http does not existrnimport javax.servlet.http.HttpServletResponse;rn ^rnC:\Test\Test.java:10: cannot resolve symbolrnsymbol : class HttpServlet rnlocation: class test.Testrnpublic class Test extends HttpServlet rn ^rnC:\Test\Test.java:11: cannot resolve symbolrnsymbol : class HttpServletRequest rnlocation: class test.Testrnprotected void doGet(HttpServletRequest request, HttpServletResponse response)rn ^rnC:\Test\Test.java:11: cannot resolve symbolrnsymbol : class HttpServletResponse rnlocation: class test.Testrnprotected void doGet(HttpServletRequest request, HttpServletResponse response)rn ^rnC:\Test\Test.java:12: cannot resolve symbolrnsymbol : class ServletException rnlocation: class test.Testrnthrows ServletException, IOException rn ^rn8 errorsrnrnProcess completed.rnrn
OPENROWSET 出错?(在线求救
我的机子运行如下语句是可以得出结果rn,但为何在服务器上运行就提示<em>出错</em>?请指教!rnrnselect kh,xm,bmbh,bmmc,rq,j1,c1,j2,c2,j3,c3,j4,c4,j5,c5,j6,c6 from rnOPENROWSET('MICROSOFT.JET.OLEDB.4.0'rn,'dBase IV;HDR=NO;IMEX=2;DATABASE=d:\','select * from [ygysksj.dbf]')rnrn<em>出错</em>结果为:rn服务器: 消息 7357,级别 16,状态 2,行 1rn未能处理对象 'select * from [ygysksj.dbf]'。OLE DB 提供程序 'MICROSOFT.JET.OLEDB.4.0' 指出该对象中没有任何列。rnrn以前文件中内容与列都是有的rn
三级数据库查询出错求救
我的查询代码:rnbeginrn if edit1.Text='' thenrn showmessage('请入图书证号')rn elsern beginrnrn F_DM.Cds_clsoder.Close;rn F_DM.Cds_clsoder.CommandText:='select * from clsoder where class_master='+edit1.Text;rn F_DM.Cds_clsoder.Execute;rn F_DM.Cds_clsoder.Open;rn F_DM.Cds_clsoder.Refresh;rn end;rnend;rn查询结果<em>出错</em>提示:project client.exe raise exception class EOleException with message '列名'11225'无效'。process stop....rn 无法查到当图书证号为:11225时所有的对应记录。请高手指点。谢谢!
求救:日志传送出错!!
作业失败。 调度 113 (Log Shipping Alert Job - Backup) 唤醒调用了该作业。最后运行的步骤是第 1 步(Log Shipping Alert - Backup)。.rnrn如上错误,不知道怎么会事。rn请各位帮忙。谢谢
求救,DataList数据绑定出错!!!
我的DataList里有一个HyperLink,现在要在代码页里给它做数据绑定(为什么不在控件里直接绑定的原因我就不多说了),代码如下:rnrnfor(int i = 0;i < dl.Items.Count && i < 4;i ++)rnrn HyperLink hl = (HyperLink)dl.Items[i].FindControl("image"); rn hl.NavigateUrl = "View.aspx?table=" + sTable + "&id=" + ?????????;这里应该怎么写?rnrnrn有的网友说可以在DataList中加个ID的隐藏列,除了用隐藏列还有什么方法可以实现呢??rnrn完整的程序如下(如果大家有兴趣看的话):rn----------------------------------------------------------------------------------------rnrnstring sTable = Request.QueryString["table"]; //数据库表名称rnstring sPage = Request.QueryString["page"];//分页控件的页面索引 rnrnstring sConn = ConfigurationSettings.AppSettings["conn1"] + Server.MapPath(ConfigurationSettings.AppSettings["conn2"]); rnstring sComm = "SELECT * FROM " + sTable + " ORDER BY id DESC";rnrnOleDbConnection conn = new OleDbConnection(sConn);rnOleDbDataAdapter da = new OleDbDataAdapter(sComm,conn);rnDataSet ds = new DataSet();rnda.Fill(ds);rn rnPagedDataSource ap = new PagedDataSource();//调用分页类rnap.DataSource = ds.Tables[0].DefaultView;rnap.AllowPaging = true;rnap.PageSize = 4;rnrnint iPage = 0;rnif(sPage != null)rnrn iPage = Convert.ToInt32(sPage);rn ap.CurrentPageIndex = iPage;rnrn rnif(! ap.IsFirstPage)rnrn prev.NavigateUrl = sPath + (iPage - 1).ToString(); rnrnif(! ap.IsLastPage)rnrn next.NavigateUrl = sPath + (iPage + 1).ToString(); rn rnrndl.DataSource = ap;rndl.DataBind();//DataList数据绑定rn rnpages.Text = ap.PageCount.ToString();rncurrent.Text = (iPage + 1).ToString();rnrnfor(int i = 0;i < dl.Items.Count && i < 4;i ++)rnrn HyperLink hl = (HyperLink)dl.Items[i].FindControl("image"); rn hl.NavigateUrl = "View.aspx?table=" + sTable + "&id=" + ????????????;rn
安装刻录机出错,求救
本人最近新买一个BENQ刻录机,今天下午我设置好跳线后安装在secondary slave时候出现rn以下问题:rn1.刻录机和原来的DVD-ROM开机后就一直闪烁rn2.键盘,鼠标显示没有电源(我的光电鼠标不亮),显示器一直没有信号.rn3.无法进BIOS。rnrn后来我将原DVD-ROM卸下,然后将CDRW装在 SECONDARY MASTER地址,并设置好跳线,结果CDRrnW指示灯一直闪烁,时而绿色时而红色,键盘鼠标同样显示没有电源和显示器同样没有信号.这样我根本无法进BIOSrnrnrn我的机器的配置是rn1.P4 1.4Grn2.MSI mainboard with Intel 745信片组rn3.SEAGATE 80rn4.KINGMAX 256M DDRrnrn急切盼望熟悉硬件的各位大哥不吝指教。谢谢。
IIS部署出错!!!!!求救
Server Error in '/Web' Application.rn--------------------------------------------------------------------------------rnrnConfiguration Error rnDescription: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. rnrnParser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.rnrnSource Error: rnrnrnLine 52: rnLine 53: rnLine 54: rnLine 55:
JAVA编程兵书,完整扫描版下载
【网上的资源了,分享给大家】本书针对初学和自学读者的特点,以通俗易懂的语言介绍Java语言,讲解Java基础开发。内容包括Java语言的发展、环境配置、开发工具、基本语法、流程控制语句、数组、集合、面向对象、字符串处理、图形界面设计、输入/输出、处理异常、多线程、内存管理、图像处理、JDBC连接数据库及JSP和Servlet开发技术,让读者更好地体会Java语言编程开发。本书运用大量示例,让读者在实战中体会编程的快乐。建议读者边学边练,有难以理解的概念或知识一定要弄清楚,培养自己单独开发项目的能力。 相关下载链接:[url=//download.csdn.net/download/laoge/8681631?utm_source=bbsseo]//download.csdn.net/download/laoge/8681631?utm_source=bbsseo[/url]
Unix系统zfs文件系统的使用下载
本文是作者自己做实验是的实验报告可分享给给为好友 有助于初学者了解zfs系统 相关下载链接:[url=//download.csdn.net/download/jijingsheng/1965641?utm_source=bbsseo]//download.csdn.net/download/jijingsheng/1965641?utm_source=bbsseo[/url]
中国联通3G手机上网设置方法下载
中国联通3G手机上网设置方法 相关下载链接:[url=//download.csdn.net/download/qing_caohanzi/5332413?utm_source=bbsseo]//download.csdn.net/download/qing_caohanzi/5332413?utm_source=bbsseo[/url]
相关热词 c#串口测试应用程序 c# 匹配 正则表达式 c#防止窗体重绘 c#读写txt文件 c#挖地雷源代码 c#弹框选项 c# 移除 队列 c# 密码写入配置文件 c# 获取可用内存大小 c# 嵌入excel编辑
我们是很有底线的