⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 materialdisplay.jsp

📁 BEA WebLogic Server 8.1大全 = BEA webLogic server 8.1 unleashed (美) Mark Artiges等著 袁毅 ... [等] 译 eng
💻 JSP
字号:
<%@ page language="java" %>
<%@taglib uri="ejbtags.tld" prefix="ejb" %>
<%@include file="style.html" %>
<%@page import="java.util.*"%>
<%@page import="jcawebapp.*"%>
<%@page import="javax.naming.*"%>
<%@page import="java.io.*"%>
<%@page import="javax.servlet.*"%>
<%@page import="javax.servlet.http.*"%>


<ejb:useHome id="home" type="jcaSAPapp.ConnectJCASAPHome" location="ConnectJCASAP" />
<ejb:useBean id="sap" type="jcaSAPapp.ConnectJCASAP" scope="page" ><ejb:createBean instance="<%=home.create()%>" /> </ejb:useBean>
<%
String search = request.getParameter("SEARCHVALUE");


Vector data = sap.getMaterialList(search,20);%>




<html>		

<head>
<title>Display Materials</title>
</head>
<BODY class=bg MARGINWIDTH="0" MARGINHEIGHT="0" LEFTMARGIN="0" TOPMARGIN="0">

<!-- main table ########################################################################### -->
<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0" WIDTH=100% HEIGHT="136">
  <TR>
    <td class=bg height="100" align="right" valign="top" colspan=2>
	  &nbsp;
    </td>	
 </TR>
<!-- white space & error space ############################################################ -->
 <tr>
  <td colspan="2"><a href="materialsearch.jsp">back</a>

<!-- content table ######################################################################## -->
  <table class=tableBorder border="0" cellspacing="0" cellpadding="0" width="100%">
    <TR class="bgOuter">
	<TD class=title2 align="left" width="33%">
	  Material Search Results
	</TD>
  </tr>
  <tr class="bgOuter">
  <td colspan="2">

<!-- inner table ########################################################################## -->
  <table border="0" cellspacing="1" cellpadding="0" width="100%">
  <TR class=bgInner>
	<TD class=text width="33%">
	  Material
	</TD>
	<TD class=text width="33%">
	  Material Description
	</TD>
  </TR>
<!--put data stuff here -->
<%
int e = data.size();
for(int i=0;i<e;i++){
String[] temp = (String[])data.get(i);
%>
<tr>
<%
for(int cols =0;cols<temp.length;cols++){
%>
<td><%=temp[cols]%></td>
<%
}
%>
</tr>
<%
}
%>

<!-- end of inner table ################################################################### -->
  </table>
  </td>
  </tr>
  
<!-- end of content table ################################################################# -->
  </table>
  <br>
  </td>
  </tr>

<!-- end of main table #################################################################### -->
</table>
</form>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -