%@ page pageEncoding="UTF-8"%> <%@ page contentType="text/html; charset=UTF-8" language="java" %> <%@ page import ="java.util.*"%> <%@ page language="java" import="com.sysmodel.XFormFactory"%> <% request.setCharacterEncoding("GBK"); List list = XFormFactory.getXFormModel().getFormCollections(); String type =request.getParameter("type") == null ? "" : request.getParameter("type"); if(!type.equals("")){ list = XFormFactory.getXFormModel().getFormCollectionsByType(type); } int limited = list.size(); if(limited > 1){ limited --; } %>