日期:2014-05-17  浏览次数:20712 次

小弟新手不才,求教一个错误

<%@ page language="java" import="java.util.*,Mod.*" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
........
<s:if test="#session.vip==null">
                     <form method="post" name="myform" action="Ref/reg.jsp?param=login" onsubmit="return sub()">
                        <table cellpadding="0" cellspacing="0" id="logintable">
                            <tr>
                                <td style="width:80px; text-align:center; height:30px">登陆账号:</td>
                                <td style="width:150px; text-align:left"><input type="text" name="login" class="input_form" /></td>
                            </tr>
                            <tr>
                                <td style="width:80px; text-align:center; height:30px">登陆账号:</td>
                                <td style="width:150px; text-align:left"><input type="text" name="pass" class="input_form" /></td>
                            </tr>
                            <tr>
                                <td style="text-align:center;" colspan="2">
                                    <input type="button" class="login_btm" value="免费注册" onclick="window.location.href='reg.jsp'" />
                                    <input type="submit" class="login_btm" value="立即登陆" />
                    &