WebRoot/fanganxinxi_add.jsp

(开头部分) 2KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。


<%@ page language="java"  pageEncoding="gb2312"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@ page language="java" import="java.sql.*" %>
<jsp:useBean id="connDbBean" scope="page" class="db.db"/>
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title> 部门信息</title>    <LINK href="CSS.css" type=text/css rel=stylesheet>

       <script type="text/javascript" src="js/popup.js"></script>
	    <script type="text/javascript">
	    function up(tt)
	    {
	        var pop=new Popup({ contentType:1,isReloadOnClose:false,width:300,height:50});
            pop.setContent("contentUrl","upload.jsp?Result="+tt);
            pop.setContent("title","文件上传");
            pop.build();
            pop.show();
	    }
	</script>

  </head>
  <SCRIPT language=JavaScript>
function openwin(url, width, height)
{
var Win = window.open(url,"openScript",'width=' + width + ',height=' + height + ',resizable=0,scrollbars=1,menubar=0,status=1');
}
</SCRIPT>
  <body >
  <form name="form1" id="form1" method="post" action="fanganxinxi_add_post.jsp" >
  添加 部门信息:
  <br><br>
  <table width="100%" border="1" align="center" cellpadding="3" cellspacing="1" bordercolor="#89beff" style="border-collapse:collapse">  
     <tr><td>编号:</td><td><input name='bianhao' type='text' id='bianhao' value='' /></td></tr>
     <tr><td>名称:</td><td><input name='mingcheng' type='text' id='mingcheng' value='' /></td></tr>
     <tr><td>类别:</td>
       <td><select name="leibie" id="leibie">
       <%
       String sql="select * from fanganleibie order by id desc";
       ResultSet RS_result=connDbBean.executeQuery(sql);
        while(RS_result.next()){
        %>
       <option value="<%= RS_result.getString("leibiemingcheng")%>"><%= RS_result.getString("leibiemingcheng")%></option>
        <%
        }
        %>
       
       </select>       </td>
     </tr>
     <tr  ><td>部门:</td><td><input name='tupian' type='text' id='tupian' value='\ojopg.jpg' size="50" />
    <input type="button" value="上传" onClick="up('tupian')"/></td>
     </tr>
     <tr><td>部门内容:</td><td><textarea name="beizhu" cols="50" rows="8" id="beizhu"></textarea></td></tr>
     <tr>
       <td>日期:</td>
后面还有 14 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。