回 帖 发 新 帖 刷新版面

主题:高手请进来!

javax.servlet.jsp.JspWriter out;
这句话是什么意思,请说说!!!
还有

public BookDetail getDetail(long bookid,javax.servlet.jsp.JspWriter out){
BookDetail bookdtl=new BookDetail();
try{
            ResultSet rs=stmt.executeQuery("select *from book_detail"+"where bookid='"+bookid+"'");
            while(rs.next()){
                bookdtl.id=rs.getLong("id");
                bookdtl.author=rs.getString("author");
                bookdtl.introduce=rs.getString("introduce");
                bookdtl.publisher=rs.getString("publisher");
                bookdtl.pagenum=rs.getInt("pagenum");
                bookdtl.edition=rs.getString("edition");
                }
                rs.close();
            }catch(Exception e){
                System.err.println(e);
                }
                return bookdtl;
        }    

我在进行编译时,老出现错误:packae javax.servlet.jsp does not exist
我想问一下:在写javax.servlet.jsp.JspWriter out;这句话时是不是要加入其他的包,如果是的,应该加哪些包呢?

回复列表 (共2个回复)

沙发

这个已解决

板凳

垃圾

我来回复

您尚未登录,请登录后再回复。点此登录或注册