index.jsp页面如何加载数据?

学习strus,作了个简单的功能,index.jsp的新闻内容是存在数据库中的,现在我不明白如何在打开index.jsp页时如何从数据库中把数据读出来。
如果index.jsp每次打开时都要从数据库中读数据,是不是太占资源了,能不能做成静态的?
大家是怎么解决这个问题的?
[158 byte] By [hong_bo-redwave] at [2008-1-6]
# 1
mark+up
gefengxztg-戈峰 at 2007-10-14 > top of Msdn China Tech,Java,Web 开发...
# 2
做成静态的就数据也就成静态的了,没有意义了
在index.jsp页面里用<jsp:include page="xxx.do">包含一个.do 文件,然后在.do里读取数据,再把数据传递到一个显示数据页面就可以了
lip009-深蓝忧郁 at 2007-10-14 > top of Msdn China Tech,Java,Web 开发...
# 3
用缓存机制, ehcache
wangx1949 at 2007-10-14 > top of Msdn China Tech,Java,Web 开发...