Java开发网 Java开发网
注册 | 登录 | 帮助 | 搜索 | 排行榜 | 发帖统计  

您没有登录

» Java开发网 » Servlet/JSP/JSF/JavaFX Script  

按打印兼容模式打印这个话题 打印话题    把这个话题寄给朋友 寄给朋友    该主题的所有更新都将Email到你的邮箱 订阅主题
reply to postflat modethreaded modego to previous topicgo to next topicgo to back
作者 Invalid standard action 错误
jayjyy





发贴: 11
于 2006-04-13 23:47 user profilesend a private message to userreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
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();
  }%>




从Coding Fan到真正的技术专家

话题树型展开
人气 标题 作者 字数 发贴时间
3063 Invalid standard action 错误 jayjyy 2275 2006-04-13 23:47

reply to postflat modethreaded modego to previous topicgo to next topicgo to back
  已读帖子
  新的帖子
  被删除的帖子
Jump to the top of page

   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