<%@ page language="java" import="java.util.*" pageEncoding="gb2312"%> <%@page import="util.Info"%> <%@page import="dao.CommDAO"%> <%@page import="util.PageManager"%> 加入收藏 <% if((String)request.getSession().getAttribute("username")==null || (String)request.getSession().getAttribute("username")=="") { out.print(""); } else { String id=request.getParameter("id"); String biao=request.getParameter("biao"); String ziduan=request.getParameter("ziduan"); String sql="insert into shoucangjilu(username,xwid,ziduan,biao) values('"+request.getSession().getAttribute("username")+"','"+id+"','"+ziduan+"','"+biao+"')"; new CommDAO().commOper(sql); out.print(""); } %>