阅读背景:

Servlet获取数据库记录onload / initialization

来源:互联网 

Well currently i'm doing a simple application using jsp, servlet, jstl with hibernate integration, I have a problem regarding my servlet method since doPost and doGet require action(clicking the link/submit button) to happen. My question is how can I fetch the database records onload without doing any action on my servlet. What I want to do is once the admin(user) click the userlist.jsp page the combobox will be populated by the records coming from the database, onload.Well currently i'm doing a simple application u




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: