急急...送分。。关于JSP的错误:java.lang.StringIndexOutOfBoundsException: String index [问题点数:100分,结帖人BlankMe]

Bbs1
本版专家分:0
结帖率 100%
Bbs7
本版专家分:12069
Blank
蓝花 2004年6月 Java大版内专家分月排行榜第三
Bbs7
本版专家分:11706
Bbs6
本版专家分:5436
Bbs5
本版专家分:2161
Bbs1
本版专家分:0
Bbs5
本版专家分:3353
Bbs5
本版专家分:3353
java.lang.StringIndexOutOfBoundsException: String index out of range: 116
at <em>java</em>.<em>lang</em>.<em>String</em>.checkBounds(<em>String</em>.<em>java</em>:402)rnat <em>java</em>.<em>lang</em>.<em>String</em>.(<em>String</em>.<em>java</em>:443)rnat jxl.biff.<em>String</em>Helper.get<em>String</em>(<em>String</em>Helper.<em>java</em>:164)rnat jxl.read.biff.WriteAccessRecord.(WriteAccessRecord.<em>java</em>:56)rnat jxl.read.biff.WorkbookParser.parse(WorkbookParser.<em>java</em>:821)rnat jxl.Workbook.getWorkbook(Workbook.<em>java</em>:237)rnat jxl.Workbook.getWorkbook(Workbook.<em>java</em>:198)rnat com.iedudata.action.AddStudentResultRecordAction.addExamResult(AddStudentResultRecordAction.<em>java</em>:454)rnat com.iedudata.action.AddStudentResultRecordAction.addStudentResultRecord(AddStudentResultRecordAction.<em>java</em>:89)rnat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rnat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.<em>java</em>:39)rnat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.<em>java</em>:25)rnat <em>java</em>.<em>lang</em>.reflect.Method.invoke(Method.<em>java</em>:597)rnat com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.<em>java</em>:404)rnat com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.<em>java</em>:267)rnat com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.<em>java</em>:229)rnat com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.<em>java</em>:221)rnat com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.<em>java</em>:86)rnat com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.<em>java</em>:224)rnat com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.<em>java</em>:223)rnat com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.<em>java</em>:455)rnat com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.<em>java</em>:221)rnat com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.<em>java</em>:150)rnat org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.<em>java</em>:48)rnat com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.<em>java</em>:86)rnat com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.<em>java</em>:224)rnat com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.<em>java</em>:223)rnat com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.<em>java</em>:455)rnat com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.<em>java</em>:221)rnat com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept(ConversionErrorInterceptor.<em>java</em>:123)rnat com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.<em>java</em>:224)rnat com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.<em>java</em>:223)rnat com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.<em>java</em>:455)rnat com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.<em>java</em>:221)rnat com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.<em>java</em>:167)rnat com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.<em>java</em>:86)rnat com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.<em>java</em>:224)rnat com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.<em>java</em>:223)rnat com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.<em>java</em>:455)rnat com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.<em>java</em>:221)rnat com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(StaticParametersInterceptor.<em>java</em>:105)rnat com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.<em>java</em>:224)rnat com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.<em>java</em>:223)rnat com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.<em>java</em>:455)rnat com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.<em>java</em>:221)rnat org.apache.struts2.interceptor.CheckboxInterceptor.intercept(CheckboxInterceptor.<em>java</em>:83)rnat com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.<em>java</em>:224)rnat com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.<em>java</em>:223)rnat com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.<em>java</em>:455)rnat com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.<em>java</em>:221)rnat org.apache.struts2.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.<em>java</em>:207)rnat com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.<em>java</em>:224)rnat com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.<em>java</em>:223)rnat com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.<em>java</em>:455)rnat com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.<em>java</em>:221)rnat com.opensymphony.xwork2.interceptor.ModelDrivenInterceptor.intercept(ModelDrivenInterceptor.<em>java</em>:74)rnat com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.<em>java</em>:224)rnat com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.<em>java</em>:223)rnat com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.<em>java</em>:455)rnat com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.<em>java</em>:221)rnat com.opensymphony.xwork2.interceptor.ScopedModelDrivenInterceptor.intercept(ScopedModelDrivenInterceptor.<em>java</em>:127)rnat com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.<em>java</em>:224)rnat com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.<em>java</em>:223)rnat com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.<em>java</em>:455)rnat com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.<em>java</em>:221)rnat org.apache.struts2.interceptor.ProfilingActivationInterceptor.intercept(ProfilingActivationInterceptor.<em>java</em>:107)rnat com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.<em>java</em>:224)rnat com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.<em>java</em>:223)rnat com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.<em>java</em>:455)rnat com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.<em>java</em>:221)rnat org.apache.struts2.interceptor.debugging.DebuggingInterceptor.intercept(DebuggingInterceptor.<em>java</em>:206)rnat com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.<em>java</em>:224)rnat com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.<em>java</em>:223)rnat com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.<em>java</em>:455)rnat com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.<em>java</em>:221)rnat com.opensymphony.xwork2.interceptor.ChainingInterceptor.intercept(ChainingInterceptor.<em>java</em>:115)rnat com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.<em>java</em>:224)rnat com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.<em>java</em>:223)rnat com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.<em>java</em>:455)rnat com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.<em>java</em>:221)rnat com.opensymphony.xwork2.interceptor.I18nInterceptor.intercept(I18nInterceptor.<em>java</em>:143)rnat com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.<em>java</em>:224)rnat com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.<em>java</em>:223)rnat com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.<em>java</em>:455)rnat com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.<em>java</em>:221) at com.opensymphony.xwork2.interceptor.PrepareInterceptor.doIntercept(PrepareInterceptor.<em>java</em>:121) at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.<em>java</em>:86)rnat com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.<em>java</em>:224)rnat com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.<em>java</em>:223)rnat com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.<em>java</em>:455)rnat com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.<em>java</em>:221)rnat org.apache.struts2.interceptor.ServletConfigInterceptor.intercept(ServletConfigInterceptor.<em>java</em>:170)rnat com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.<em>java</em>:224)rnat com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.<em>java</em>:223)rnat com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.<em>java</em>:455)rnat com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.<em>java</em>:221)rnat com.opensymphony.xwork2.interceptor.AliasInterceptor.intercept(AliasInterceptor.<em>java</em>:123)rnat com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.<em>java</em>:224)rnat com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.<em>java</em>:223)rnat com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.<em>java</em>:455)rnat com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.<em>java</em>:221)rnat com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.<em>java</em>:176)rn
java.lang.StringIndexOutOfBoundsException:String index out of range:-1
程序如下:rnrn包上述<em>错误</em>,没见过怎么回事?
)关于错误
我们在做一个程序,我们头问我要一个关于各类<em>错误</em>的汇总,比如: rn打印机<em>错误</em>,网络<em>错误</em>,输入<em>错误</em>,后台服务<em>错误</em>,权限<em>错误</em> ,日期<em>错误</em>等。 rn那位老兄有这方面比较规范的资料或列表,能否给我一份,可以发到我的邮箱 rnsq1234@21cn.com,先谢谢了!rn
(上传问题)java.lang.StringIndexOutOfBoundsException: String index out of range: -63657
大家好! 小弟为这事苦恼许久。rnrn<em>java</em>.<em>lang</em>.<em><em>String</em>IndexOutOfBoundsException</em>: <em>String</em> <em>index</em> out of range: -63657rnrn<em>错误</em>原因是上传文件导致的。rnrn上传组件:jspSmartUpload.jarrnrn测试图片:pic01.jpgrnrn<em>分</em>辨率为:400×400rnrn大小:66.1 KB (67,704 字节)rnrn占用:80.0 KB (81,920 字节)rnrn本地测试上传,没有<em>错误</em>。但是将程序上传到服务器后,在服务器上测试的时候个别图片就会报错。rnrn不知道大家有没有碰到过这类事情?rnrn请帮小弟解惑! 在此谢过了!
java字符串错误java.lang.StringIndexOutOfBoundsException寻求解决方案急急急!!!!!
我用POI能在屏幕上显示抽取出来的word文档,但我想把抽取出来的word文档在lucene中创建索引出来了这个异常<em>错误</em>,如果字数很少也不会出现这种<em>错误</em>,在线等待答案
救命啊!!!老是报java.lang.StringIndexOutOfBoundsException: String index out of range: 16?????
我在 往SQLSERVER中循环插入1-1000的ID的时候老是报<em>java</em>.<em>lang</em>.<em><em>String</em>IndexOutOfBoundsException</em>: <em>String</em> <em>index</em> out of range: 16,代码如下:rn try rn // connection= DriverManager.getConnection(url11,user11,password11); rn connection.setAutoCommit(false);// 事物处理 rn for(i=0;ialert('卡号[ "+qskh+" ]已存在,请确认你要添加的卡段!');self.history.back();"); rn elsern SQL="";rn SQL="insert into newcard(onlyid,card,lrfs,cardtype,nj,price,dls,ffsj,fffs,ffr) values('"+getOnlyID()+"','"+qskh+"','"+lrfs+"','"+cardtype+"','"+nj+"','"+price+"','未代理',GETDATE(),'"+fffs+"','"+ddd+"')";rn connection= DriverManager.getConnection(url11,user11,password11); rn stmt=connection.createStatement();rn iTmp=stmt.executeUpdate(SQL); rn SQL="";rn rn qskh1=qskh1+1;rn qskh=<em>String</em>.valueOf(qskh1);rn SQL=""; rn rn if(iTmp>0)rn out.println(" ");rn elsern out.println(" ");rn rn rn catch(SQLException e)rn out.print(e);rn connection.rollback();rn
tomcat启动出现Caused by: java.lang.StringIndexOutOfBoundsException: String index out
亲爱的各位···我在MYSQL项目向ORACLE移值的时候出现一个<em>错误</em>可是却不知道怎么办只好向各位求助,各位帮忙啊!!具体<em>错误</em>如下:(这是在TOMCAT启动项目时候报的错··)rnrnrn严重: 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/classes/applicationContext.xml]: Invocation of init method failed; nested exception is <em>java</em>.<em>lang</em>.<em><em>String</em>IndexOutOfBoundsException</em>: <em>String</em> <em>index</em> out of range: 0rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.<em>java</em>:1338)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.<em>java</em>:473)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.<em>java</em>:409)rn at <em>java</em>.security.AccessController.doPrivileged(Native Method)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.<em>java</em>:380)rn at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.<em>java</em>:264)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.<em>java</em>:222)rn at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.<em>java</em>:261)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.<em>java</em>:185)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.<em>java</em>:164)rn at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.<em>java</em>:423)rn at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.<em>java</em>:728)rn at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.<em>java</em>:380)rn at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.<em>java</em>:255)rn at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.<em>java</em>:199)rn at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.<em>java</em>:45)rn at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.<em>java</em>:4135)rn at org.apache.catalina.core.StandardContext.start(StandardContext.<em>java</em>:4630)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.<em>java</em>:791)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.<em>java</em>:771)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.<em>java</em>:546)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.<em>java</em>:1041)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.<em>java</em>:964)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.<em>java</em>:502)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.<em>java</em>:1277)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.<em>java</em>:321)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.<em>java</em>:119)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.<em>java</em>:1053)rn at org.apache.catalina.core.StandardHost.start(StandardHost.<em>java</em>:785)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.<em>java</em>:1045)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.<em>java</em>:445)rn at org.apache.catalina.core.StandardService.start(StandardService.<em>java</em>:519)rn at org.apache.catalina.core.StandardServer.start(StandardServer.<em>java</em>:710)rn at org.apache.catalina.startup.Catalina.start(Catalina.<em>java</em>:581)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.<em>java</em>:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.<em>java</em>:25)rn at <em>java</em>.<em>lang</em>.reflect.Method.invoke(Method.<em>java</em>:597)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.<em>java</em>:289)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.<em>java</em>:414)rnCaused by: <em>java</em>.<em>lang</em>.<em><em>String</em>IndexOutOfBoundsException</em>: <em>String</em> <em>index</em> out of range: 0rn at <em>java</em>.<em>lang</em>.<em>String</em>.charAt(<em>String</em>.<em>java</em>:687)rn at org.hibernate.mapping.Table.setName(Table.<em>java</em>:149)rn at org.hibernate.cfg.Mappings.addTable(Mappings.<em>java</em>:167)rn at org.hibernate.cfg.HbmBinder.bindRootPersistentClassCommonValues(HbmBinder.<em>java</em>:290)rn at org.hibernate.cfg.HbmBinder.bindRootClass(HbmBinder.<em>java</em>:273)rn at org.hibernate.cfg.HbmBinder.bindRoot(HbmBinder.<em>java</em>:144)rn at org.hibernate.cfg.Configuration.add(Configuration.<em>java</em>:669)rn at org.hibernate.cfg.Configuration.addInputStream(Configuration.<em>java</em>:504)rn at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.<em>java</em>:631)rn at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.<em>java</em>:211)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.<em>java</em>:1369)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.<em>java</em>:1335)rn ... 39 morern2011-6-9 9:47:50 org.apache.catalina.core.StandardContext startrn严重: Error listenerStartrn2011-6-9 9:47:50 org.apache.catalina.core.StandardContext startrn严重: Context [/Shanwei] startup failed due to previous errors
JAVA急急
import <em>java</em>.util.*;rnimport <em>java</em>.util.Scanner;rnpublic class <em>java</em>Bean_bd rnrn /**rn * @param argsrn */rn public static void main(<em>String</em>[] args) rn // TODO Auto-generated method stubrn List list=new ArrayList();rn Scanner input=new Scanner(System.in);rn //获取用户输入的学生姓名。rn //一、for(int j=0;j
急急急,
能不能给一个二叉排序树建立的算法(C的),谢谢rn
急急急急急急急,救命!!!!!!!!!!!!!!!!!!
各位大师: rn 我的电脑装的是win2003 S 为什么我用VS.NET打开或新建一个ASP。NET 网站时总是 rn告诉我,此项目的默认WEB访问模式为文件其享,无法打开从路经“。。。。”与URL路经不符 <em>错误</em>404。然后问我是选不同的路经还是用FRONTPAGE服务器扩展打开。我两个都试过。。。。。。。。请问我该怎么办??????谢了。 rnrn
java.lang.StringIndexOutOfBoundsException
rnError Page rn rn rnException Details. rn rn oracle.apps.fnd.framework.OAException: <em>java</em>.<em>lang</em>.<em><em>String</em>IndexOutOfBoundsException</em>: <em>String</em> <em>index</em> out of range: 6rn at oracle.apps.fnd.framework.OAException.wrapperException(OAException.<em>java</em>:888)rn at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.<em>java</em>:597)rn at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.<em>java</em>:247)rn at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.<em>java</em>:1095)rn at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.<em>java</em>:1569)rn at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.<em>java</em>:932)rn at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.<em>java</em>:899)rn at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.<em>java</em>:640)rn at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.<em>java</em>:247)rn at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.<em>java</em>:385)rn at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.<em>java</em>:932)rn at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.<em>java</em>:899)rn at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.<em>java</em>:640)rn at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.<em>java</em>:247)rn at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.<em>java</em>:353)rn at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.<em>java</em>:2298)rn at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.<em>java</em>:1711)rn at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.<em>java</em>:497)rn at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.<em>java</em>:418)rn at _OA._jspService(OA.jsp:40)rn at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.<em>java</em>:56)rn at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.<em>java</em>:317)rn at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.<em>java</em>:465)rn at oracle.jsp.runtimev2.JspServlet.service(JspServlet.<em>java</em>:379)rn at <em>java</em>x.servlet.http.HttpServlet.service(HttpServlet.<em>java</em>:853)rn at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.<em>java</em>:727)rn at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.<em>java</em>:306)rn at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.<em>java</em>:767)rn at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.<em>java</em>:259)rn at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.<em>java</em>:106)rn at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.<em>java</em>:803)rn at <em>java</em>.<em>lang</em>.Thread.run(Thread.<em>java</em>:534)rn## Detail 0 ##rn<em>java</em>.<em>lang</em>.<em><em>String</em>IndexOutOfBoundsException</em>: <em>String</em> <em>index</em> out of range: 6rn at <em>java</em>.<em>lang</em>.<em>String</em>.substring(<em>String</em>.<em>java</em>:1441)rn at tengen.oracle.apps.tgcust.transaction.webui.TranHeaderCO.processRequest(TranHeaderCO.<em>java</em>:40)rn at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.<em>java</em>:581)rn at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.<em>java</em>:247)rn at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.<em>java</em>:1095)rn at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.<em>java</em>:1569)rn at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.<em>java</em>:932)rn at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.<em>java</em>:899)rn at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.<em>java</em>:640)rn at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.<em>java</em>:247)rn at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.<em>java</em>:385)rn at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.<em>java</em>:932)rn at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.<em>java</em>:899)rn at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.<em>java</em>:640)rn at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.<em>java</em>:247)rn at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.<em>java</em>:353)rn at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.<em>java</em>:2298)rn at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.<em>java</em>:1711)rn at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.<em>java</em>:497)rn at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.<em>java</em>:418)rn at _OA._jspService(OA.jsp:40)rn at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.<em>java</em>:56)rn at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.<em>java</em>:317)rn at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.<em>java</em>:465)rn at oracle.jsp.runtimev2.JspServlet.service(JspServlet.<em>java</em>:379)rn at <em>java</em>x.servlet.http.HttpServlet.service(HttpServlet.<em>java</em>:853)rn at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.<em>java</em>:727)rn at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.<em>java</em>:306)rn at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.<em>java</em>:767)rn at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.<em>java</em>:259)rn at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.<em>java</em>:106)rn at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.<em>java</em>:803)rn at <em>java</em>.<em>lang</em>.Thread.run(Thread.<em>java</em>:534)rn<em>java</em>.<em>lang</em>.<em><em>String</em>IndexOutOfBoundsException</em>: <em>String</em> <em>index</em> out of range: 6rn at <em>java</em>.<em>lang</em>.<em>String</em>.substring(<em>String</em>.<em>java</em>:1441)rn at tengen.oracle.apps.tgcust.transaction.webui.TranHeaderCO.processRequest(TranHeaderCO.<em>java</em>:40)rn at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.<em>java</em>:581)rn at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.<em>java</em>:247)rn at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.<em>java</em>:1095)rn at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.<em>java</em>:1569)rn at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.<em>java</em>:932)rn at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.<em>java</em>:899)rn at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.<em>java</em>:640)rn at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.<em>java</em>:247)rn at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.<em>java</em>:385)rn at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.<em>java</em>:932)rn at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.<em>java</em>:899)rn at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.<em>java</em>:640)rn at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.<em>java</em>:247)rn at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.<em>java</em>:353)rn at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.<em>java</em>:2298)rn at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.<em>java</em>:1711)rn at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.<em>java</em>:497)rn at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.<em>java</em>:418)rn at _OA._jspService(OA.jsp:40)rn at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.<em>java</em>:56)rn at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.<em>java</em>:317)rn at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.<em>java</em>:465)rn at oracle.jsp.runtimev2.JspServlet.service(JspServlet.<em>java</em>:379)rn at <em>java</em>x.servlet.http.HttpServlet.service(HttpServlet.<em>java</em>:853)rn at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.<em>java</em>:727)rn at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.<em>java</em>:306)rn at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.<em>java</em>:767)rn at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.<em>java</em>:259)rn at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.<em>java</em>:106)rn at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.<em>java</em>:803)rn at <em>java</em>.<em>lang</em>.Thread.run(Thread.<em>java</em>:534)rn rnrn整个包里每一个页面都出现这样的情况rn rn
:关于使用“string”类的问题
请问Borland C++3.0里是否有一个叫“string”的类?rn是否用#include这条语句来打开?rn小弟是按上面方法做的,但程序说:rnUnable to open include file ' STRING 'rn请问各位高手怎么回事?rn另外还想请教一下:using namespace std;是什么意思?rnrn
:CGI 错误
CGI <em>错误</em>rn指定的 CGI 应用程序因为没有返回完整的 HTTP 标题而运行不正常。它返回的标题是:
String index out of range: -6 的错误
初次使用hibernate,然后将一个页面中的数据插入到数据库中时,就阴魂不散的发生了这个<em>错误</em>,我插入的值只是一位:“1”,却总是报这个错,有谁也碰到过这个问题吗?
string简单问题,
把字符串中“-”之间的内容提取到另一个字符串中、rn例如“123-456-789”把456另存为一个新的字符串rn请提供源码
急急急急!!!!(解决即)
我有一张表:TABLErn字段是 ID COUNTrn值为 1 12rn 1 25rn 2 25rn 3 47rn 1 84rn 2 21rn 3 10rn 2 02rn我现在想要查询结果为rn 1 121 (12+25+84)rn 2 48 (25+21+02)rn 3 57 (47+10)rnsql语句该怎么写?
急急急急........在线等待,100
调试最基本的Hello WebService出错。重装VS.NET不起作用。为什么???rnrn下面是<em>错误</em>信息:rnrn“/WebService2”应用程序中的服务器<em>错误</em>。rn--------------------------------------------------------------------------------rnrn编译<em>错误</em> rn说明: 在编译向该请求提供服务所需资源的过程中出现<em>错误</em>。请检查下列特定<em>错误</em>详细信息并适当地修改源代码。 rnrn编译器<em>错误</em>信息: CS1595: 已在多处定义“System.Runtime.CompilerServices.CompilerGlobalScopeAttribute”;使用“C:\winnt\microsoft.net\framework\v1.0.3705\mscorlib.dll”中的定义rnrn源<em>错误</em>:rnrn rnrn行 25: rn行 26: rn行 27: [System.Runtime.CompilerServices.CompilerGlobalScopeAttribute()]rn行 28: public class Global_asax : WebService2.Global rn行 29: rn rnrn源文件: C:\WINNT\Microsoft.NET\Framework\v1.0.3705\Temporary ASP.NET Files\webservice2\26de0942\315c6f47\gzdmluyz.0.cs 行: 27 rnrnrnrn显示详细的编译器输出:rnrnrnC:\WINNT\system32> "c:\winnt\microsoft.net\framework\v1.0.3705\csc.exe" /t:library /utf8output /R:"c:\winnt\assembly\gac\system.xml\1.0.3300.0__b77a5c561934e089\system.xml.dll" /R:"c:\winnt\microsoft.net\framework\v1.0.3705\temporary asp.net files\webservice2\26de0942\315c6f47\assembly\dl\de1bdc87\30035c4b_3843c201\webservice2.dll" /R:"c:\winnt\assembly\gac\system.enterpriseservices\1.0.3300.0__b03f5f7f11d50a3a\system.enterpriseservices.dll" /R:"c:\winnt\assembly\gac\system.drawing\1.0.3300.0__b03f5f7f11d50a3a\system.drawing.dll" /R:"c:\winnt\assembly\gac\system.web.services\1.0.3300.0__b03f5f7f11d50a3a\system.web.services.dll" /R:"c:\winnt\assembly\gac\system.data\1.0.3300.0__b77a5c561934e089\system.data.dll" /R:"c:\winnt\assembly\gac\system\1.0.3300.0__b77a5c561934e089\system.dll" /R:"c:\winnt\assembly\gac\system.web\1.0.3300.0__b03f5f7f11d50a3a\system.web.dll" /R:"c:\winnt\microsoft.net\framework\v1.0.3705\mscorlib.dll" /out:"C:\WINNT\Microsoft.NET\Framework\v1.0.3705\Temporary ASP.NET Files\webservice2\26de0942\315c6f47\gzdmluyz.dll" /D:DEBUG /debug+ /optimize- /warnaserror /w:1 "C:\WINNT\Microsoft.NET\Framework\v1.0.3705\Temporary ASP.NET Files\webservice2\26de0942\315c6f47\gzdmluyz.0.cs"rnrnrnMicrosoft (R) Visual C# .NET Compiler version 7.00.9466rnfor Microsoft (R) .NET Framework version 1.0.3705rn版权所有 (C) Microsoft Corporation 2001。保留所有权利。rnrnC:\WINNT\Microsoft.NET\Framework\v1.0.3705\Temporary ASP.NET Files\webservice2\26de0942\315c6f47\gzdmluyz.0.cs(27,6): error CS1595: 已在多处定义“System.Runtime.CompilerServices.CompilerGlobalScopeAttribute”;使用“C:\winnt\microsoft.net\framework\v1.0.3705\mscorlib.dll”中的定义rnrn rnrnrnrn显示完整的编译源:rnrnrn行 1: //------------------------------------------------------------------------------rn行 2: // rn行 3: // This code was generated by a tool.rn行 4: // Runtime Version: 1.0.3705.0rn行 5: //rn行 6: // Changes to this file may cause incorrect behavior and will be lost if rn行 7: // the code is regenerated.rn行 8: // rn行 9: //------------------------------------------------------------------------------rn行 10: rn行 11: namespace ASP rn行 12: using System;rn行 13: using System.Collections;rn行 14: using System.Collections.Specialized;rn行 15: using System.Configuration;rn行 16: using System.Text;rn行 17: using System.Text.RegularExpressions;rn行 18: using System.Web;rn行 19: using System.Web.Caching;rn行 20: using System.Web.SessionState;rn行 21: using System.Web.Security;rn行 22: using System.Web.UI;rn行 23: using System.Web.UI.WebControls;rn行 24: using System.Web.UI.HtmlControls;rn行 25: rn行 26: rn行 27: [System.Runtime.CompilerServices.CompilerGlobalScopeAttribute()]rn行 28: public class Global_asax : WebService2.Global rn行 29: rn行 30: private static bool __intialized = false;rn行 31: rn行 32: public Global_asax() rn行 33: if ((ASP.Global_asax.__intialized == false)) rn行 34: ASP.Global_asax.__intialized = true;rn行 35: rn行 36: rn行 37: rn行 38: rn行 39: rn rnrnrnrnrn--------------------------------------------------------------------------------rn版本信息: Microsoft .NET 框架版本:1.0.3705.0; ASP.NET 版本:1.0.3705.0rn
触发器的问题,急急!!!!!
各位大虾,谁能解决以下问题:rn当到某一时间(比如中午12:00)的时候,就在一个表中插如一条数据,不知如何解决,如果用触发器,怎么写,谢谢!!rn
急急急!!! 100
我的网吧有20台机器,WIN98+赛扬1G+128现代+32GEFORCE 200,2M ADSL拨号上网。rn 现有几台电脑有几个问题,希望朋友们帮助。rn 1、无法安装程序。重装WIN98也不行,报告“致命<em>错误</em>”、“非法程序”或“Could not initialize installation.Could not extract extract Wise0132.dll to 'C:\WINDOWS\TEMP\GLC1253.TMP',CRC does not match.”,再要不就是I/O<em>错误</em>。rn 2、有很多eml后缀的邮件文件在电脑里,不知道从哪里来的,是病毒吗?怎么解决?rn 3、WIN2000下ADSL上网(虚拟拨号)很不稳定,如何解决?
求代码,急急
从键盘输入两个三位数输求他们的和,并显示结果
来了,急急
怎么样 Hide ListView控件中的某个ColumnHeaders?
急急急急!!!关于钱转换成大写的钱答对
如12345676.01转成壹千。。。rn最高为是百亿
题!关于JSP传参数
比如我在a.jsp中写了一个超链接到b.jsp:rnrnrnrn>Testrnrnrn那么我在b.jsp中如何写才能接收这个传过来的参数?
求救!急急急!
不知哪位前辈有能够显示水平滚动字幕并且能设置透明的组件?rn或者能能修改下Raize Components套件中的RzStatus组件,这个组件哪都好,就是不能透明!rn 急用,小弟先多谢了!rn Email ; lzd123@126.comrn
解决问题 急急急!!!!!!!!!
请教大家,我在dos 下 运行 sqlplus 用户名/密码 @服务器名 @启动文件rn 后,为什么,提示 "没连接驱动程序,执行失败" 还要再从新输入用户名和密码rn怎样做才行?????rn
】关于类的声明错误
我写了一个类:请问我应该怎么修改?rn[code=c]/* random.h */rnrn#include rnrn#define __RANDOM_H__rn#ifdef __RANDOM_H__rnrn#endifrnrn#define NUM 1rn#define LETTER 2rnrnrnclass CRandomrnrnpublic:rn CRandom() rn ~CRandom() rn void SetRandseed(int n) randseed = n;rn int GetCRandom();rnrnprivate:rn int randseed; //随机种子rn;rn[/code]rnrn[code=c]/* random.cpp */rnrn#include "random.h"rnrnCRandom::GetCRandom()rnrn return 222;rnrnrn //返回一个随机数rn //1返回一位数字随即rn //2返回一位数字+字母随即rn[/code]rnrn[code=c]/* test.cpp */rnrn#include rnrn#include "random.h"rnrnusing std::cout;rnusing std::endl;rnusing std::cin;rnrnint main(void)rnrn int model;rn cout << "请输入随即密码类型:" << endl; rn cin >> model;rn CRandom::SetRandseed(model);rnrn cout << CRandom::GetCRandom();rnrn return 0;rn[/code]rnrn编译提示<em>错误</em>:rn[code=c]F:\我的文件\自学课程\c\hello world\相对随即密码器\start.cpp(14) : error C2352: 'CRandom::SetRandseed' : illegal call of non-static member functionrn f:\我的文件\自学课程\c\hello world\相对随即密码器\random.h(19) : see declaration of 'SetRandseed'rnF:\我的文件\自学课程\c\hello world\相对随即密码器\start.cpp(16) : error C2352: 'CRandom::GetCRandom' : illegal call of non-static member functionrn f:\我的文件\自学课程\c\hello world\相对随即密码器\random.h(20) : see declaration of 'GetCRandom'rnError executing cl.exe.[/code]
关于文件读写的错误!不够可以
#includern#includern#define N 350rnrnint Colour(char ch)rnrn int i;rn switch(ch)rn rn case 'b': i=0;rn break;rn case 'r': i=1;rn break;rn case 'w': i=2;rn rn return i;rnrnrnint NumberOfLeft(int LeftColour,int size,char *bead)rnrn int Left,i,t;rn Left=0;rn for(i=0;i0;i--)rn rn t=Colour(bead[i-1]);rn if(t==RightColour)rn Right++;rn elsern if((RightColour==2)&&(t==2))rn Right++;rn elsern break;rn rn return Right;rnrnrnvoid BreakBeads(char *bead,char *St,int postion)rnrn char temp[N];rn strcpy(St,bead+postion-1);rn strncpy(temp,bead,postion-1);rn strcat(St,temp);rnrnrnint main()rnrn FILE *in,*out;rn char beads[N];rn char temp[N];rn int size,i;rn int ch,p1,Left,Right,max=0;rn rn in=fopen("beads.in","r"); /*就是这里总是说不能打开文件!*/ rn out=fopen("beads.out","w");rnrn fscanf(in,"%d",&size); rn fscanf(in,"%s",beads);rnrn for(i=0;imax)rn max=Left+Right;rn rn if(max>size)rn fprintf(out,"%d\n",size);rn elsern fprintf(out,"%d\n",max);rnrn return 0;rn
:关于错误 '800a0400'
rnW2K3IIS6下提示<em>错误</em>:rnMicrosoft VBScript 编译器<em>错误</em> <em>错误</em> '800a0400' rn缺少语句 rn/<em>index</em>.asp,行 38 rnoption explicitrn^rn我把其他全部代码删掉后仍然这样提示。rn请问是不是IIS6的问题?rn
java.lang.StringIndexOutOfBoundsException怎么回事?
import <em>java</em>.util.Scanner;rnrnclass WordsAnalyse rn rn private static <em>String</em> []result = new <em>String</em>[100];rn private static int <em>index</em>=-1;rnrn static int isKey(<em>String</em> s)//判断是否关键字,返回对应的种别码rn rn if(s.equals("begin")) return 1;rn else if(s.equals("if")) return 2;rn else if(s.equals("then")) return 3;rn else if(s.equals("while")) return 4;rn else if(s.equals("do")) return 5;rn else if(s.equals("end")) return 6;rn return 10;rn rnrn static boolean isLetter(char c)//判断是否为字母rn rn if(c>='A' && c='a'&& c='0' && c);rn rnrn
关于“Index is out of date”的错误
delphi&Paradox7的问题:rn我有一次运行程序时,出现一个<em>错误</em>:“Index is out of date.Table e:\db\table1.db”。为何会出现rn“Index is out of date”?如何避免“Index is out of date”?或者是出现这个<em>错误</em>时,如何把它修正?
关于jsp的配置,急急急急!!!!!!!
我现在已经安装了j2sdk1.4.1和resin-2.1.4rn请问还要配置什么?rnresin-2.1.4中还要设置什么东西,这样才能在http://localhost:8080/examples/<em>index</em>.xtp中编译jsp文件rn
Index错误?
运行程序时,出现Index out of bounds[0]的<em>错误</em>提示,可能是什么<em>错误</em>?请指教!
。。。。。。。。。。。。。。。。。。。。。
还碰到了好多问题,谁有ASP.NET编译的资料啊~~计算机怎么从一大堆扩展名不一样的文件开始编译的,总有个顺序吧 顺序是不是这样的 帮忙看看rn客户端在浏览器输入网址,发<em>送</em>请求,服务器首先调用web.config里面的配置信息,然后再调用.dll文件,然后是.vbproj的文件,再就是.vb里的文件,再就是动态加载.ascx文件 生成页面rn是这样的吗_~~~ _ _ _ rn谢谢~!! ^^^@@^^^ _ _ ^^^@@^^^rn ^^^@@^^^rn最好有详细的资料rn
Grid index out of range错误怎么回事?急急急急!!!
ClientDataSet.dataRequest后,用.dataRequest.<em>index</em>Defs.add增加了rn几个索引用来排序,然后在ClientDataSet的<em>index</em>name设了一个值,当在次ClientDataSet.dataRequest后,然后重新设<em>index</em>name,会出现Grid <em>index</em> out of range<em>错误</em>(我使用了DBGrid连到ClientDataSet),怎么解决?rn
急急急急急急急急急急急急急急急急急急急急,
请教能使场景中的一幅玫瑰图能随鼠标自由移动的做法
刻到光盘里的文件没有FAT,FAT32,NTFS……之<em>分</em>吧?
jsp 简单问题
两个action 间接不到值rnrnA action (requset.setAttribute("radio", list);) 跳转到x.jsp rn在jsp页面上用interate .循环显示出来。再跳转到B ACTIONrnrn而b action 中rn[color=#FF0000]List list=(List)request.getAttribute("radio");得不到值[/color]rnrn不知道解释清楚了没,新手学jsprnrnrn
JSP的小问题,纯属
请问一下各位大侠,在JB中从外部导入一个<em>JSP</em>文件后,然后执行却怎么也显示不出我想要的WEB页。请问该怎么做才能使其能够正常的在JB中显示出来。
JSP编译的错误!急急急!
整个程序是基于STRUTS架构的,WINDOWS下的WEBLOGIC和JBUILDER X环境。rn<em>JSP</em>是主要使用STRUTS标签库和JSTL标签库,总长1400行左右!<em>JSP</em>编译的rn时候报”code too large for try statement“<em>错误</em>信息!rn请问是不是设置的问题?有没有什么解决方法!
关于string类型,急急急急
我给一个string类型付但得到全是乱码和方格请大家给点帮助谢谢了
小问题。图形方面。急急急急急急
1。我想请问一下,图形文件最好保存在数据库的什么类型的字段中,rn2。怎么样保存到数据库中从image图形中。怎么样从数据库中把图形显示出来到image中。rn3。我在image中。怎么不能显示( jpg)文件呢rn 本认在线,问题简单谁先回答马上给<em>分</em>
挥泪大急急急急急急急急急急急急急急急急急急
怎么获得,TForm上的所有控件。怎么动态在程序中往TForm上添加控件,并让其显示!!!??????rn 谢了!!!
关于类中方法index():string的解释
class A{    public function <em>index</em>():string{        return $bbb;    }}对于初学者来说,方法后面跟上一个:string是不能理解的。简单的来讲,这个<em>index</em>()方法的返回值$bbb为一个字符串(string)。...
急急急急急急了!!!!
编制页面置换算法的模拟程序。rn要求:rn(1) 用随机数方法产生页面走向,页面走向长度为L。rn(2) 根据页面走向,<em>分</em>别采用FIFO和LRU算法进行页面置换,统计缺页率。rn(3) 假定可用内存块和页表长度 (作业的页面数)<em>分</em>别为m和k,初始时,作业页面都不在内存。rn随机数产生程序:rnfunction random: real:rnbegin Seed: =125.0(seed+1.0)rn Seed: =Seed8192.0trunc (seed/8192)rn random: = (Seed+0.5)/8192rnend;rn上述随机数发生函数产生的随机数为0.0~1.0,稍另变化就可得到0~n1之间的随机数。rn程序开始时,应对变量Seed (实型)赋初值。rn~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~rn请各位高手帮我看看这个怎么做?????
数据库连接错误 20
问题1rnrnrnrnrn--------------------------------------------------------------rnrnMicrosoft VBScript 编译器<em>错误</em> <em>错误</em> '800a03f6' rnrn缺少 'End' rnrn/iisHelp/common/500-100.asp,行242 rnrnMicrosoft OLE DB Provider for ODBC Drivers <em>错误</em> '80040e10' rnrn[Microsoft][ODBC Microsoft Access Driver] 参数不足,期待是 1。 rnrn/jiaoshiupdate.asp,行9 rnrnrn问题2rn页面内只有一个form1rnform1.submit 不能执行rnrn rnrn<em>错误</em>:对象不支持此属性或方法:'form1.submit'rn代码:0
题:CXX0030错误
class CEndPoint rnrnpublic:rn CEndPoint();rn virtual ~CEndPoint();rn.rn.rn.rnprivate:rn C<em>String</em> m_Buffer; //字符缓冲区rn//方法rnpublic:rn BOOL JoinBuffer(C<em>String</em>); rn;rnrnCEndPoint::CEndPoint()rnrn m_Buffer="";rnrnrnBOOL CEndPoint::JoinBuffer(C<em>String</em> szMsg)rnrn [color=#FF0000m_Buffer += szMsg;][/color]rn return TRUE;rnrnrn单步执行到上述红色部<em>分</em>时就提示变量无法参于表达式计算<em>错误</em>(CXX0030:Error:expression cannot be evaluated)?rnrnrn
: DirectPlay的奇怪错误
我在使用 DirectPlay8Server 和 DirectPlay8Client 实现互接的时候rnrnServer 端每隔一段时间(0.5s)的给所有 Client 发<em>送</em>讯息rnrndps.SendTo DPNID_ALL_PLAYERS_GROUP, oNewMsg, 500, DPNSEND_NOLOOPBACKrnrn结果导致最后一个剩余的 Client 无法退出,其它的 Client 可以正常退出。rnrn然后 Server 端程序在结束程序的时候会死机。rnrn我想请教一下各位朋友如何解决?
DataInputStream有关的错误…………
请教怎么回事??????????rn程序:rn out = new DataOutputStream(socket.getOutputStream());rn in = new DataInputStream(socket.getInputStream());rn byte[] data = new byte[160]; rn in.read(data,32,160);rn str=in.readLine(); 对这第三句话,得到的提示:rn"Frameserver.<em>java</em>": Warning #: 368 : method readLine() in class <em>java</em>.io.DataInputStream has been deprecated at line 102, column 20rnrn程序可以run,可是得不到我估计的结果。奇怪,第二句话却不报错。rn
简单错误,搞定
Exception Processing Message c0000139 Parameters 5ffa1d6c 5ffa1d6c 5ffa1d6c 5ffa1d6crnrn服务器WIN2000rnSQL2000打SP4补丁rn过一段时间就显示上面的<em>错误</em>,然后IIS停止了,网站打不开了rn请教一下
!帮找错误!!!
BOOL OnFind(C<em>String</em> m_StrA, C<em>String</em> m_StrB,C<em>String</em> m_StrC)rn rnBOOL flag=false;rnCDatabase db;rnCNewSet *lphy_pSet=NULL;rnif(db.Open("NewInformation"))rnrn lphy_pSet=new CNewSet();rn lphy_pSet->Open();rn lphy_pSet->MoveFirst();rn while(!lphy_pSet->IsEOF())rn rn if(lphy_pSet->m_CardNumber==m_StrA&&lphy_pSet->m_Password==m_StrB)rn rn C<em>String</em> time=lphy_pSet->m_LeftTime;rn int ti=atoi(time);rn if(ti>5)rn rn flag=true;rn break;rn rn else rn rn flag=false;rn break;rn rn rn elsern lphy_pSet->MoveNext();rn rnrnlphy_pSet->Close();rn delete lphy_pSet;rn db.Close();rnif(flag)rn rn CListCtrl* pList=(CListCtrl*)AfxGetMainWnd()->GetDlgItem(IDC_LIST);//得到指针rn C<em>String</em> SystemTime;//他对应从系统得到的时间rn SYSTEMTIME sysTime;rn GetLocalTime(&sysTime);rn SystemTime.Format("%d:%d",sysTime.wHour,sysTime.wMinute);rn pList->InsertItem(0,(LPCTSTR)m_StrC,0);rn pList->SetItemText(0,1,(LPCTSTR)m_StrA);rn pList->SetItemText(0,2,"0");rn pList->SetItemText(0,3,(LPCTSTR)SystemTime);rn pList->SetItemText(0,4,(LPCTSTR)lphy_pSet->m_LeftTime);rn rnreturn flag;rn
错误,着急,
char *func()rnrnchar s[]="student";rnchar *p;rnp=s;rnreturn p;rn
一个错误不能解决(
<em>错误</em>:Exception in thread "main" <em>java</em>.<em>lang</em>.NoClassDefFoundError: HelloWorld (wrong namrne: helloworld/HelloWorld)rnrn环境:我安装的是JBuilder9.0,自带的JDK1。4。1;rnclasspath=.;C:\JBuilder9\jdk1.4\lib;C:\JBuilder9\jdk1.4\lib\tools.jar;C:\JBuilder9\jdk1.4\lib\dt.jar;rnpath=C:\JBuilder9\jdk1.4\bin;rnrn我用JBuilder9.0运行HelloWorld.class可以运行正常。rn但是在DOS下:<em>java</em> HelloWorld 就出现上面的<em>错误</em>;rn刚学JAVA不久,这个问题还没有解决啊,希望大哥,大姐能帮帮小弟啊~~~~~~rnrn
在VB中怎样表示一个对象的地址?rn是这样吗:&object?rn
!!!!!!
谁能把下面的语言翻译成能在powerbuilder里面能用!rn<em>送</em><em>分</em>!!!把我的<em>分</em>数全部<em>送</em>给你!rn“rn根据输入的计算表达式,得到计算结果,运算符可以是加、减、乘、除、小括号,括号可以嵌套,可以输入小数,算式不合法要报错(这个可以要求低一些,能报错就行,不用报少左括号之类的)”rnrnrnusing System;rnusing System.Collections;rnusing System.Text;rnrnnamespace ExpresstionClassrnrn public class ExpresstionClassrn rn public string Expresstion;//<em>String</em>类型表达式rnrn public ExpresstionClass()rn rn rn rnrn public ExpresstionClass(string expresstion)rn rn this.Expresstion = expresstion;rn rnrn // 判断字符串是否为数值rn public bool IsNumberExp(string str)rn rn bool isnumeric = false;rn byte c;rn if (str == null || str.Length == 0)rn return false;rn System.Text.ASCIIEncoding ascii = new System.Text.ASCIIEncoding();rn byte[] bytestr = ascii.GetBytes(str);rn for (int i = 0; i < bytestr.Length; i++)rn rn c = bytestr[i];rn if ((c >= 48 && c 1)rn rn isnumeric = true;rn rn elsern rn isnumeric = false;rn break;rn rn rn rn return isnumeric;rn rnrn // 基本一目计算rn public double account(double n1, double n2, string num_op)rn rn double aresult = 0;rn switch (num_op)rn rn case "+":rn aresult = n1 + n2;rn break;rn case "-":rn aresult = n1 - n2;rn break;rn case "*":rn aresult = n1 * n2;rn break;rn case "/":rn aresult = n1 / n2;rn break;rn rn return aresult;rn rnrn // 将<em>String</em>类型表达式转为由操作数和运算符组成的ArrayList类型表达式rn public ArrayList Toexp_arraylist(string exp_str)rn rn string exp_element="",expchar;rn ArrayList exp_arraylist = new ArrayList();rn //遍历表达式rn for (int i = 0; i < exp_str.Length; i++)rn rn expchar = exp_str.Substring(i, 1);rn //如果该字符为数字,小数字或者负号(非运算符的减号)rn if (char.IsNumber(exp_str, i) || expchar == "." || (expchar == "-" && (i == 0 || exp_str.Substring(i - 1, 1) == "(")))rn rn exp_element += expchar;//存为操作数rn rn else//为运算符rn rn //将操作数添加到ArrayList类型表达式rn if (exp_element != "")rn exp_arraylist.Add(exp_element);rn //将运算符添加到ArrayList类型表达式rn exp_arraylist.Add(expchar);rn exp_element = "";rn rn rn //如果还有操作数未添加到ArrayList类型表达式,则执行添加操作rn if (exp_element != "")rn exp_arraylist.Add(exp_element );rn return exp_arraylist;rn rnrn //返回运算符的优先级rn private int Operatororder(string op)rn rn switch (op)rn rn case "*":rn return 3;rn break;rn case "/":rn return 4;rn break;rn case "+":rn return 1;rn break;rn case "-":rn return 2;rn break;rn default:rn return 0;rn break;rn rn rnrn private bool IsPop(string op,Stack operators)rn rn if (operators.Count == 0)rn rn return false;rn rn elsern rn if (operators.Peek().To<em>String</em>() == "(" || Operatororder(op) > Operatororder(operators.Peek().To<em>String</em>()))rn rn return false;rn rn elsern rn return true;rn rn rn rnrn //将ArrayList类型的中缀表达式转为ArrayList类型的后缀表达式rn public ArrayList Toexpback_arraylist(ArrayList exp)rn rn ArrayList expback_arraylist = new ArrayList();rn Stack operators = new Stack();rn string op;rn //遍历ArrayList类型的中缀表达式rn foreach (string s in exp)rn rn //若为数字则添加到ArrayList类型的后缀表达式rn if (IsNumberExp(s))rn rn expback_arraylist.Add(s);rn rn elsern rn switch (s)rn rn //为运算符rn case "+":rn case "-":rn case "*":rn case "/":rn while (IsPop(s,operators ))rn rn expback_arraylist.Add(operators .Pop ().To<em>String</em> ());rn rn operators.Push(s);rn break;rn //为开括号rn case "(":rn operators.Push(s);rn break;rn //为闭括号rn case ")":rn while (operators.Count !=0)rn rn op = operators.Pop().To<em>String</em>();rn if (op != "(")rn rn expback_arraylist.Add(op);rn rn elsern rn break;rn rn rn break;rn rn rn rn while (operators.Count != 0)rn rn expback_arraylist.Add(operators .Pop ().To<em>String</em> ());rn rn return expback_arraylist;rn rn rn //计算一个ArrayList类型的后缀表达式的值rn public double ExpValue(ArrayList expback)rn rn double num1,num2,result=0;rn Stack num = new Stack ();rn foreach (string n in expback)rn rn if (IsNumberExp(n))rn rn num.Push(n);rn rn elsern rn num2 = Convert.ToDouble(num.Pop ());rn num1 = Convert.ToDouble(num.Pop ());rn result = account(num1, num2, n);rn num.Push(result );rn rn rn return result;rn rnrn //返回本类的表达式值rn public double ExpValue()rn rn ArrayList a1 = new ArrayList();rn ArrayList a2 = new ArrayList();rn a1 = Toexp_arraylist(Expresstion);rn a2 = Toexpback_arraylist(a1);rn return ExpValue(a2);rn rnrn rnrnrnrnrnrnrn--rn人有悲欢离合,月有阴晴圆缺,此事古难全。但愿人长久,千里共婵娟。
!!!!!!!
哪位大哥能告诉我下面是什么<em>错误</em>吗?rn该怎么改写?rnrnCompiler Error Message: BC30456: 'navigate' is not a member of 'System.Web.UI.Page'.rnrnSource Error:rnrn rnrnLine 45: LooprnLine 46: tmpStr=System.Web.HttpUtility.UrlEncode(tmpStr,System.Text.Encoding.UTF8)rnLine 47: page.navigate("result.aspx?InstalledFonts=" & tmpStr)rnLine 48: rnLine 49: End Sub rn rn
!!!!!!!!!!!
1+1=?
!
关于用本地image控件打开局域网另一台机器的图片文件,loadpicture后面怎么写
定制一业务流,可以对其进行如下操作:添加、删除、移动业务处理rn存在排序问题,可以向上一级提交报告,将该业务流看作一个抽象类rn问该该业务流定制的具体的实施过程
_____
1 class b rn2 object m1() rn3 object f = new Faloat(3) ; rn4 Object o = new Object[3] ; rn5 o[0] = f ; rn6 f = null rn7 return o[0]; rn8 rn9 rnrnrnwhere f can be garbage"
。。。
我用ADOstroproc调用存储过程得来的一张表显示在wwdbgrid里!但是现在要通过一个编辑框edit!点击按钮便使wwdbgrid的光标指到满足特定字段等于edit的那一行!rn要怎样做呀!!!!!!
,,,,,,
在重新登陆的时候,,怎样关闭所有窗口
这个SQL语句有什么问题:rnCREATE TABLE "MINIMIS"."CARINSURANCELNFO"("INSUR" VARCHAR2(20) rn NOT NULL, "CARID" VARCHAR2(20) NOT NULL, "CARZBH" VARCHAR2(10), rn "CARBXQ" DATE, "CARBXZ" DATE, "CARBXR" VARCHAR2(10), "CARGZRQ" rn DATE, "CARGZF" VARCHAR2(10), "CARJYZ" VARCHAR2(10), "CARSGJL" rn VARCHAR2(500), "CARSCTB" DATE, "CARTBGS" VARCHAR2(50), "CARTBJE" rn VARCHAR2(8), "CARTBXZ" VARCHAR2(30), "CARBZ" VARCHAR2(20), rn "CARRQ" DATE) rn TABLESPACE "USERS" PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 rn STORAGE ( INITIAL 128K NEXT 128K MINEXTENTS 1 MAXEXTENTS 4096 rn PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1) rn LOGGING ;rnCOMMENT ON COLUMN "MINIMIS"."CARINSURANCELNFO"."INSUR" IS '投保编号当前时间';rnCOMMENT ON COLUMN "MINIMIS"."CARINSURANCELNFO"."CARID" IS '车牌号';rnCOMMENT ON COLUMN "MINIMIS"."CARINSURANCELNFO"."CARZBH" IS '保险自编号';rnCOMMENT ON COLUMN "MINIMIS"."CARINSURANCELNFO"."CARBXQ" IS '保险起';rnCOMMENT ON COLUMN "MINIMIS"."CARINSURANCELNFO"."CARBXZ" IS '保险止';rnCOMMENT ON COLUMN "MINIMIS"."CARINSURANCELNFO"."CARBXR" IS '被保险人';rnCOMMENT ON COLUMN "MINIMIS"."CARINSURANCELNFO"."CARGZRQ" IS '车辆购置日';rnCOMMENT ON COLUMN "MINIMIS"."CARINSURANCELNFO"."CARGZF" IS '车辆购置费';rnCOMMENT ON COLUMN "MINIMIS"."CARINSURANCELNFO"."CARJYZ" IS '车辆经营者';rnCOMMENT ON COLUMN "MINIMIS"."CARINSURANCELNFO"."CARSGJL" IS '车辆事故记录';rnCOMMENT ON COLUMN "MINIMIS"."CARINSURANCELNFO"."CARSCTB" IS '第一次投保日期';rnCOMMENT ON COLUMN "MINIMIS"."CARINSURANCELNFO"."CARTBGS" IS '投保公司';rnCOMMENT ON COLUMN "MINIMIS"."CARINSURANCELNFO"."CARTBJE" IS '投保金额';rnCOMMENT ON COLUMN "MINIMIS"."CARINSURANCELNFO"."CARTBXZ" IS '投保险种';rnCOMMENT ON COLUMN "MINIMIS"."CARINSURANCELNFO"."CARBZ" IS '备注';rnCOMMENT ON COLUMN "MINIMIS"."CARINSURANCELNFO"."CARRQ" IS '登记日期'
简单
例如:http://www.***.com/ProductShow.asp?ArticleID=3这个网页可以打开(它是一个链接)rnrn但我把它下载到本地机上想传上另一个服务器上rn下载到本地机时http://www.***.com/ProductShow.aspArticleID=3中间的问号没有了rn等我传到另一个服务器上时,直接点它打不开,必须把中间的问号删除还可以打开rn请问:1\中间的问号有什么用,删掉可以吗rn 是不是得把链接都改了
----关于jar
manifest.txt内容如下:rnMain-Class:PlatformEditorrnrn然后我用jar对temp目录下的文件进行打包rnjar cvmf manifest.txt PlatformEditor.jar temp/rnrn一切正常!rnrn可是双击生成的PlatformEditor.jar文件却什么反应也没有rn如果不打包直接在DOS下用:rn<em>java</em>c PlatformEditor.<em>java</em>rn<em>java</em> PlatformEditorrn程序却一切正常!rnrn望高手指点!rnrntemp目录下还有其他相关文件(如SplashWindow.<em>java</em>等)和一目录pic用于存放jpg文件(这些都是程序所需的,PlatformEditor.<em>java</em>是主文件)rnrnrn
关于PASCAL,
PASCAL的问题。rnrn有一个小程序,用来求三个数(从键盘输入)的最小值?rn最好编译通过,可以运行的。rnrn这是朋友的问题,因为我不会PASCAL,所以到这儿来<em>送</em><em>分</em>了。
关于的问题。。。
CSDN是强烈反对这样的做法的,可是我正的是没有办法了,我在此版和VC++版都有未结的问题,贴出的时间都很长了,并且<em>分</em>数不是很低。大家都有谁要<em>分</em>,不妨关注一下,我下去吃了饭就回来给<em>分</em>。rn这一张贴是一样的,吃完饭就来给<em>分</em>。
,关于对话框
1.现有对话框A,在按了OK后A 消失,同时生成 B。rn2.一个对话框用来输入数据,只生成一次,但要用来输很多次数据。
关于LINUX(
哪个版本的linux比较好,比较适用一些,图形界面比较美观,简易,面向家庭用户,说详细些。。。(如red hat,mandrake,suse,红旗,好像还有个什么即时软件。太多了,都不知为什么不能建立一个统一的阵营!!!)
关于XML !
如何在SQL表中的一列(XML属性)添加一段XML片段代码?rn要将XML代码全打上???
!!关于学习方法
各位资深老师好!我现在刚刚学习了一些c c++的基本语义,包括结构 类 继承 虚函数等,能够写一些小的程序。老师告诉我以后用ATL编程会非常方便,我想大概的了解一下我现在是否算是有基础学习ATL,或者说我需要到什么层次才能看懂ATL
关于发布 (!~~~)
请问:rn 怎么样能把做好的网页放到因特网上呢?rn 要用什么工具吗?rn 具体要什么步骤呢?rnrnrn谢谢
--关于windows2000
用户设置中,用户名称上有人头图标。rn为何有的是一个人头,有的是两个人头,有何含义?
!关于IE
哪位高手可以解决?rn我的IE下载的时候为什么不弹出下载到哪里的对话框就直接下载呢?rn
,关于类关系
类关系rn TOwnedCollection 单元Classesrn类关系rn TObject-TPersistent-TCollectionrn这个类关系是什么意思,类关系于类有什么联系
关于数据报表
谁能教我怎么样可以实现输出的数据报表具有查询功能。具体怎么弄???
,关于CFindReplaceDialog
一个SDI,带CHtmlView,按Ctrl+F时出现"查找/代替"对话框(CFindReplaceDialog),并查找。在一个菜单函数中写rn CFindRepalceDialog dlg;rnrn dlg.Create(.....);rnrn虽然能出"查找/代替"对话框,但按“查找下一个”没有用。rnrn 请问如何能实现按Ctrl+F的完全功能,并将在网页rn(CMyHtmlView)中找到的内容选上(高亮)。rnrn 曾想过用模拟键盘的方法,用keybd_event试过,没成功。rnrn 请高手指点一下,最好详细一些,给出例子rn
!!关于打印.......
大家写打印输出程序时都是怎么写的?我的做法是用Adobe Acrobat 4.0做虚拟打印输出来查看自己写的输出效果,可是后来我才发现到了实际的打印后的效果根模拟的大不一样,它奶奶的,这个垃圾!!!!
关于request.getRequestURL();。。。。
请问该函数可以取得当前地址栏的地址吗?rn为什么我用了会报错,说没有该函数。
(关于PASCAL)
PASCAL的问题。rnrn有一个小程序,用来求三个数(从键盘输入)的最小值?rn最好编译通过,可以运行的。rnrn这是朋友的问题,因为我不会PASCAL,所以到这儿来<em>送</em><em>分</em>了。
关于_DEBUG,
#ifdef _DEBUGrn afxDump << "File could not be opened " << e.m_cause << "\n";rn#endifrnrn这和TryrnrnrnCatchrnrnrn结构有何不同。rnrn
100求解错误--在线
public void tianjia(object sender,EventArgs E)rnrnstring strConnection="Provider=Microsoft.Jet.OleDb.4.0;Data Source=";rnstrConnection+=Server.MapPath("1.mdb");rnOleDbConnection objConnection=new OleDbConnection (strConnection);rn<em>String</em> see="Update DS_ProductInf SET Amonut=[@ceshu] WHERE ProductNumber=[@bh1]";rnOleDbCommand obj = new OleDbCommand(see,objConnection);rnobj.Parameters.Add(new OleDbParameter("@ceshu",OleDbType.Char,40));rnobj.Parameters["@ceshu"].Value=zceshu.Text;rnobj.Parameters.Add(new OleDbParameter("@bh1",OleDbType.Char,40));rnobj.Parameters["@bh1"].Value=bianhao.Text;rnobj.Connection.Open();rnobj.ExecuteNonQuery();rnobj.Connection.Close();rnrnrn运行时出错:rn至少一个参数没有被指定值。 rn说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该<em>错误</em>以及代码中导致<em>错误</em>的出处的详细信息。 rn异常详细信息: System.Data.OleDb.OleDbException: 至少一个参数没有被指定值rn源<em>错误</em>: rn行 66: */rn行 67: obj.Connection.Open();rn行 68: obj.ExecuteNonQuery();rn行 69: obj.Connection.Close();rn行 70: rnrn恳求各位数据库操作高手帮我解决一下这个问题。rn这个问题捆饶我一天了。。。。。。。。。
提示java.lang.StringIndexOutOfBoundsException
[code=Java]rnimport <em>java</em>.util.*;rnimport <em>java</em>.io.*;rnpublic class Telephone_number rn public static void main(<em>String</em>[] args) throws IOExceptionrn rn <em>String</em> line;rn Scanner infile=new Scanner(new File("phones.txt"));rn while(infile.hasNextLine())rn rn line=infile.nextLine();rn if(testnumber(line))rn transfer(line);rn rn rn rn public static void transfer(<em>String</em> line) throws IOExceptionrn rn <em>String</em>[] word="ABC","DEF","GHI","JKL","MNO","PRS","TUV","WXY";rn <em>String</em>[] temp=new <em>String</em>[word.length];rn <em>String</em> word_test="";rn for(int count=0;count=2 && (int)letter<10)rn word_test= word[(int)letter-2];rn temp[count]=word_test;rn rn inLine(temp);rn rn public static boolean testnumber(<em>String</em> line)rn rn for(int count=0;count
Error #: 2301 : internal compiler error: java.lang.StringIndexOutOfBoundsException: String index out of range: 26454
这是什么原因呢,在线等待。rn我用的是jb+jboss3.2+tomcat4.1.24rn
问题:类型转换 string,int 数组
怎样将string转换成整型?怎样将string转换成数组类型?
超简单问题, string()
rn'1、下面这句是不是定义了一个string的数组?rn Dim ls() As <em>String</em>rn’这句没有<em>错误</em>rn ls = CType(share.Item("IPAddress"), <em>String</em>())rn’奇怪的是这句能执行,然后报错:未将对象引用设置到对象的实例。 rnMsgBox(ls.Length)rnrn其实说白一点,我现在好象不太会用这种数组,msdn中我没找到string()的相关资料,哪儿有个说明呢?谢谢!
关于JSP中的request.getparameter(String: )String的提问
rn ddrnrnrn rn rn rn 请选择你要查询借阅图书信息的方式rn rn rn 图书名称rn 出版社rn 借书人rn rn rn rn rn rn rn rn rn rn rn rn rnrn为什么每次都是空的取不是select中的值rn
高手关注-------------------急急急!
以前装的是2000专业版(声卡可用),最近装的是2000 Server 家庭版rn,可发现我的声卡驱动老是装不上(声卡不是集成的),这是系统与硬件冲突造成的吗?rn用Winamp播放时弹出信息:rnrnrn提示就是说声卡没有或驱动没有正确安装rnrn<em>错误</em>代码2:rnwindows<em>错误</em>提示信息:rnrn使用的标识号已经超出了本系统的识别范围。rnrn
题,超简单,急急急!!!
#$url='http://www.spconsulter.com/easeway/gotit.asp';rn$url='http://202.105.113.152:2222/gotit.asp';rn$url='http://61.143.210.43:9090/gotit.asp';rn#$url='http://90bf.com/2.pl';rnrn请帮我解决一下上面四条语句,越详细越好,谢谢啦,我一点不懂Perl的,请不要笑话啦
(EoC)John.Wiley.and.Sons.Broadband.Powerline.Communications.Network.Design下载
Access networks implement the inter-connection of the customers/subscribers to wide-area communication networks. They allow a large number of subscribers to use various telecommunications services. However, the costs of realization, installation, and maintenance of access networks are very high, ver 相关下载链接:[url=//download.csdn.net/download/csdnrobert/2187558?utm_source=bbsseo]//download.csdn.net/download/csdnrobert/2187558?utm_source=bbsseo[/url]
Pop Up View in iphone development下载
This project has you a basic implementation of how to generate a flip-styled pop up view in the iphone. The view is a modal-styled based view. This means that when the pop up view is visible, you can not edit the background action under this pop up view. Only after you pressing the cross button can 相关下载链接:[url=//download.csdn.net/download/XJTLUSocPan/3477772?utm_source=bbsseo]//download.csdn.net/download/XJTLUSocPan/3477772?utm_source=bbsseo[/url]
TS PS ES 码流发送工具下载
专门用来把打包成IP的数据发送到服务器上,这样有利于数据的分析和转换。 相关下载链接:[url=//download.csdn.net/download/baidu_27263725/9196917?utm_source=bbsseo]//download.csdn.net/download/baidu_27263725/9196917?utm_source=bbsseo[/url]
相关热词 c# 线程结束时执行 c# kb mb 图片 c# 替换第几位字符 c#项目决定成败 c# 与matlab c# xml缩进 c#传感器基础 c#操作wps c# md5使用方法 c# 引用父窗口的组件
我们是很有底线的