NONO一族J2EE新闻系统
采用了目前流行的J2EE技术
源代码在线查看: index.jsp
a:hover {
border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px;
border-left-width: 1px;
border-top-style: none;
border-right-style: none;
border-bottom-style: dashed;
border-left-style: none;
border-top-color: #3300FF;
border-right-color: #3300FF;
border-bottom-color: #3300FF;
border-left-color: #3300FF;
}
-->
background="images/bg01.gif" border=0 style="margin-top: -16">
border=0>
background="images/line.gif" border=0>
border=0>
background="images/he.gif" border=0>
border=0>
src="images/news.jpg" width="86" height="67">
int sortId=1;
int i=1;
Iterator articles=myNews.getArticlesOfSort(sortId).iterator();
while(articles.hasNext()){
if(i>9)break;
ArticleDetails article = (ArticleDetails)articles.next();
%>
};
%>
更多...
background="images/he.gif" border=0>
border=0>
sortId=2;
i=1;
articles=myNews.getArticlesOfSort(sortId).iterator();
while(articles.hasNext()){
if(i>5)break;
ArticleDetails article = (ArticleDetails)articles.next();
%>
}
%>
更多...
background="images/he.gif" border=0>
border=0>
sortId=3;
i=1;
articles=myNews.getArticlesOfSort(sortId).iterator();
while(articles.hasNext()){
if(i>5)break;
ArticleDetails article = (ArticleDetails)articles.next();
%>
}
%>
更多...
background="images/he.gif" border=0>
border=0>
sortId=4;
i=1;
articles=myNews.getArticlesOfSort(sortId).iterator();
while(articles.hasNext()){
if(i>6)break;
ArticleDetails article = (ArticleDetails)articles.next();
%>
}
%>
src="images/coffee.gif"
width=74 align="left">