当前位置: 代码迷 >> 2308的解决方案
 
  • 菜鸟的小疑点,小弟我用BEAN写了一个操作类,为什么有异常呢,望指点

    初学者的小问题,我用BEAN写了一个操作类,为什么有错误呢,,,望指点Operate类packageorg.wdj.bean;importjava.sql.Connection;importjava.sql.ResultSet;importjava.sql.Statement;importjavax.naming.InitialContext;importjavax.sql.DataSource;...

    15
    热度
  • jsp分页有关问题.

    jsp分页问题...继此帖..http://community.csdn.net/Expert/topic/5386/5386463.xml?temp=.4907495我把其中的Stringsql="SELECT*FROMbookinfoorderbyDATETDESC";改成:Stringsql="SELECT*FROMbookinfoorderbyDATETDES...

    28
    热度
  • 急>tomcat解决思路

    急……->tomcat在请求:http://127.0.0.1:8080/webapp/user.jsp页面时提示以下错误messagedescriptionTheserverencounteredaninternalerror()thatpreventeditfromfulfillingthisrequest.exceptionorg.apache.jasper.JasperExcepti...

    90
    热度
  • tomcat的unable to compile class for jsp的有关问题,简单的页面能编译,连接数据库的就不能了

    tomcat的unabletocompileclassforjsp的问题,简单的页面能编译,连接数据库的就不能了。我输出简单的jsp页面能编译出来,如:<%Strings="HELLOWORLD";%><%=s%>可是以下代码就不行了(连接Oracle数据库的操作)!<%@pagelanguage="java"import=&q...

    91
    热度
  • 查询数据出错,请高手帮忙!解决方法

    查询数据出错,请高手帮忙!问题:<%//数据库已经连接上Stringcheck=request.getParameter("check");sql="select*fromstudentswhereSnumber='"+check+"';rs=smt.executeQuery(sql);while(rs.next()){%><td...

    128
    热度
  • java.io.UTFDataFormatException:   Invalid   byte   1  

    在线请大家帮个忙,谢谢了!HTTPStatus500---------------------------------------------typeExceptionreportmessagedescriptionTheserverencounteredaninternalerror()thatpreventeditfromfulfillingthisrequest.exceptionorg.a...

    379
    热度
  • javaBean练习,该怎么解决

    javaBean练习<%@pagecontentType="text/html;charset=GB2312"%><%@includefile="common.jsp"%><%@pageimport="java.io.*"%><%@pageimport="java.util.*"...

    80
    热度
  • 帮忙看下这是什么东东,多谢

    帮忙看下这是什么错误,谢谢org.apache.jasper.JasperException:UnabletocompileclassforJSPAnerroroccurredatline:15inthejspfile:/huang/graph.jspGeneratedservleterror:/usr/local/tomcat/work/Catalina/localhost/_/org/apac...

    53
    热度
  • 为什么加了sql包还会出现PrepareStatement不能用,该如何解决

    为什么加了sql包还会出现PrepareStatement不能用我用JSP连接oracle,在开头导入了java.sql.*,但是还是用不了PrepareStatement,错误信息如下:org.apache.jasper.JasperException:UnabletocompileclassforJSP:Anerroroccurredatline:17inthejspfile:/WEB-INF...

    12
    热度
  • eclipes里找不到javabean为什么解决方法

    eclipes里找不到javabean为什么我用的是lomboz,javabean的java文件放在j2src里了,而且已经把javabean的class文件自动生成放到web-inf/classes里了但运行jsp时显示这样的错误:org.apache.jasper.JasperException:UnabletocompileclassforJSPAnerroroccurredatline:2...

    36
    热度
  • 哪位高手来帮帮菜鸟

    谁来帮帮初学者ECLIPSE3.2TOMCAT5.0TOMCAT插件:com.sysdeo.eclipse.tomcat_3.1.0.beta调试错误:typeExceptionreportmessagedescriptionTheserverencounteredaninternalerror()thatpreventeditfromfulfillingthisrequest.exception...

    32
    热度
  • 异常:The method getParemeter(String) is undefined for the type HttpServletRequest

    错误:ThemethodgetParemeter(String)isundefinedforthetypeHttpServletRequest(1)功能:采用JSP+Servlet实现网络磁盘(2)Servlet、JSP调用关系:DiskServlet.java显示跟磁盘目录DirServlet.java显示该目录下得文件以及文件夹ReadServlet.java读取文件中的内容create.js...

    1282
    热度
  • ant.jar在tomcat中的异常

    ant.jar在tomcat中的错误HTTPStatus500---------------------------------------------typeExceptionreportmessagedescriptionTheserverencounteredaninternalerror()thatpreventeditfromfulfillingthisrequest.exception...

    515
    热度
  • jsp 无法找到自定义软件包,该如何解决

    jsp无法找到自定义软件包rg.apache.jasper.JasperException:UnabletocompileclassforJSPGeneratedservleterror:E:\Tomcat5.0\work\Catalina\localhost\WEb\org\apache\jsp\ErrorTest\WebRoot\index_jsp.java:7:软件包Mty不存在import...

    134
    热度
  • 一个jsp页面连接数据库有关问题

    一个jsp页面连接数据库问题小弟在写jsp连接数据库页面时,出现了一个很想不同的问题,我的jsp源代码如下:Connectionconn=null; Statementstmt=null; ResultSetrs=null; Stringuser="root"; Stringpassword="root"; Stringsql="sele...

    146
    热度
  • 我初学者程序员 出现500错误,求大神解决

    我菜鸟程序员出现500错误,求大神解决。我把自己tomcat的webapps里的项目拷贝到别电脑上不能显示出我要得东西,但是在我的电脑上就可以。在页面上显示的是一下错误信息:HTTPStatus500-typeExceptionreportmessagedescriptionTheserverencounteredaninternalerror()thatpreventeditfromfulfil...

    185
    热度
  • JSP不能一般編譯

    JSP不能正常編譯我的測試環境為tomcat6+jdk1.6我新建一個虛擬主機地址為http://abc.com:8088在主機中文件目錄結構為test.jspcommoncommon/testdir/test.jspWEB-INFWEB-INF\web.xmlWEB-INFO\classesWEB-INFO\classes\mypk\db\MsSQLClassMsSQLClass為我自定義的一個...

    278
    热度
  • "貌似sql语句有关问题"求助~

    "貌似sql语句问题"求助~急HTTPStatus500---------------------------------------------typeExceptionreportmessagedescriptionTheserverencounteredaninternalerror()thatpreventeditfromfulfillingthisrequest.ex...

    856
    热度
  • jsp连接数据库有关问题?

    jsp连接数据库问题????刚装好TOMCAT6.0连接MYSQL测试没问题,JDK6.0可把java.sql.删掉就才出现在连接就出现org.apache.jasper.JasperException:UnabletocompileclassforJSP:Anerroroccurredatline:33inthejspfile:/d.jspThetypeStatementisambiguous3...

    43
    热度
  • 往数据库插入记录的有关问题

    往数据库插入记录的问题代码我的代码<%Stringwuliao=request.getParameter("textfield"); Stringpinming=request.getParameter("textfield2"); Stringshulian=request.getParameter("textfield3"); ...

    1
    热度