当前页面: 开发资料首页 → Java 专题 → 利用application对象缓存数据库中导航栏的内容
利用application对象缓存数据库中导航栏的内容
摘要: 利用application对象缓存数据库中导航栏的内容
</td>
</tr>
<tr>
<td height="35" valign="top" class="ArticleTeitle"> 当编写数据库驱动的网页时,有些存放在数据库中的内容变动很少,如栏目标题、分类名称等,在显示这些内容时最好缓存而不应频繁的读数据库,jsp页面可以利用application对象
<table width="666" border="0">
<tr>
<td width="386" valign="top"> Set entries=list.entrySet();
%> </td>
<td width="270">
</td>
</tr>
</table>
</td>
</tr>
<tr>