`
文章列表
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <%@page import="com. ...
<?xml version="1.0" encoding="UTF-8"?> <taglib xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.0" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j ...
import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apache.struts2.components.Component; import org.apache.struts2.views.jsp.ComponentTagSupport; import com.opensymphony.xwork2.util.ValueStack; public class SubStringTag extends ComponentTagSuppor ...
import java.io.IOException; import java.io.Writer; import org.apache.struts2.components.Component; import com.opensymphony.xwork2.util.ValueStack; /** * * @parameter str:java.lang.String len:java.lang.Integer * @说明:对字符串str进行判读,如果长度大于len,就截取len长度+“...”;打印结果 */ public class SubStringLogic ...
import jxl.Workbook; import jxl.format.Colour; import jxl.format.UnderlineStyle; import jxl.write.Label; import jxl.write.WritableCellFormat; import jxl.write.WritableFont; import jxl.write.WritableSheet; import jxl.write.WritableWorkbook; import jxl.write.WriteException; import jxl.write.biff.RowsEx ...
<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%><%@include file="/common/commons.jsp"%><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html> ...
<script type="text/javascript"> // submit      $(function(){        $("#id_save").click(function(){         if(chkform()){         // alert('submit()');         $("form").attr("action","<%=request.getContextPath()%>/tmlportal/tml_saveUserDefine ...
//  文件删除,可以根据 传入的路径  删除 指定的目录或文件 public static void delFile(String delpath) throws DomainServiceException { File file = new File(delpath); if (!file.isDirectory()) { file.delete(); } else if (file.isDirectory()) { String[] filelist = file.list(); for (int i = 0; i < filelist.le ...
Global site tag (gtag.js) - Google Analytics