?? shoppingcar.jsp
字號:
<%@ page language="java" import="org.springframework.context.ApplicationContext" pageEncoding="gb2312"%>
<%@ page import="org.springframework.context.support.FileSystemXmlApplicationContext"%>
<%@ page import="bit.jeffy.business.ShoppingCar"%>
<%@ 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>
<head>
<!--
<link rel="stylesheet" type="text/css" href="styles.css">
-->
</head>
<body>
<table width="100%" height="439" border="1">
<tr>
<td height="22"><%@ include file="head.jsp"%></td>
</tr>
<tr>
<td height="388" valign="top" align="center">
<%
String path = (String)session.getAttribute("path");
if(path == null){
out.print("讀取數據庫失敗");
}else{
ApplicationContext context =
new FileSystemXmlApplicationContext(path);
ShoppingCar car = (ShoppingCar)context.getBean("shopcar");
car.list(request,out);
}
%>
</td>
</tr>
<tr>
<td height="19"><html:errors/></td>
</tr>
</table>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -