Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

¶ÁÈ¡excel£¨JXL£©¡¾Êä³öΪhtml¸ñʽ¡¿

package test;
import java.io.File;
import java.io.FileInputStream;
import java.io.InputStream;
import java.util.HashMap;
import java.util.Map;
import jxl.Cell;
import jxl.Range;
import jxl.Sheet;
import jxl.Workbook;
import jxl.format.Alignment;
import jxl.format.Border;
import jxl.format.CellFormat;
import jxl.format.Colour;
import jxl.format.VerticalAlignment;
public class JXLReadExcel {
 
 public static void main(String[] args){
  
  try {
   System.out.println(getExcelInfo("D:\\businessStat1.xls"));
   
   //getExcelInfo("D:\\businessStat1.xls");
   
   //getProperties();
   
   //toHexString();
  } catch (Exception e) {
   e.printStackTrace();
  }
 }
 
 private static String getExcelInfo(String path) throws Exception{
  
  StringBuffer sb = new StringBuffer();
  
  File sourcefile = new File(path);
  
  InputStream is = new FileInputStream(sourcefile);
  
  Workbook rwb = Workbook.getWorkbook(is);
  
  Sheet sheet = rwb.getSheet(0);
  
  int colnum = sheet.getColumns();
  
  int rownum = sheet.getRows();
  
  Map<String,String> map[] = getRowSpanColSpanMap(sheet);
  
  sb.append("<table border='0' cellspacing='1'>");
  
  for(int row = 0; row < rownum; row ++) {
   
   sb.append("<tr>");
   
   for(int col = 0; col < colnum; col ++) {
    
    Cell cell = sheet.getCell(col, row);
    
    String content = cell.getContents();
    
 &nbs


Ïà¹ØÎĵµ£º

Adobe·¢²¼HTML 5¿ª·¢¹¤¾ß »ùÓÚDreamweaver

Adobe·¢²¼HTML 5¿ª·¢¹¤¾ß »ùÓÚDreamweaver
 
Adobe¹«Ë¾ÔÚÉÏÖܾÙÐеÄGoogle I/O¿ª·¢Õß´ó»áÉÏ·¢²¼ÁËÃæÏò¿ª·¢ÕߺÍÉè¼ÆʦµÄHTML 5¹¤¾ß×飬Adobe HTML5 Pack¡£
 
Adobe HTML5 PackÊǶÔAdobe Dreamweaver CS5µÄÀ©Õ¹£¬ÎªAdobe Creative Suite 5 Óû§ÌṩÁ˸ü¶àµÄ´´ÔìÐÔ¹¦ÄÜ¡£Óû§¿ÉÒÔ¸üÇáËɵش´½¨ºÍÓÅ»¯Æä×÷Æ·¡£
&n ......

target±êÇ©ÊôÐÔµÄÒâÒåºÍÆäËûhtml³£Óñê¼Ç

½ñÌ죬×öÏîÄ¿µÄʱºòͻȻ¿´µ½<a target="_blank"></a>Õâ¸ö,¾ÍÍøÉϲéѯÁËÏ ¾ßÌåÈçÏ£¬»¹Ñ§µ½ÆäËû¶îÍâµÄ֪ʶ£¬(*^__^*) ÎûÎû……
targetÊÇ´ò¿ªÁ´½ÓʱÓÃʲôĿ±ê´ò¿ª£¬ÊÇÔÚд°¿ÚÖдò¿ª¾ÍÓÃtarget=_blank£¬ÔÚ¸¸´°¿ÚÖдò¿ª¾ÍÓÃtarget=_parent£¬ÔÚµ±Ç°´°¿ÚÖдò¿ª¾ÍÓÃtarget=_self,
target=_top±íʾÔÚ¶ ......

ÈçºÎʹÓÃHTML Help Workshop

ÈçºÎʹÓÃHTML Help Workshop
  ÓÃHTML Help WorkshopÖÆ×÷chmÎļþºÜ·½±ã£¬ÏÂÃæ¾ÍÒÔ“ÖлªËÑË÷±¦CHINASSB”µÄÈí¼þ˵Ã÷ΪÀý£¬½éÉÜÖÆ×÷µÄ¾ßÌå²½Öè¡£
  Ò»¡¢ÖÆ×÷Ç°µÄ×¼±¸¹¤×÷
  ÓÉÓÚchm°ïÖúÎļþÊÇ»ùÓÚHTMLÎļþÌØÕ÷µÄ£¬ËùÒÔÇ°ÆÚ±àдHTMLÎļþµÄ×¼±¸¹¤×÷ºÜÖØÒª¡£HTML Help WorkshopµÄ½ÇÉ«¾ÍÏñÊÇÒ»¸ö×ܹ ......

Html:frameset ʹÓÃÐĵà htmlµÄ¿ò¼Ü

À´×Ô£ºhttp://9host.cn/html/20074221602392654.html
×î½üÔÚ¸ãÍøÒ³±à³Ì£¬×ܽáÁËframeset µÄһЩʹÓü¼ÇÉ£¬¹©´ó¼Ò²Î¿¼Å¶£¬»¹ÊÇÏÈÆÊÎöһϿò¼Ü°É£¡
¡ö ¿ò¼Ü±ê¼Ç
¡¡¡¡<FRAMESET> <FRAME> 
¡¡¡¡<NOFRAMES> 
¡¡¡¡<IFRAME>
¡¡¡¡ÓûÃ÷°×±¾Æª¡¾HTML³¹µ×ÆÊÎö¡¿Ö®±ê¼Ç·ÖÀ࣬Çë¿´ ¡¾±ê¼ÇÒ»ÀÀ¡¿ ......

¹ØÓÚHTMLµÄFormµÄgetºÍpost


formĬÈϵÄÌá½»·½Ê½ÊÇget,ËùÒԺܶàʱºòÐèÒªÎÒÃÇ×Ô¼ºÖ¸¶¨methodΪpost
ʹÓÃgetµÄʱºò,action=ºóÃæ×Ô¼ºÐ´µÄ²ÎÊýÊÇÎÞ·¨´øµ½·þÎñÆ÷¶ËµÄ,ÇÒget·½Ê½Ìá½»formµÄʱºò,Êǽ«formÖеļüÖµÒÔ²ÎÊýµÄ·½Ê½Æ´µ½urlºóÃæµÄ.
post·½Ê½Ìá½»µÄ±íµ¥ÊÇ¿ÉÒÔ»ñÈ¡actionºóÃæ×Ô¼ºÐ´µÄ²ÎÊýµÄ.
Èç¹û±íµ¥ÖдæÔÚͬÃûµÄÏî,ÎÒÃÇ¿ÉÒÔͨ¹ýrequest.getPa ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ