求解 [问题点数:20分]

Bbs1
本版专家分:0
结帖率 0%
求解~求解~求解~求解~求解~求解~求解
问题是这样rnrn我设置Session过期时间是30分钟 过期后进入登陆页面rnrn当我执行了一个GV删除操作rnrn删除完毕后 session就过期了rnrn再点击进入其他需要验证session的页面就需要重新登陆了rnrn也就操作了1分钟时间 session怎么会过期呢?
解析xml的问题---- 求解求解求解求解求解求解求解求解求解求解求解求解求解求解求解求解
我用java调用servlet,程序如下rn[code=Java]rnURL url = new URL(s);rnrn HttpURLConnection con = (HttpURLConnection) url.openConnection();rn con.setRequestMethod("POST");rn con.setRequestProperty("Proxy-Connection", "Keep-Alive");rn con.setRequestProperty("Content-Type", "application/xml");rn con.setDoOutput(true);rn con.setDoInput(true);rn[/code]rn用con.getInputStream();可以把取过来的值读出来,结果如下格式rn[code=XML]rn rn rn rn rn 0.0 rn 0.0 rn rn rn 0.0 rn 0.0 rn rn rnrn[/code]rnrn我最后要取出这个结果的item里面的值。我就要把con.getInputStream();读出来转成xml对象在读取。怎么做
项目后台报这样的错-----求解指点--求解--求解--求解--求解--求解--求解--求解--求解--求解--
2015-9-22 9:19:17 org.apache.catalina.core.StandardWrapperValve invokern严重: Servlet.service() for servlet action threw exceptionrncom.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'segmentinf0_.flight_no' in 'field list'rn 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 com.mysql.jdbc.Util.handleNewInstance(Util.java:389)rn at com.mysql.jdbc.Util.getInstance(Util.java:372)rn at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:980)rn at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3835)rn at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3771)rn at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2435)rn at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2582)rn at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2535)rn at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1911)rn at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:2034)rn at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeQuery(NewProxyPreparedStatement.java:76)rn at org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:208)rn at org.hibernate.loader.Loader.getResultSet(Loader.java:1812)rn at org.hibernate.loader.Loader.doQuery(Loader.java:697)rn at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:259)rn at org.hibernate.loader.Loader.loadCollection(Loader.java:2019)rn at org.hibernate.loader.collection.CollectionLoader.initialize(CollectionLoader.java:59)rn at org.hibernate.persister.collection.AbstractCollectionPersister.initialize(AbstractCollectionPersister.java:587)rn at org.hibernate.event.def.DefaultInitializeCollectionEventListener.onInitializeCollection(DefaultInitializeCollectionEventListener.java:83)rn at org.hibernate.impl.SessionImpl.initializeCollection(SessionImpl.java:1744)rn at org.hibernate.collection.AbstractPersistentCollection.initialize(AbstractPersistentCollection.java:366)rn at org.hibernate.collection.AbstractPersistentCollection.read(AbstractPersistentCollection.java:108)rn at org.hibernate.collection.AbstractPersistentCollection.readSize(AbstractPersistentCollection.java:131)rn at org.hibernate.collection.PersistentSet.size(PersistentSet.java:162)rn at com.pojos.QNEOrder.object2json(QNEOrder.java:2135)rn at com.actions.QNE_OrderAction.getOrderByJSON(QNE_OrderAction.java:5162)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:270)rn at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:187)rn at org.springframework.web.struts.DelegatingActionProxy.execute(DelegatingActionProxy.java:113)rn at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)rn at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)rn at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)rn at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)rn at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)rn at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at com.sxy.file.JudgeSessionFilter.doFilter(JudgeSessionFilter.java:45)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at com.system.PurviewFilter.doFilter(PurviewFilter.java:142)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)rn at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)rn at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)rn at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)rn at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)rn at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)rn at java.lang.Thread.run(Thread.java:662)[img=https://forum.csdn.net/PointForum/ui/scripts/csdn/Plugin/003/monkey/11.gif][/img]
求解 求解 求解
Does this code compile? rn 1. class SubEx extends Exception rn 2.rn 3. class Parent rn 4. void foo(int i) throws SubEx rn 5. if (i > 20)rn 6. throw new Exception();rn 7. rn 8. rn 9.rn10. class Kid extends Parent rn11. void foo(int i) throws Exception //errorrn12. if (i < 20)rn13. throw new SubEx();rn14. rn15. rnrn为什么错,请讲讲
求解。。。求解。。。求解
selectrnisnull(sum(case when cAlarmtype='火警' then 1 else 0 end),0) as F1,rnisnull(sum(case when cAlarmtype='故障' then 1 else 0 end),0) as F2,rnisnull(sum(case when cAlarmtype='管理信息' then 1 else 0 end),0) as F3rnfrom tabrn有需求,当 F1和F2、F3同时等于0的时候就查不出这条数据。rn当然我知道这写法不对,但就这意思:where (F1 !=0 AND F2 !=0 AND F3 !=0)rn求大神解答,因为我用了分页的存储过程,能在where 里面做判断么?
启动项目报这样的错,--求解--求解--求解--求解--求解--求解--求解--求解--
2015-9-19 17:18:58 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 'dataLimitDao' defined in file [E:\tomcat6036\webapps\sxyerp\WEB-INF\classes\financeBean.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in file [E:\tomcat6036\webapps\sxyerp\WEB-INF\classes\applicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.DuplicateMappingException: Duplicate collection role mapping com.pojos.QNEOrder.passengersrn at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)rn at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1308)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1067)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:511)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:450)rn at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:290)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)rn at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:287)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:189)rn at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:562)rn at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:871)rn at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:423)rn at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:272)rn at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:196)rn at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)rn at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4206)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4705)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1079)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1002)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:506)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)rn at org.apache.catalina.core.StandardService.start(StandardService.java:525)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:595)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)rnCaused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in file [E:\tomcat6036\webapps\sxyerp\WEB-INF\classes\applicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.DuplicateMappingException: Duplicate collection role mapping com.pojos.QNEOrder.passengersrn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1403)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:513)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:450)rn at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:290)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)rn at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:287)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:189)rn at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)rn ... 39 morernCaused by: org.hibernate.DuplicateMappingException: Duplicate collection role mapping com.pojos.QNEOrder.passengersrn at org.hibernate.cfg.Mappings.addCollection(Mappings.java:147)rn at org.hibernate.cfg.HbmBinder.createClassProperties(HbmBinder.java:2085)rn at org.hibernate.cfg.HbmBinder.createClassProperties(HbmBinder.java:2060)rn at org.hibernate.cfg.HbmBinder.bindRootPersistentClassCommonValues(HbmBinder.java:381)rn at org.hibernate.cfg.HbmBinder.bindRootClass(HbmBinder.java:295)rn at org.hibernate.cfg.HbmBinder.bindRoot(HbmBinder.java:166)rn at org.hibernate.cfg.Configuration.add(Configuration.java:716)rn at org.hibernate.cfg.Configuration.addInputStream(Configuration.java:551)rn at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:677)rn at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:211)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1460)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1400)rn ... 46 morern2015-9-19 17:18:58 org.apache.catalina.core.StandardContext listenerStartrn严重: Exception sending context initialized event to listener instance of class com.sxy.tasks.TimerManagerrnorg.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataLimitDao' defined in file [E:\tomcat6036\webapps\sxyerp\WEB-INF\classes\financeBean.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in file [E:\tomcat6036\webapps\sxyerp\WEB-INF\classes\applicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.DuplicateMappingException: Duplicate collection role mapping com.pojos.QNEOrder.passengersrn at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)rn at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1308)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1067)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:511)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:450)rn at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:290)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)rn at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:287)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:189)rn at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:562)rn at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:871)rn at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:423)rn at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:272)rn at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:196)rn rn rnrnrnrn
求解求解!!
使用windows搜索工具在磁盘中查找文件时,在给出的被查找文件史允许含有通配符“*”和“?”(其中“*”表示该位置上有0个或多个任意字符,“?”表示该位置上有0个或1个字符),以达到搜索多个文件的目的。搜索的过程就是在已存在的若干文件名中查找出与所给的含有通配符“*”和“?”被查找文件名匹配的所有文件名(设文件名存储在某文本文件中,每行一个文件)。rn rnrn
求解 求解。。。
发现WIN7真麻烦,早知道就不换XP了rnrn最近装了WIN7之后,装了SQLServer之后,也装了VS2008 这都不是问题rnrn在新建了一个ASP.NET之后,在ASPX里面用了一个SqlDataSource,然后配置数据源,然后新建连接,然后就是填服务器名了,大神们都懂的。rnrn服务器名 无论写 . 还是 我计算机名 都不行。rnrn关于服务里面TCP/IP 和其他服务我都开了 很是奇怪、rnrn<em>求解</em>
求解求解
[img=https://img-bbs.csdn.net/upload/201401/03/1388718927_311182.png][/img]rnrnrn这种多个列表的箭头怎么实现呢,选中cell的时候跟着移动,。。 cell.selectedBackgroundView 好像不行,是在didSelectRowAtIndexPath写嘛?新手求助, 可以详细点哦,rnrnrn- (UITableViewCell *)multiTablesView:(MultiTablesView *)multiTablesView level:(NSInteger)level cellForRowAtIndexPath:(NSIndexPath *)indexPath; //level为UITableView层次rnrn- (void)multiTablesView:(MultiTablesView *)multiTablesView level:(NSInteger)level didSelectRowAtIndexPath:(NSIndexPath *)indexPath;
菜鸟问题~~~~~~~~~~~~~~~~~~求解 求解 求解
小弟想实现一个功能就是:rnrn去指定的目录寻找一个txt文件(这个txt文件每天定时有人给我传),但是时间不确定,我得到文件后对他进行处理,但是由于时间不确定,所以有时在文件还没来的时候,windows的定时作业就启动了处理程序,所以请问各位大侠有没有什么方法能使我修改处理程序,让它隔一段时间就去监测是否存在文件,然后再调用。。rn谢谢了
迷宫求解迷宫求解迷宫求解迷宫求解迷宫求解迷宫求解迷宫求解
迷宫<em>求解</em>迷宫<em>求解</em>迷宫<em>求解</em>迷宫<em>求解</em>迷宫<em>求解</em>迷宫<em>求解</em>迷宫<em>求解</em>迷宫<em>求解</em>迷宫<em>求解</em>迷宫<em>求解</em>迷宫<em>求解</em>迷宫<em>求解</em>迷宫<em>求解</em>迷宫<em>求解</em>迷宫<em>求解</em>迷宫<em>求解</em>迷宫<em>求解</em>迷宫<em>求解</em>迷宫<em>求解</em>迷宫<em>求解</em>迷宫<em>求解</em>迷宫<em>求解</em>迷宫<em>求解</em>迷宫<em>求解</em>迷宫<em>求解</em>迷宫<em>求解</em>迷宫<em>求解</em>迷宫<em>求解</em>迷宫<em>求解</em>迷宫<em>求解</em>迷宫<em>求解</em>迷宫<em>求解</em>迷宫<em>求解</em>迷宫<em>求解</em>迷宫<em>求解</em>迷宫<em>求解</em>迷宫<em>求解</em>迷宫<em>求解</em>迷宫<em>求解</em>迷宫<em>求解</em>迷宫<em>求解</em>迷宫<em>求解</em>迷宫<em>求解</em>迷宫<em>求解</em>迷宫<em>求解</em>迷宫<em>求解</em>迷宫<em>求解</em>迷宫<em>求解</em>迷宫<em>求解</em>迷宫<em>求解</em>迷宫<em>求解</em>迷宫<em>求解</em>迷宫<em>求解</em>迷宫<em>求解</em>
求解
-
求解
关于安卓 通过 USB 连接电钢琴,USB+midi文件! 有的留言哦
求解~
个人现在弄了C#不到1年。。很多东西不是很明白。。rn比如说全局变量和局部变量效率方面有多少差异。。一个全局=几个局部rn还有一些类似的问题。。rn想问下各位大大。。我想知道这些东西该学学什么。。看看什么书
求解!!!!】
有一table:rnrnfname idsrnaa 1,12,23,25,2,41,42rnbb 2,32,12rncc 32,1rnrnids字段的值是由几个id组成,且用逗号分开rn请问如何筛选出当 ids 含有 2 的行呀??rnrn
求解!!!!
void printStars(int a)rnwhile(a>0)rnprintf("*");rnprintStars(a-1);rnrnrnrnrnrn如何改变while,就是这个地方用别的代替,不用任何形式的循环rn而是通过查看其参数。如果参数值为非正数,就直接返回。
求解!!!!!!
#includernusing namespace std;rnrnclass Pointrnrnpublic:rn Point()rn rn X=Y=0;rn cout<<>number;rn ArrayOfPoints points(number);//这句什么意思rn points.Element(0).Move(5,10);rn points.Element(1).Move(15,20);rnrn
求解~~
win7系统下,,,新建用户后,在新建的用户上运行软件或者进行其他操作,会对主用户产生影响么?
求解...
看书没看明白C#中属性和索引这俩块(基本上什么都没看明白),<em>求解</em>...
求解!!!!!!!!
众高手,请问LINUX支持微星845E MAX 的软声卡吗????
求解?
Set SaveFile=Server.CreateObject("MSXML2.DomDocument")rnSaveFile.loadXML ""rnSaveFile.documentElement.SetAttribute "xmlns:dt","urn:schemas-microsoft-com:datatypes"rnSet Node=SaveFile.createElement("File")rnNode.dataType="bin.base64"rnNode.dataTypedValue="二进制数据"rn....rn运行出现错误rnrn"错误类型:msxml3.dll (0x80004005)"rn
求解!
int InitQueue(LinkQueue *Q)rnrnQ->front=(LinkQueueNode*)malloc(sizeof(LinkQueueNode));rnif(Q->front!=NULL)rnrn Q->rear=Q->front;rn Q->front->next=NULL;rn return(True);rnrnelsern return(False);rnrnrn这段代码的含义是不是创建一个结点,如果创建成功了,头指针和尾指针都指向这个结点?
求解??
小弟的SQL不是很通。遇到下面的问题只能用游标,求各位高手在不用游标的情况解决以下的问题。谢谢rn表Arn货号------类别-------上级类别--------销售额rn001-------A-----------空------------1000rn001-------A1-----------A------------700rn001-------A2-----------A------------300rn002-------B-----------空------------3100rn002-------B2-----------B------------500rn002-------B1-----------B------------100rnrnrn得到的结果应该是rn001----A-----空------2000rn001----A1----A------------700rn001----A2----A------------300rn002----B---- 空------------3700rn002----B2----B------------500rn002----B1----B------------100rnrnrnrn求最简单的方法
求解
直接计算出signed char的最大值最小值:rnprintf("Signed char min = %d\n",-(char)((unsigned char)~0 >> 1));rn<em>求解</em>释:为什么要先转换成unsigned char 类型??
求解!!!
一个1G多的SQL语句怎么用命令行执行
求解。。
以下是功能需求。rn求答案,或给出提示也行,谢谢了!rn我的QQ84116551rnrnrnrn信息采集获取测试rn注意:如果其中有不明白的地方,找相关同志沟通。rn1、 程序中涉及到的数据库用access2003 ;rn2、 涉及到的非系统自动生成的代码全部加备注;rn3、 程序小托盘放入右下角任务栏;rn4、 获取附录中:“新浪博客排行榜”各分类排行榜中的数据:博客名称、文章标题、文章访问次数、文章点击量、日期、时间、评论次数rn5、 每间隔【自定义时间】(5)分钟,获取一次,评论在10以下的自动提醒,提醒的内容包括采集的博客名称、文章标题、文章访问次数、文章点击量、日期、时间、评论次数和网址;rn6、 每间隔【自定义时间】(30)分钟,获取一次,文章访问次数在10000以上同时评论在100以上的的自动提醒,提醒的内容包括采集的博客名称、文章标题、文章访问次数、文章点击量、日期、时间、评论次数和网址。rn7、 程序代码不限,程序设计期间考虑多线程和程序运行的高效性。rn rn附录:rn世博:http://blog.sina.com.cn/lm/hotrank/45.html rn房价:http://blog.sina.com.cn/lm/hotrank/39.html rn娱乐:http://blog.sina.com.cn/lm/114/105/day.html rn文化:http://blog.sina.com.cn/lm/114/102/day.html rn体育:http://blog.sina.com.cn/lm/114/104/day.html rn情感:http://blog.sina.com.cn/lm/114/149/day.html rnIT: http://blog.sina.com.cn/lm/114/113/day.html rn财经:http://blog.sina.com.cn/lm/114/153/day.html rn股票:http://blog.sina.com.cn/lm/114/111/day.html rn校园:http://blog.sina.com.cn/lm/114/152/day.html rn教育:http://blog.sina.com.cn/lm/114/122/day.html rn时尚:http://blog.sina.com.cn/lm/114/134/day.html rn汽车:http://blog.sina.com.cn/lm/114/130/day.html rn房产:http://blog.sina.com.cn/lm/114/129/day.html rn军事:http://blog.sina.com.cn/lm/114/116/day.html rn休闲:http://blog.sina.com.cn/lm/114/145/day.html rn美食:http://blog.sina.com.cn/lm/114/108/day.html rn旅游:http://blog.sina.com.cn/lm/114/127/day.html rn家居:http://blog.sina.com.cn/lm/114/136/day.html rn育儿:http://blog.sina.com.cn/lm/114/125/day.html rn星座:http://blog.sina.com.cn/lm/114/131/day.html rn健康:http://blog.sina.com.cn/lm/114/141/day.html rn游戏:http://blog.sina.com.cn/lm/114/118/day.html rn杂谈:http://blog.sina.com.cn/lm/114/117/day.html
求解
为什么用循环语句从数据库里循环输出数据,如果数据库里相应的字段没有付值就输出空白,但为什么对应的表格也没有输出。如图:[img=E:\1.png][/img],怎样才能把表格完整输出。求个位老师帮忙!
求解--------------------------
求指导rn版本---Java Plug-in 1.6.0_17rnrnfrom 13684 https://www2.XXXX.com/download/AAAA22.jar | rn> C:\Documents and Settings\fujino\Application rn> Data\Sun\Java\Deployment\cache\6.0\5\49ae6ac5-40521182-0.0.1.5-.idxrnrnException in thread "AWT-EventQueue-3" java.lang.NullPointerException at com.reuters.tct.ui.gridbase.GridBase.xpaint(Unknown Source)rn以上为日志内容,rn根据客户反映的现象为,上传CSV文件时,第二次执行就会出现失败.rn但是我本地客户端没有问题!----------<em>求解</em>!
求解,,,,,
解释段代码:rnstring8rn 0x15 size(1字节) size字节rnstring16rn 0x25 size(2字节) size字节rn@Overridernpublic void OnVisitString(String strValue) rnif(strValue.length() < (1 << 8))rndestBuf[nOffset++] = 0x15;rndestBuf[nOffset++] = (byte) strValue.length();rnelse if(strValue.length() < (1 << 16))rndestBuf[nOffset++] = 0x25;rnMsgCodec.WriteLEShort((short) strValue.length(), destBuf, nOffset);rnnOffset += Short.SIZE/Byte.SIZE;rnelse rndestBuf[nOffset++] = 0x35;rnMsgCodec.WriteLEInteger(strValue.length(), destBuf, nOffset);rnnOffset += Integer.SIZE/Byte.SIZE;rnrnnOffset += MsgCodec.UnicodeToUTF8(strValue, destBuf, nOffset);rn
求解!!!!!!!!!!!!!!
将点分格式的IP地址,如10.5.71.222.转换为32位的无符号整型数。rnrnrnc语言描述
求解!!!!!!!
[code=C/C++]#include rnusing namespace std;rnclass boolitrnrnpublic:rn void setword(char w) rn rn word=w; rn rn void print()rn rn cout<
求解!!!!!!!!!
我用了一个frameset,其中有2个页面加载时要同时查询数据库,就是2个方法,然后出现异常:rnrn已有打开的与此命令相关联的 DataReader,必须首先将它关闭rnrn我分别在2个方法加上断点调试,发现有时候交叉执行,有时候却是正常的一个方法执行完再执行另一个方法。rnrn怎么回事?
求解,,,
#includernmain()rnrnint x,y,i,j,k;rnint x1,y1;rnint a[2][2];rnrn for(i=0;i,a[x1][y1]);rnrn x=x1;y=y1;rnrnreturn 0;rnrn我不知道错在哪里可不可以帮我改一下啊???谢谢各位大神。。。
求解
准备工作:创建一个Computer类rnrn要求成员变量包括如下:rn(1)编号(即计算机的唯一标识)rn(2)CPU型号,rn(3)主板型号,rn(4)硬盘大小,rn(5)内存大小,rn(6)显卡型号,rn(7)价格,rnrn方法包括如下:rn(1)打印当前计算机的所有属性rn(2)为计算机添加CPU型号rn(3)为计算机添加主板型号rn(4)为计算机添加硬盘大小rn(5)为计算机添加内存大小rn(6)为计算机添加显卡型号rn(7)设置计算机价格rn(8)获取计算机价格rnrn题目:rn(1)要求使用ArrayList存储计算机对象,rn形如:ArrayList cList = new ArrayList();rnrn(2)为ArrayList对象(例如:上面的cList)添加3个元素。rnrn(3)模拟用户输入(Scanner对象)获取对应的Computer信息,并且输出具体的参数。rnrn(4)遍历输出ArrayList中的Computer,同时输出Computer的详细信息。rn
SuperSpeed.RamDisk.Plus.v11.5.390.Server.Incl.Patch.and.Keymaker-ZWT下载
SuperSpeed.RamDisk.Plus.v11.5.390.Server.Incl.Patch.and.Keymaker-ZWT 如题 相关下载链接:[url=//download.csdn.net/download/wxl19831117/3248737?utm_source=bbsseo]//download.csdn.net/download/wxl19831117/3248737?utm_source=bbsseo[/url]
Linux下Apache,MySQL,PHP安装与配置下载
Linux下Apache,MySQL,PHP安装与配置 相关下载链接:[url=//download.csdn.net/download/a249448857/3284033?utm_source=bbsseo]//download.csdn.net/download/a249448857/3284033?utm_source=bbsseo[/url]
2011Esri中国用户大会-企业级空间数据库管理策略下载
2011Esri中国用户大会-企业级空间数据库管理策略 相关下载链接:[url=//download.csdn.net/download/linghe301/3673179?utm_source=bbsseo]//download.csdn.net/download/linghe301/3673179?utm_source=bbsseo[/url]
相关热词 c# 线程顺序 c#昨天当前时间 c# 多进程 锁 c#mysql图片存取 c# ocx 委托事件 c# 读取类的属性和值 c# out 使用限制 c#获取url的id c#怎么进行分页查询 c# update 集合
我们是很有底线的