Topic: Invalid standard action 错误

  Print this page

1.Invalid standard action 错误 Copy to clipboard
Posted by: jayjyy
Posted on: 2006-04-13 23:47

exception

org.apache.jasper.JasperException: /BBS/register_confirm.jsp(45,7) Invalid standard action  org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:39)
  org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:409)
  org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:90)
  org.apache.jasper.compiler.Parser.parseStandardAction(Parser.java:1249)
  org.apache.jasper.compiler.Parser.parseElements(Parser.java:1559)
  org.apache.jasper.compiler.Parser.parse(Parser.java:126)
  org.apache.jasper.compiler.ParserController.doParse(ParserController.java:220)
  org.apache.jasper.compiler.ParserController.parse(ParserController.java:101)
  org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:203)
  org.apache.jasper.compiler.Compiler.compile(Compiler.java:470)
  org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
  org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
  org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
  org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
  org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
  org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
  javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

我的部分代码如下:[color=red]请大家帮忙看看[/color]。
<%@ page language="java" import="java.sql.*"%>
<jsp:useBean id="RegisterBean" scope="page" class="mydb.mydb"/>
<%
String name1=request.getParameter("user_id");
byte[] tmp=name1.getBytes(ISO8859_1);
name1=new String(tmp);
String password=request.getParameter("password");
byte[] tmp=password.getBytes(ISO8859_1);
password=new String(tmp);
String e_mail=request.getParameter("e_mail");
byte[] tmp=e_mail.getBytes(ISO8859_1);
e_email=new String(tmp);
String www=request.getParameter("www");
byte[] tmp=www.getBytes(ISO8859_1);
www=new String(tmp);

String sql="select*from user where name'"=+name1+"'";
ResultSet rs=RegisterBean.executeQuery(sql);
if(rs.next()){
    rs.close();
    session.putValue("register_message","名字已经重复!");
%>
    <jsp:forword page="register.jsp"/>
<% }
else{
  rs.close();
  }%>


   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923