摘要
介绍实现页面显示和数据库操作的自定义标记的开发及应用,以显示表格为例,采用属性交互的方式,通过传递作为参数的SQL语句,实现了后台数据库的操作和前台表格的显示,要改变显示方式的时候,只需改变标记处理器的内容。
Introduces the development and application of custom tag in JSP, which actualizes the page display and the operation on database, takes the table display as an example, the custom tag, with the method of attribute exchange, which transfers the SQL sentence as a parameter, realizes the operation on database and the display of table. Therefore, when the style of display is to be changed, the change of the Tag Handle's content is all needed.
出处
《现代计算机》
2007年第5期93-95,共3页
Modern Computer