CSDN博客

img flyying

servlet--->Pagelet

发表于2004/10/18 11:30:00  508人阅读

分类: struts

package jsswt.jsswtServlet;
import java.io.*;
import javax.servlet.*;

import jsswt.sendsms.*;

public class CityBeijingServlet extends Pagelet {
  public void init() throws ServletException {
    this.sql = "select comComp as comComp,comPtp as comPtp,comTel as comTel,comLinkman as comLinkman,companyID as comid from company where left(comCity,2)='10'";
    this.sql1= "select addNumber from address where addCode = '1000'";
    this.dataSource = "dataSource";
    this.servletName = "citybeijingservlet";
    this.css = "/css/style.css";
    this.url1="/qyhy/showdata.jsp";
    this.currentPage=1;
    this.totalRec=0;
    this.totalPage=1;
  }
}

阅读全文
0 0

相关文章推荐

img
取 消
img