HELP!!!HELP!!!!!!

flybluebird 2002-05-29 02:45:33
ASP东东变JavaBean??????
...全文
62 8 打赏 收藏 转发到动态 举报
写回复
用AI写文章
8 条回复
切换为时间正序
请发表友善的回复…
发表回复
saintKnight 2002-05-29
  • 打赏
  • 举报
回复
除了界面可以拿过来用用,其他还是重新编辑算了,在上面改来改去还浪费时间
Andrawu 2002-05-29
  • 打赏
  • 举报
回复
呵呵,什么问题啊?
看到上面的代码,我就害怕。
flybluebird 2002-05-29
  • 打赏
  • 举报
回复
经练不多,稀能得一点提示!!!Thanks!!!
weidegong 2002-05-29
  • 打赏
  • 举报
回复
好像有个公司提供第三方插件,将com控件作为bean来用--忘记在哪儿看的了
Andrawu 2002-05-29
  • 打赏
  • 举报
回复
我也想啊。
好象只能手工了。
flybluebird 2002-05-29
  • 打赏
  • 举报
回复
JSP的页面用JSP+JavaBean
我不知如何下手???


<%@ include file="include/header.inc"%>
<%@ page language="java" contentType="text/html;charSet=gb2312" %>
<%@ page import="java.sql.*" %>
<%@ include file="include/db.inc"%>
<html>
<head>
<title>用户回执表单</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">

<link rel="stylesheet" href="include/css.css" type="text/css">
</head>

<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0">
<table width="650" border="0" align="center">
<tr align="center">
<td><a href="EditProduct.jsp">添加产品</a></td>
<td> <a href="countUser.jsp">用户统计</a></td>
<td> <a href="searchUser.jsp">用户查询</a></td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
</table>
<table width="680" border="0" cellspacing="1" cellpadding="0" align="center" bgcolor="#000000">
<tr>
<td class="Text13" align="center" valign="middle" height="23"><b>Electronic
Arts 用户反馈表</b></td>
</tr>
<form name="orderForm" method="post" action="reg_ok.jsp" onsubmit="return checkSubmit()">
<tr>
<td bgcolor="#FFFFFF">
<table width="650" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td height="25" class="TextBlack"><b>您的信息</b></td>
</tr>
<tr>
<td height="1" bgcolor="#FF0000"></td>
</tr>
<tr>
<td height="20">
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="30">
<tr valign="bottom">
<td width="50" class="TextBlack" height="30">姓名</td>
<td width="200" height="30">
<input type="text" name="userName" class="inputCss" maxlength="20" size="20">
</td>
<td width="50" class="TextBlack" height="30">性别</td>
<td class="TextBlack" height="30">
<input type="radio" name="userGender" value="0" checked>

<input type="radio" name="userGender" value="1">
女</td>
<td width="50" class="TextBlack" height="30">年龄</td>
<td height="30">
<input type="text" name="userAge" maxlength="15" size="15" class="inputCss">
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="20">
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="30">
<tr valign="bottom">
<td class="TextBlack" width="50">职业</td>
<td width="65">
<input type="radio" name="userVocation" value="1000001" checked>
<span class="TextBlack">学生</span></td>
<td class="TextBlack" width="65">
<input type="radio" name="userVocation" value="1000002">
公务员</td>
<td class="TextBlack" width="65">
<input type="radio" name="userVocation" value="1000003">
职员</td>
<td class="TextBlack" width="65">
<input type="radio" name="userVocation" value="1000004">
军人</td>
<td class="TextBlack" width="65">
<input type="radio" name="userVocation" value="1000005">
科教</td>
<td class="TextBlack">
<input type="radio" name="userVocation" value="9999999" onpropertychange='if(this.checked){aa.style.visibility="visible";}else{aa.style.visibility="hidden";}' >
其他
</td>
<td id="aa" style="visibility:hidden">
<input id="aa" type="text" name="userVocation00"class="inputCss" size="15" maxlength="15" >
<input type="hidden" name="userVocation">
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="20">
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="30">
<tr valign="bottom">
<td class="TextBlack" height="30">邮寄地址</td>
<td height="30">
<input type="text" name="userDetailAddr" size="70" maxlength="70" class="inputCss">
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="20">
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="30">
<tr valign="bottom">
<td height="30" class="TextBlack">邮政编码</td>
<td height="30">
<input type="text" name="userPostCode" size="30" maxlength="30" class="inputCss">
</td>
<td height="30" class="TextBlack">联系电话</td>
<td height="30">
<input type="text" name="userContectTel" size="30" maxlength="30" class="inputCss">
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="20">
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="30">
<tr valign="bottom">
<td height="30" class="TextBlack">电子邮件</td>
<td height="30">
<input type="text" name="userEmail" maxlength="70" size="70" class="inputCss">
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="20" valign="bottom" align="right" class="TextBlack">(如果可能我
<input type="radio" name="userIsAcceptNews" value="0" checked>
愿意/
<input type="radio" name="userIsAcceptNews" value="1">
不愿意收到EA的新闻邮件)</td>
</tr>
<tr>
<td height="20"> </td>
</tr>
<tr>
<td height="20">
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="30">
<tr valign="bottom">
<td height="30" class="TextBlack" width="15%">所购买游戏名称</td>
<td height="30" width="85%">
<select name="product" >
<option value="" selected>游戏名称列表</option>
<%
String sql="select * from productinfo";
Connection conn=null;
PreparedStatement stm=null;
ResultSet rs=null;
try
{
conn = DriverManager.getConnection(oracleDriver,"ea","ea");
stm=conn.prepareStatement(sql);
rs=stm.executeQuery();
while (rs.next())
{
out.print("<option value=\"" + rs.getObject("proid") + "\">"+rs.getString("proname")+"</option>\n");
}
}
catch(SQLException e)
{
out.println(e.getMessage());
}
%>
</select>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="20">
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="30">
<tr valign="bottom">
<td height="30" class="TextBlack">价格</td>
<td height="30">
<input type="text" name="purPrice" maxlength="20" size="20" class="inputCss">
</td>
<td height="30" class="TextBlack">购买日期</td>
<td height="30" class="TextBlack">
<select name="year1">
</select>年
<select name="mon1">
</select>

<select name="day1">
</select>
<input type="hidden" name="userPurDate">
</td>
</tr
flybluebird 2002-05-29
  • 打赏
  • 举报
回复
JSP的页面用JSP+JavaBean
我不知如何下手???
xycleo 2002-05-29
  • 打赏
  • 举报
回复
你什么问题??

81,114

社区成员

发帖
与我相关
我的任务
社区描述
Java Web 开发
社区管理员
  • Web 开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧