免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12
最近访问板块 发新帖
楼主: zhangyinhz
打印 上一主题 下一主题

[WebLogic] 请教关于weblogic+struts的问题 [复制链接]

论坛徽章:
0
11 [报告]
发表于 2003-06-19 14:15 |只看该作者

请教关于weblogic+struts的问题

呵呵

可能得找找看
error log 了!!

论坛徽章:
0
12 [报告]
发表于 2003-06-19 14:48 |只看该作者

请教关于weblogic+struts的问题

嗬嗬,首先把 WEB-INF 里面的 以“_”开始的目录删除,都是临时目录。
如果用的是 struts1.02,把struts.jar 拷贝到 WEB-INF/lib下,把 struts*.tld拷贝到 WEB-INF 下,
如果用的是 struts1.1,恭喜你,要多拷贝一些文件了,毕竟是新的版本嘛。把下载的struts压缩包里面的 /lib目录下的所有 *.jar 都拷贝到 WEB-INF/lib,把 *.tld拷贝到 WEB-INF 下
估计你用的是struts1.1,因为struts1.1的struts.jar已经不带 commons*.jar里面的类了(apache为commons成立了一个新的项目组),而你缺的就是 commons*.jar里面的类。他们都放在struts1.1压缩目录的/lib下面。
重新启动weblogic

论坛徽章:
0
13 [报告]
发表于 2003-06-19 15:31 |只看该作者

请教关于weblogic+struts的问题

最新情况:我如果只把struts.jar拷贝到WEB-INF/lib,把*.tld拷贝到 WEB-INF 下 则出现第二次的错误提示;如果把下载的struts压缩包里面的 /lib目录下的所有 *.jar 都拷贝到 WEB-INF/lib里,则又会出现和什么都没有拷贝的时候一样的问题,即第一次出现的问题

论坛徽章:
0
14 [报告]
发表于 2003-06-19 15:46 |只看该作者

请教关于weblogic+struts的问题

把jsp文件贴出来,要完全的。还有actionform,action文件

论坛徽章:
0
15 [报告]
发表于 2003-06-19 15:54 |只看该作者

请教关于weblogic+struts的问题

login.jsp:
<%@ page contentType="text/html; charset=gb2312" %>;
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>;
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>;
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>;
<html:html locale="true">;
<head>;
<title>;用户登录</title>;
<meta http-equiv="Content-Type" content="text/html;">;
<link rel="stylesheet" href="../css/css.css" type="text/css">;
</head>;
<body bgcolor="#ffffff">;
<logic:notPresent name="org.apache.struts.action.MESSAGE" scope="application">;
  <font color="red">;
    ERROR:  Application resources not loaded -- check servlet container
    logs for error messages.
  </font>;
</logic:notPresent>;
<table>;
        <tr>;
                <td>;<jsp:include page="/family/loginbody.jsp" />;</td>;
        </tr>;
</table>;       
</body>;
</html:html>;


loginbody.jsp:

<%@ page contentType="text/html; charset=gb2312" %>;
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>;
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>;
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>;
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="9p" align="center">;
  <tr>;
    <td>;
                        <logic:equal parameter="loginerror" property ="loginerror" name="LoginForm"  value="true"  scope="request" >;
                        <font  color="#FF0000">;<bean:message key="login.loginerror"/>;</font>;
                        </logic:equal>;
                        <font  color="#FF0000">;<html:errors/>;</font>;
        </td>;
  </tr>;
  <tr>;
    <td>;<table width="531" height="284" border="0" cellpadding="0" cellspacing="0" background="../image/login/dengru.jpg">;
        <tr valign="top">;
          <td height="125" colspan="3">;<table width="531" border="0" cellspacing="0" cellpadding="0">;
              <tr>;
                <td colspan="4">;&amp;</td>;
              </tr>;
              <tr>;
                <td colspan="4">;&amp;</td>;
              </tr>;
              <tr>;
                <td width="292" height="21">;&amp;</td>;
                <td width="111">;<font color="#FF0000">;还不是会员?</font>;</td>;
                <td width="74">;<a style="cursor:pointer; cursor:hand" onclick='javascript:window.open("../family/agreement.jsp","我要注册","scrollbars=yes,height=550,width=518,left=200,top=20"'target="_blank">;<img src="../image/login/add.jpg" border="0">;</a>;</td>;
                <td width="54">;&amp;</td>;
              </tr>;
              <tr>;
                <td colspan="4">;&amp;</td>;
              </tr>;
            </table>;</td>;
        </tr>;
        <tr>;
          <td width="252" height="155">;&amp;</td>;
          <td width="248" valign="top">;<table width="100%" border="0" cellspacing="0" cellpadding="0" class="9p">;
              <tr>;
                <td>;
                                <html:form  method="post" action="/login.do" focus="username" name="LoginForm" type="com.sunhoo.fundsite.family.LoginForm" scope="request">;
                                                <html:hidden  property ="firstflg" value ="OK"/>;
                                                <html:hidden  property ="loginerror" value=""/>;
                                                <table width="100%" border="0" cellspacing="0" cellpadding="5" class="9p">;
                                                        <tr>;
                                                                <td width="42%" height="22"  align = right nowrap>;&amp;&amp;<font        color="336699">;用户名</font>;</td>;
                                                                <td>;
                                                                        <html:text property="username" style="border:        1        solid #000000;hight:2px" size="20" maxlength="20"/>;
                                                                </td>;
                                                        </tr>;
                                                        <tr>;
                                                                <td height="19" align = right  nowrap>;&amp;&amp;<font        color="336699">;密码</font>;</td>;
                                                                <td>;
                                                                        <html:password property="password"  style="border: 1 solid #000000;hight:2px" size="20"        maxlength="15"/>;
                                                                </td>;
                                                        </tr>;
                                                        <tr>;
                                                                <td width="42%" height="22"  align = right nowrap>;&amp;&amp;<font        color="336699">;登录类型</font>;</td>;
                                                                <td>;
                                                                        <html:select  property="logintype" style="hight:5px" >;
                                                                                <OPTION value="1" >;用户名</OPTION>;
                                                                                <OPTION value="2" >;客服号</OPTION>;
                                                                                <OPTION value="3" >;基金帐号</OPTION>;
                                                                        </html:select>;
                                                                </td>;
                                                        </tr>;
                                                        <tr>;
                                                                <td colspan="2">;<div align="center">;
                                                                        <html:submit property="login" style="border: 1        solid #000000;hight:2px" value="登 录"        />;
                                                                &amp;&amp;&amp;&amp;<a style="cursor:pointer; cursor:hand" onclick='javascript:window.open("/family/forpwd.jsp","忘记密码","scrollbars=yes,height=550,width=518,left=200,top=20"'target="_blank">;忘记密码</a>;</div>;</td>;
                                                        </tr>;
                                                </table>;
                                                </html:form>;
                                </td>;
              </tr>;
            </table>;</td>;
          <td width="31" valign="top">;&amp;</td>;
        </tr>;
      </table>;</td>;
  </tr>;
</table>;


login.form:

package com.sunhoo.fundsite.family;

import javax.servlet.http.*;
import org.apache.struts.action.*;
import com.sunhoo.esp.*;
import com.sunhoo.esp.utils.Logger;
import java.util.*;
import com.sunhoo.esp.user.*;
import com.sunhoo.fundsite.family.register.*;
import com.sunhoo.fundsite.family.common.*;

/**
* @author wujl
*
* <>;用户登录用 FORM CLASS</P>;
*/
public final class LoginForm extends ActionForm {
        /**
         * 登录用户类型
         */
        private String logintype = null;
       
        /**
         * 登录用户名
         */
        private String username = null;
       
        /**
         * 登录用户密码
         */
        private String password = null;
       
        /**
         * 登录成功标记
         */
        private String secussful = null;
       
        /**
         * 登录失败标记
         */
        private boolean loginerror = false;
       
        /**
         * 检查成功与否标记
         */
        private boolean checkflg = true;
       
        /**
         * SUBMIT提交标记
         */
        private String firstflg = null;

        /**
         * Returns the password.
         * @return String
         */
        public String getPassword() {
                return password;
        }

        /**
         * Returns the username.
         * @return String
         */
        public String getUsername() {
                return username;
        }

        /**
         * Sets the password.
         * @param password The password to set
         */
        public void setPassword(String password) {
                this.password = password;
        }

        /**
         * Sets the username.
         * @param username The username to set
         */
        public void setUsername(String username) {
                this.username = username;
        }

       

        /**
         * Returns the secussful.
         * @return String
         */
        public String getSecussful() {
                return secussful;
        }

       
        /**
         * Sets the secussful.
         * @param secussful The secussful to set
         */
        public void setSecussful(String secussful) {
                this.secussful = secussful;
        }

        /**
         * Returns the checkflg.
         * @return boolean
         */
        public boolean isCheckflg() {
                if (username == null
                        || ("".equals(username)
                        || password == null
                        || ("".equals(password)) {
                        return false;
                }
                return checkflg;
        }

        /**
         * Sets the checkflg.
         * @param checkflg The checkflg to set
         */
        public void setCheckflg(boolean checkflg) {
                this.checkflg = checkflg;
        }
       
        /**
         * 对页面提交的内容进行错误检查
         * @param mapping ActionMapping
         * @param request HttpServletRequest
         * @return ActionErrors 错误的ActionErrors对象
         */
        public ActionErrors validate(
                ActionMapping mapping,
                HttpServletRequest request) {
                //声明存放错误的ActionErrors对象
                ActionErrors errors = new ActionErrors();
                if (firstflg == null || ("".equals(firstflg)) {
                        setCheckflg(false);
                        return errors;
                }
                //用户名检查
                if (username == null || ("".equals(username)) {
                        errors.add(
                                "username",
                                new ActionError("error.username.required");
                }
                //用户密码检查
                if (password == null || ("".equals(password)) {
                        errors.add(
                                "password",
                                new ActionError("error.password.required");
                }

                if (errors.size() >; 0) {
                        setCheckflg(false);
                }
                return errors;
        }
        /**
         * Returns the firstflg.
         * @return String
         */
        public String getFirstflg() {
                return firstflg;
        }

        /**
         * Sets the firstflg.
         * @param firstflg The firstflg to set
         */
        public void setFirstflg(String firstflg) {
                this.firstflg = firstflg;
        }

        /**
         * Returns the loginerror.
         * @return boolean
         */
        public boolean getLoginerror() {
                return loginerror;
        }

        /**
         * Sets the loginerror.
         * @param loginerror The loginerror to set
         */
        public void setLoginerror(boolean loginerror) {
                this.loginerror = loginerror;
        }

        /**
         * Returns the logintype.
         * @return String
         */
        public String getLogintype() {
                return logintype;
        }

        /**
         * Sets the logintype.
         * @param logintype The logintype to set
         */
        public void setLogintype(String logintype) {
                this.logintype = logintype;
        }

}


loginAction.java:

package com.sunhoo.fundsite.family;

import javax.servlet.http.*;
import org.apache.struts.action.*;
import com.sunhoo.esp.*;
import com.sunhoo.esp.utils.Logger;
import java.util.*;
import com.sunhoo.esp.user.*;
import com.sunhoo.fundsite.family.register.*;
import com.sunhoo.fundsite.family.common.*;
/**
* @author wujl
* <>;用户登录用 ACTION CLASS</P>;
*
*/
public final class LoginAction extends Action {

        /**
         * 对画面提交的信息进行业务处理
         * @param mapping  ActionMapping
         * @param form 登录 FORM CLASS
         * @param request HttpServletRequest
         * @param response HttpServletResponse
         * @return ActionForward 定向类
         */
        public ActionForward perform(
                ActionMapping mapping,
                ActionForm form,
                HttpServletRequest request,
                HttpServletResponse response) {
                Authorization auth = null;
                LoginForm loginForm = null;
                String jspPage = null;

                try {
                        HttpSession session = request.getSession();
                       
                        //取得用户权限
                        auth = (Authorization) session.getAttribute("Authorization";
                        SystemFactory factory = SystemFactory.getInstance(auth);
                        System.out.println("------LoginAction Start------");
                        //取得栏目
                        Category category = null;
                        try {
                                category = factory.getCategory("MyFunds");

                        } catch (CategoryNotFoundException e) {
                        }
                        if (form instanceof LoginForm) {
                                loginForm = (LoginForm) form;
                                if (loginForm.isCheckflg()) {
                                        try {
                                                jspPage = "success";
                                                if ("1".equals(loginForm.getLogintype())) {  //用户名登录
                                                        auth =
                                                                AuthFactory.getAuthByName(
                                                                        loginForm.getUsername(),
                                                                        loginForm.getPassword());
                                                } else if ("2".equals(loginForm.getLogintype())) { //客服号登录
                                                        auth =
                                                                AuthFactory.getAuthByCustomerNo(
                                                                        loginForm.getUsername(),
                                                                        loginForm.getPassword());
                                                } else if ("3".equals(loginForm.getLogintype())) { //基金帐号登录
                                                        auth =
                                                                AuthFactory.getAuthByTAAccount(
                                                                        loginForm.getUsername(),
                                                                        loginForm.getPassword());
                                                        jspPage = "ataccount";               
                                                }
                                                //为非注册用户跳到登录画面
                                                if (auth.isAnonymous()) {
                                                        loginForm.setLoginerror(true);

                                                        jspPage = "gotologin";
                                                } else {
                                                       
                                                        //取得客户相关信息
                                                        CustomerManager customerManager =
                                                                CustomerManager.getInstance(auth);
                                                        Customer customer =
                                                                customerManager.getCustomer(
                                                                        auth.getCustomerNo());

                                                        session.setAttribute("Authorization", auth);
                                                        System.out.println(
                                                                "------Authorization=" + auth.getCustomerNo());
                                                        session.setAttribute("Customer", customer);
                                                        loginForm.setSecussful("secussful");
                                                }
                                               
                                        } catch (Exception e) {
                                                jspPage = "gotologin";
                                                loginForm.setSecussful("");
                                                loginForm.setLoginerror(true);
                                        }
                                } else {
                                        if (loginForm.getFirstflg() == null) {
                                                loginForm.setLoginerror(false);
                                        } else {
                                                loginForm.setLoginerror(true);
                                        }
                                        jspPage = "gotologin";
                                }
                                System.out.println("------LoginAction End------");
                                request.setAttribute("LoginForm", loginForm);
                                session.setAttribute("Category", category);

                        }
                } catch (Exception eee) {
                        Logger.println("Error: " + eee.getMessage());
                        loginForm.setLoginerror(true);
                        jspPage = "gotologin";
                }
                // "success"转移到显示提交信息的画面
                // (struts-config.xml记载)
                return (mapping.findForward(jspPage));
        }
}

论坛徽章:
0
16 [报告]
发表于 2003-06-19 15:56 |只看该作者

请教关于weblogic+struts的问题

第一个错误是你的jsp或者java文件有问题。第二个错误是你的配置有问题。
还有,WEB-INF/web.xml有没有加入像这样的声明(这是struts1.02的)
  <taglib>;
    <taglib-uri>;/WEB-INF/custom-app.tld</taglib-uri>;
    <taglib-location>;/WEB-INF/custom-app.tld</taglib-location>;
  </taglib>;
  <taglib>;
    <taglib-uri>;/WEB-INF/struts-bean.tld</taglib-uri>;
    <taglib-location>;/WEB-INF/struts-bean.tld</taglib-location>;
  </taglib>;
  <taglib>;
    <taglib-uri>;/WEB-INF/struts-html.tld</taglib-uri>;
    <taglib-location>;/WEB-INF/struts-html.tld</taglib-location>;
  </taglib>;
  <taglib>;
    <taglib-uri>;/WEB-INF/struts-logic.tld</taglib-uri>;
    <taglib-location>;/WEB-INF/struts-logic.tld</taglib-location>;
  </taglib>;
  <taglib>;
    <taglib-uri>;/WEB-INF/struts-template.tld</taglib-uri>;
    <taglib-location>;/WEB-INF/struts-template.tld</taglib-location>;
  </taglib>;
jsp文件有没有在顶端加入像这样的声明
<%@ taglib uri="/WEB-INF/struts-bean.tld"  prefix="bean" %>;
<%@ taglib uri="/WEB-INF/struts-html.tld"  prefix="html" %>;
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>;

论坛徽章:
0
17 [报告]
发表于 2003-06-19 16:04 |只看该作者

请教关于weblogic+struts的问题

第一个错误是由 register.jsp  引起的。
贴出 register.jsp 文件。

论坛徽章:
0
18 [报告]
发表于 2003-06-19 16:09 |只看该作者

请教关于weblogic+struts的问题

在 WEB-INF/web.xml里<taglib>;
<taglib-uri>;/WEB-INF/custom-app.tld</taglib-uri>;
<taglib-location>;/WEB-INF/custom-app.tld</taglib-location>;
</taglib>;没有加,因为没有custom-app.tld这个文件,其余几句都加上了,jsp文件在顶端都加入了声明。

论坛徽章:
0
19 [报告]
发表于 2003-06-19 16:11 |只看该作者

请教关于weblogic+struts的问题

register.jsp:
<%@ page contentType="text/html; charset=gb2312" %>;
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>;
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>;
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>;

<html:html locale="true">;
<head>;
<title>;
        <logic:equal parameter="modify" value="FALSE" property="modify" name="RegisterForm" scope="request">;
        我要注册
        </logic:equal>;
        <logic:equal parameter="modify" value="TRUE" property="modify" name="RegisterForm" scope="request">;
        信息修改
        </logic:equal>;
</title>;
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">;
<link rel="stylesheet" href="css/css.css" type="text/css">;
<SCRIPT language="JavaScript">;
<!--
function makevisible(cur,which){
if (which==0)
cur.filters.alpha.opacity=100
else
cur.filters.alpha.opacity=50
}
//-->;
</SCRIPT>;
<style type="text/css">;
<!--
.customname {
        background-color: #999999;
}
-->;
</style>;
</head>;

<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" >;
<logic:notPresent name="org.apache.struts.action.MESSAGE" scope="application">;
  <font color="red">;
    ERROR:  Application resources not loaded -- check servlet container
    logs for error messages.
  </font>;
</logic:notPresent>;
<table width="100%" border="0" cellspacing="0" cellpadding="0">;
        <tr>;
        <td >;
                <logic:equal parameter="modify" value="TRUE" property="modify" name="RegisterForm" scope="request">;
                        <jsp:include page="/common/channelheader.jsp"/>;
                </logic:equal>;
        </td >;
        </tr>;
</table>;

<table width="100%" border="0" cellspacing="0" cellpadding="0">;
        <tr>;
        <logic:equal parameter="modify" value="TRUE" property="modify" name="RegisterForm" scope="request">;
                       
                <td height="418" valign="top" width="126" >;
                        <jsp:include page="/family/familyleft.jsp"/>;
                </td>;
                </logic:equal>;
                <td width="84%" valign="top">;
                        <table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">;
                                <tr>;
                                        <td >;
                                        <logic:equal parameter="modify" value="FALSE" property="modify" name="RegisterForm" scope="request">;
                                        <jsp:include page="/family/registerbody.jsp" />;
                                        </logic:equal>;
                                        <logic:equal parameter="modify" value="TRUE" property="modify" name="RegisterForm" scope="request">;
                                        <jsp:include page="/family/modifybody.jsp" />;
                                        </logic:equal>;
                                        </td >;
                                </tr>;
                                <logic:equal parameter="modify" value="TRUE" property="modify" name="RegisterForm" scope="request">;
                                                  
                                <tr>;
                                        <td >;<DIV ALIGN="center">;<jsp:include page="/common/channelfooter.jsp"/>;</DIV>;</td>;
                                </tr>;
                                </logic:equal>;
                        </table>;
                </td>;
        </tr>;
</table>;
</body>;
</html:html>;


registerbody.jsp


<%@ page contentType="text/html; charset=gb2312" %>;
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>;
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>;
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>;
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">;
  <tr>;
    <td width="57" height="100%" valign="top">;<table width="84" height="900" border="0" cellpadding="0" cellspacing="0" background="../image/aboutus/lbak.jpg">;
        <tr>;
          <td height="783" valign="top">;<img src="../image/aboutus/l_zc.jpg" width="84" height="351">;</td>;
        </tr>;
        <tr>;
          <td height="36">;&amp;</td>;
        </tr>;
      </table>;</td>;
    <td align="center" valign="top">;<table width="100%" height="100%" border="0" align="center" cellpadding="0" cellspacing="0">;
        <tr>;
          <td width="100%" height="10" valign="top">;&amp;</td>;
        </tr>;
        <tr>;
          <td height="58" valign="top">;<div align="right">;</div>;
            <div align="center">;
              <table width="90%" border="0" class="9p">;
                <tr>;
                  <td valign="top">;<div align="right">;<img src="../image/aboutus/title.jpg" width="211" height="58">;</div>;</td>;
                </tr>;
              </table>;
            </div>;</td>;
        </tr>;
        <tr>;
          <td valign="top">;<div align="center">;
              <table width="90%" border="0" align="center" cellpadding="0" cellspacing="0" class="9pb">;
                <tr>;
                  <td valign="top">; <div align="center">;
                                            <p>;<logic:equal parameter="updateflg" value="true" property="updateflg" name="RegisterForm" scope="request">;
                        </logic:equal>;</p>;
                      <p>;<logic:equal parameter="updateflg" value="true" property="updateflg" name="RegisterForm" scope="request">;</logic:equal>;</p>;
                      <p>;<logic:equal parameter="updateflg" value="true" property="updateflg" name="RegisterForm" scope="request">;</logic:equal>;</p>;
                      <p>;<logic:equal parameter="updateflg" value="true" property="updateflg" name="RegisterForm" scope="request">;
                        </logic:equal>;</p>;
                      <logic:equal parameter="updateflg" value="true" property="updateflg" name="RegisterForm" scope="request">;<font  color="#339900">;<bean:message key="register.secussful"/>;</font>;
                      <input name="button" type="button" onclick="window.close();" value="关闭窗口"/>;
                      </logic:equal>; </div>;
                    <logic:equal parameter="regerror" value="true" property="regerror" name="RegisterForm" scope="request">;
                    <font  color="#FF0000">;<bean:message key="register.regerror"/>;</font>;
                    </logic:equal>; </td>;
                </tr>;
                <logic:notEqual parameter="updateflg" value="true" property="updateflg" name="RegisterForm" scope="request">;
                <tr>;
                  <td>;<img src="../image/star.jpg" width="11" height="11">;&amp;请输入相应的注册信息(<font  color="#FF0000">;*:为必须</font><br />;
                    <font  color="#FF0000">;<html:errors/>;</font>;&amp;</td>;
                </tr>;
                <tr>;
                  <td>;<html:form  method="post" action="/register"  name="RegisterForm" type="com.sunhoo.fundsite.family.RegisterForm" scope="request" target="_self">;
                    <html:hidden  property ="firstflg" value ="OK"/>; <html:hidden  property ="secussful" value =""/>;
                    <html:hidden  property ="regerror" value =""/>;
                    <table width="100%" border="0" cellspacing="0" cellpadding="5">;
                      <tr>;
                        <td height="181">; <table width="90%" border="1" align="center" cellpadding="5" cellspacing="0" class="9pb">;
                            <tr>;
                              <td width="31%" bgcolor="#CCCCCC" nowrap>;<div align="right">;用户名</div>;</td>;
                              <td width="69%"  nowrap>; <html:text property="customname" style="border: 1        solid #000000" size="20" maxlength="20"/>;&amp;<font  color="#FF0000">;*</font>;&amp;</td>;
                            </tr>;
                            <tr>;
                              <td bgcolor="#CCCCCC"nowrap>;<div align="right"  >;密码</div>;</td>;
                              <td width="69%">;<html:password property="password"  style="border: 1 solid #000000" size="20" maxlength="15"/>;&amp;<font  color="#FF0000">;*</font>;&amp;</td>;
                            </tr>;
                            <tr>;
                              <td bgcolor="#CCCCCC">;<div align="right"  nowrap>;确认密码</div>;</td>;
                              <td width="69%">;<html:password property="confirmpassword"  style="border: 1 solid #000000" size="20" maxlength="15"/>;&amp;<font  color="#FF0000">;*</font>;&amp;</td>;
                            </tr>;
                            <tr>;
                              <td width="31%"  nowrap bgcolor="#CCCCCC">;<div align="right">;密码提示问题</div>;</td>;
                              <td width="69%"  nowrap>;<html:text property="question"  style="border: 1        solid #000000" size="40" maxlength="100"/>;</td>;
                            </tr>;
                            <tr>;
                              <td width="31%" bgcolor="#CCCCCC">;<div align="right">;密码提示答案</div>;</td>;
                              <td width="69%">;<html:text property="answer"  style="border: 1        solid #000000" size="40" maxlength="100"/>;</td>;
                            </tr>;
                            <tr>;
                              <td width="31%" bgcolor="#CCCCCC">;<div align="right">;真实名字</div>;</td>;
                              <td width="69%">;<html:text property="truename"  style="border: 1        solid #000000" size="20" maxlength="20"/>;</td>;
                            </tr>;
                            <tr>;
                              <td width="31%" bgcolor="#CCCCCC">;<div align="right">;证件类型</div>;</td>;
                              <td width="69%">;<FONT        color=#0083cc>; <html:select property ='certificatetype' >;
                                <bean:define id="items" name="RegisterForm" property="certificatetypes"/>;
                                <htmlptions collection="items" property="detailtype" labelProperty="name"/>;
                                </html:select>; </FONT>; </td>;
                            </tr>;
                            <tr>;
                              <td width="31%" bgcolor="#CCCCCC">;<div align="right">;证件号码</div>;</td>;
                              <td width="69%">;<html:text property="certificatecode" style="border: 1 solid #000000" size="20" maxlength="30"/>;</td>;
                            </tr>;
                            <tr>;
                              <td width="31%" bgcolor="#CCCCCC">;<div align="right">;Mail地址</div>;</td>;
                              <td width="69%">;<html:text property="email"  style="border:        1 solid        #000000" size="30" maxlength="50"/>;</td>;
                            </tr>;
                            <tr>;
                              <td width="31%" bgcolor="#CCCCCC">;<div align="right">;通信地址</div>;</td>;
                              <td width="69%">;<html:text property="address" style="border: 1 solid #000000" size="50" maxlength="100"/>;</td>;
                            </tr>;
                            <tr>;
                              <td width="31%" bgcolor="#CCCCCC">;<div align="right">;电话号码</div>;</td>;
                              <td width="69%">;<html:text property="callouttelno"  style="border: 1        solid #000000" size="20" maxlength="20"/>;</td>;
                            </tr>;
                            <tr>;
                              <td width="31%" bgcolor="#CCCCCC">;<div align="right">;省份</div>;</td>;
                              <td width="69%">;<FONT        color=#0083cc>; <bean:define id="items" name="RegisterForm" scope='request' property="provinces"/>;
                                <html:select property="province" >; <htmlptions collection="items" property="detailtype" labelProperty="name"/>;
                                </html:select>; </FONT>; </td>;
                            </tr>;
                            <tr>;
                              <td width="31%" bgcolor="#CCCCCC">;<div align="right">;城市</div>;</td>;
                              <td width="69%">;<html:text property="city"   style="border: 1        solid #000000" size="20" maxlength="30"/>;</td>;
                            </tr>;
                            <tr>;
                              <td width="31%" bgcolor="#CCCCCC">;<div align="right">;邮编</div>;</td>;
                              <td width="69%">;<html:text property="postcode" style="border: 1        solid #000000" size="20" maxlength="10"/>;</td>;
                            </tr>;
                            <tr>;
                              <td width="31%" bgcolor="#CCCCCC">;<div align="right">;学历</div>;</td>;
                              <td width="69%">;<FONT        color=#0083cc>; <html:select        property="education" name="RegisterForm">;
                                <bean:define id="items" name="RegisterForm" property="educations"/>;
                                <htmlptions collection="items" property="detailtype" labelProperty="name"/>;
                                </html:select>; </FONT>; </td>;
                            </tr>;
                            <tr>;
                              <td width="31%" bgcolor="#CCCCCC">;<div align="right">;出生年月</div>;</td>;
                              <td width="69%">;<FONT        color=#0083cc>; <html:text property="year"  style="border: 1        solid #000000" size="5" maxlength="4" />;
                                年 <html:select  property="month">; <bean:define id="items" name="RegisterForm" property="months"/>;
                                <htmlptions collection="items" property="detailtype" labelProperty="name"/>;
                                </html:select>; 月 <html:select property="day">;
                                <bean:define id="items" name="RegisterForm" property="days"/>;
                                <htmlptions collection="items" property="detailtype" labelProperty="name"/>;
                                </html:select>; 日 </FONT>; </td>;
                            </tr>;
                            <tr>;
                              <td width="31%" bgcolor="#CCCCCC">;<div align="right">;性别</div>;</td>;
                              <td width="69%">;<FONT        color=#0083cc>; <html:select        property="sex">;
                                <bean:define id="items" name="RegisterForm" property="sexs"/>;
                                <htmlptions collection="items" property="detailtype" labelProperty="name"/>;
                                </html:select>; </FONT>; </td>;
                            </tr>;
                            <tr>;
                              <td width="31%" bgcolor="#CCCCCC">;<div align="right">;职业情况</div>;</td>;
                              <td width="69%">;<FONT        color=#0083cc>; <html:select        property="occupation" name="RegisterForm">;
                                <bean:define id="items" name="RegisterForm" property="occupations"/>;
                                <htmlptions collection="items" property="detailtype" labelProperty="name"/>;
                                </html:select>; </FONT>; </td>;
                            </tr>;
                            <tr>;
                              <td width="31%" bgcolor="#CCCCCC">;<div align="right">;收入范围</div>;</td>;
                              <td width="69%">;<FONT        color=#0083cc>; <bean:define id="items" name="RegisterForm" property="incomings"/>;
                                <html:select        property="incoming" >; <htmlptions collection="items" property="detailtype" labelProperty="name"/>;
                                </html:select>; </FONT>; </td>;
                            </tr>;
                          </table>;</td>;
                      </tr>;
                      <tr>;
                        <td>; <div align="center">; <html:submit property="ok" style="border: 1        solid #000000" value="确认" />;&amp;
                            &amp;&amp;<html:button property="reset"  style="border: 1        solid #000000" value="取消" onclick="window.close()"/>;
                          </div>;</td>;
                      </tr>;
                    </table>;
                    </html:form>; </td>;
                </tr>;
                <tr>;
                  <td>;&amp;</td>;
                </tr>;
                </logic:notEqual>;
              </table>;
            </div>;</td>;
        </tr>;
        <tr>;
          <td>;<table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">;
              <tr>;
                <td>;<div align="right">;</div>;</td>;
              </tr>;
              <tr>;
                <td>;<div align="right">;<img src="../image/aboutus/tickbuttom.jpg" width="16" height="17">;</div>;</td>;
              </tr>;
              <tr>;
                <td height="52">;&amp;</td>;
              </tr>;
            </table>;</td>;
        </tr>;
      </table>;</td>;
    <td width="33" height="100%" align="right" valign="top">;<table width="32" height="900" border="0" cellpadding="0" cellspacing="0" background="../image/aboutus/rbak.jpg">;
        <tr>;
          <td width="32" height="784" valign="top">;<div align="right">;<img src="../image/aboutus/r.jpg" width="32" height="388">;</div>;</td>;
        </tr>;
        <tr>;
          <td height="33">;&amp;</td>;
        </tr>;
      </table>;</td>;
  </tr>;
</table>;
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP