<%@ page contentType="text/html; charset=utf-8"%> <%@ page language="java" import="java.util.*" pageEncoding="utf-8"%> <%@page import="com.cicro.wcm.services.control.domain.SiteDomainManager"%> <%@page import="com.cicro.wcm.template.velocity.*,com.cicro.wcm.template.velocity.impl.*,com.cicro.util.FormatUtil"%> <% String site_id = SiteDomainManager.getSiteIDByUrl(request.getRequestURL().toString()); String cat_id = request.getParameter("cat_id"); if(cat_id==null || cat_id=="") { out.println("错误:未找到相应栏目"); return; } VelocityInfoContextImp vc = new VelocityInfoContextImp(request); vc.setGGFWTemplateID(cat_id,site_id,"list"); out.println(vc.parseTemplate()); %>