标题:http status 500具体错误请教
取消只看楼主
windizual
Rank: 3Rank: 3
等 级:论坛游侠
威 望:4
帖 子:124
专家分:186
注 册:2009-7-1
结帖率:100%
 问题点数:0 回复次数:3 
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: /Test6.jsp(9,5) Invalid standard action
    org.apache.(DefaultErrorHandler.java:40)
    org.apache.(ErrorDispatcher.java:407)
    org.apache.(ErrorDispatcher.java:88)
    org.apache.(Parser.java:1172)
    org.apache.(Parser.java:1461)
    org.apache.(Parser.java:137)
    org.apache.(ParserController.java:255)
    org.apache.(ParserController.java:103)
    org.apache.(Compiler.java:170)
    org.apache.(Compiler.java:332)
    org.apache.(Compiler.java:312)
    org.apache.(Compiler.java:299)
    org.apache.jasper.(JspCompilationContext.java:586)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:717)


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

刚看了各位高手对http500的错误解释,但是根据意见修改后还是不对,所以把错误和代码写出来请各位指教
以下是源代码

<%@ page language="java" contentType="text/html; charset=gb2312"%>
<html>
<head>
<title>jsp动作</title>
</head>
<body>
 <jsp:useBean id = "jb" scope = "session" class = "JSP.Bean1"/>
属性sample的原有值
<jsp:getproperty property="jb" name="sample"/>
<jsp:setProperty property="jb" name="*"/>
<form method = "post">
输入新的值<input name = "sample"/>
<P></P>
<input type = "submit" name = "submit" value = "submit"/>
<input type = "reset" name = "reset" value = "reset"/>
属性当前值
<jsp:getProperty property="jb" name="sample"/>
</form>
</body>
</html>



package JSP;

public class Bean1 {
private String sample = "";
public String getSample(){
    return sample;
}
public void setSample(String newValue){
        sample = newValue;
}
}


搜索更多相关主题的帖子: status 
2009-10-26 23:34
windizual
Rank: 3Rank: 3
等 级:论坛游侠
威 望:4
帖 子:124
专家分:186
注 册:2009-7-1
得分:0 
额~~~~~~自己顶一下吧,
发现自己人品有问题,经常发帖没人帮忙

Java要学的东西好多~~~~~
2009-10-28 02:10
windizual
Rank: 3Rank: 3
等 级:论坛游侠
威 望:4
帖 子:124
专家分:186
注 册:2009-7-1
得分:0 
额~~~~~还没人理我,呼叫版主大人帮忙解决下啊~~~

Java要学的东西好多~~~~~
2009-10-29 00:26
windizual
Rank: 3Rank: 3
等 级:论坛游侠
威 望:4
帖 子:124
专家分:186
注 册:2009-7-1
得分:0 
~~~~~好了,自己呕血去,低级错误,属性名搞反了

Java要学的东西好多~~~~~
2009-10-30 20:18



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-290055-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.459665 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved