91超碰碰碰碰久久久久久综合_超碰av人澡人澡人澡人澡人掠_国产黄大片在线观看画质优化_txt小说免费全本

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

求救!!!!!!jsp執行錯誤;(轉)

發布時間:2020-08-07 15:45:20 來源:ITPUB博客 閱讀:183 作者:BSDLite 欄目:編程語言
求救!!!!!!jsp執行錯誤;(轉)[@more@]我tomcat運行正常;http://localhost:8080/訪問正常;
安裝了mysql,運行也正常;只是不清楚tomcat和mysql之間還需要做什么嗎?
另外我修改了server.xml文件,增加了Context參數
我在/usr/local/tomcat/webapps新建了目錄games,在目錄下存放了我的JSP文件;在運行welcome.jsp時提示錯誤:

HTTP Status 500 -

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

org.apache.jasper.JasperException: File "/tags/struts-bean" not found
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:375)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

root cause

org.apache.jasper.JasperException: File "/tags/struts-bean" not found
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:50)
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:114)
org.apache.jasper.compiler.TagLibraryInfoImpl.(TagLibraryInfoImpl.java:159)
org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:423)
org.apache.jasper.compiler.Parser.parseDirective(Parser.java:492)
org.apache.jasper.compiler.Parser.parseElements(Parser.java:1552)
org.apache.jasper.compiler.Parser.parse(Parser.java:126)
org.apache.jasper.compiler.ParserController.doParse(ParserController.java:211)
org.apache.jasper.compiler.ParserController.parse(ParserController.java:100)
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:155)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:295)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:276)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:264)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:563)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:303)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

note The full stack trace of the root cause is available in the Apache Tomcat/5.5.17 logs.
Apache Tomcat/5.5.17

以上錯誤是什么原因導致的呢?請各位大蝦幫忙看看;謝謝!!!!

以下是我的web.xml文件:



"-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">



Games
Welcome to Games

30




action
org.apache.struts.action.ActionServlet


config
/WEB-INF/struts-config.xml



config/member
/WEB-INF/config/member/struts-config.xml


config/admin
/WEB-INF/config/admin/struts-config.xml


debug
2


detail
2

2



dbInit
sys.struts_db.DBInitServlet

driverClass
com.mysql.jdbc.Driver


jdbcURL
jdbc:mysql://wdb:3306/games?useUnicode=true&characterEncoding=UTF-8


minCount
1


maxCount
10000

1

user
games


password
games




Set Character Encoding
sys.function.SetCharacterEncodingFilter

encoding
UTF-8





leagueChange
sys.leagueSelservlet


Set Character Encoding
/*





action
*.do



leagueChange
/do/*




index.html
index.jsp


404
/index.jsp


500
/index.jsp

-->




/tags/struts-bean
/WEB-INF/struts-bean.tld


/tags/struts-html
/WEB-INF/struts-html.tld


/tags/struts-logic
/WEB-INF/struts-logic.tld


/tags/struts-nested
/WEB-INF/struts-nested.tld




/tags/app
/WEB-INF/app.tld




以下是server.xml:








name="simpleValue"
type="java.lang.Integer"
value="30"/>
auth="Container"
description="User database that can be updated and saved"
name="UserDatabase"
type="org.apache.catalina.UserDatabase"
pathname="conf/tomcat-users.xml"
factory="org.apache.catalina.users.MemoryUserDatabaseFactory"/>

name="Catalina">
port="8080"
redirectPort="8443"
minSpareThreads="25"
connectionTimeout="20000"
maxThreads="150"
maxSpareThreads="75">

port="8009"
redirectPort="8443"
protocol="AJP/1.3">

defaultHost="localhost"
name="Catalina">

appBase="webapps"
name="localhost">





向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

镇平县| 高青县| 江孜县| 大同县| 长兴县| 呼和浩特市| 卓尼县| 祁阳县| 赞皇县| 行唐县| 广安市| 湛江市| 瑞金市| 乌鲁木齐市| 荆州市| 瓦房店市| 交口县| 廉江市| 重庆市| 杭州市| 西平县| 白河县| 佳木斯市| 盐源县| 陕西省| 绵竹市| 德江县| 全州县| 咸宁市| 二连浩特市| 阳山县| 驻马店市| 宁武县| 芦山县| 巨野县| 铜鼓县| 天镇县| 自治县| 益阳市| 措美县| 灵石县|