站内搜索: 请输入搜索关键词

当前页面: 开发资料首页J2SE 专题请问javaBean应该怎么用,我这个怎么这么奇怪?

请问javaBean应该怎么用,我这个怎么这么奇怪?

摘要: 请问javaBean应该怎么用,我这个怎么这么奇怪?


<%@page contentType="text/html"%>
<%@page pageEncoding="GB2312"%>
<%@page import="org.me.database.ConnectDataBase"%>
<%@page import="org.me.database.DatabaseTest"%>

<%--
The taglib directive below imports the JSTL library. If you uncomment it,
you must also add the JSTL library to the project. The Add Library... action
on Libraries node in Projects view can be used to add the JSTL 1.1 library.
--%>
<%--
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
--%>

HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">


<head>

beanTest
</head>
<body>

A bean example


<%
DatabaseTest mybean=new ConnectDataBase().getDatabaseTest();
%>



<table border="1">


<thead>
<tr>
<th>书的ID号</th>
<th>标题</th>
<th>名字</th>
<th>价格</th>
<th>出版日期</th>
<th>简介</th>
<th>售出数量</th>
</tr>
</thead>


<tr>


↑返回目录
前一篇: 小弟很菜 今天下午刚刚开始自学S1275课程,哎没有老师指导 苦啊。那位仁兄赐教下。
后一篇: 在Structs的XML里面是否可以写注释?