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

EOS6ÖÐÔÚJSPÒ³ÃæÖжÁÈ¡Ò³ÃæÁ÷ÖеÄDataObject¶ÔÏó


EOS6ÖÐÔÚJSPÒ³ÃæÖжÁÈ¡Ò³ÃæÁ÷ÖеÄDataObject¶ÔÏó
´úÂëÈçÏ£º
<%@page pageEncoding="UTF-8" import="java.util.*"%>
<%@page import="com.eos.web.taglib.util.*" %>
<%@page import="commonj.sdo.DataObject,commonj.sdo.Property" %>
<%@include file="/common/common.jsp"%>
<%@include file="/common/skins/skin0/component.jsp" %>
<html>
<!--
  - Author(s): lijd
  - Date: 2009-04-28 17:47:57
  - Description:
-->
<head>
<title>Title</title>
</head>
<body>
<%
Object root= com.eos.web.taglib.util.XpathUtil.getDataContextRoot("request", pageContext);
DataObject[] objs=(DataObject[])XpathUtil.getObjectByXpath(root,"outObjs");// "outObjs" ÎªÒ³ÃæÁ÷ÉϵÄXpath£¨DataObjectÊý×飩
   
int len  = objs.length;
String outStr = "Length:"+len+"CONTENT:";
for (int i =0;i<len;i++){
 List list=objs[i].getInstanceProperties();
 Iterator it=list.listIterator();
 while(it.hasNext()){
  Property pro=(Property)it.next();
  outStr=outStr+pro.getName()+"-"+objs[i].get(pro)+",";  
 }
 outStr=outStr+"|";
}
System.out.println(outStr);
%>
</body>
</html>


Ïà¹ØÎĵµ£º

JSPѧϰ£¨Ò»£©

JSP»ù±¾Óï·¨
´ó²¿·ÖJSP±»Ò»¸öÒÔ“<%” ¿ªÍ·ºÍÒÔ“%>”½áβµÄµÄ±ê¼ÇÀ¨ÔÚÆäÖС£ÔÚ¸üеÄJSP 1.1¹æ·¶³ǫ̈ºó£¬¾ÍÓÐÁËÓëXML¼æÈݵİ汾¡£
JSPÖ¸ÁîºÍ½Å±¾ÔªËØ
Directives <%@ directive %>
Declarations <%! declaration %>
Expressions <%= expression %>
Code Fragment/ ......

JSPÄÚÖöÔÏó¼°³£Ó÷½·¨

1.request¶ÔÏó
¿Í»§¶ËµÄÇëÇóÐÅÏ¢±»·â×°ÔÚrequest¶ÔÏóÖУ¬Í¨¹ýËü²ÅÄÜÁ˽⵽¿Í»§µÄÐèÇó£¬È»ºó×ö³öÏìÓ¦¡£ËüÊÇHttpServletRequestÀàµÄʵÀý¡£
ÐòºÅ ·½ ·¨ ˵ Ã÷
1 object getAttribute(String name) ·µ»ØÖ¸¶¨ÊôÐÔµÄÊôÐÔÖµ
2 Enumeration getAttributeNames() ·µ»ØËùÓпÉÓÃÊôÐÔÃûµÄö¾Ù
3 String getCharacterEncoding( ......

jsp¾ÅÖÖÄÚÖöÔÏó


JSP¾ÅÖÖÄÚÖöÔÏñ£¬²»Óö¨Òå¿ÉÖ±½ÓʹÓãºrequest,ÇëÇó¶ÔÏó£»response,ÏìÓ¦¶ÔÏó£»pageContext,Ò³ÃæÉÏÏÂÎĶÔÏó£»session,»á»°¶ÔÏó£»application,Ó¦ÓóÌÐò¶ÔÏó£»out,Êä³ö¶ÔÏó£»config,ÅäÖöÔÏó£»page,Ò³Ãæ¶ÔÏó£»exception£¬ÀýÍâ¶ÔÏó¡£
......

resin·þÎñÆ÷ÖÐͨ¹ýSSI°üº¬JSPÒ³Ãæ

1¡¢Ò»¡¢ÏÈÌáÌõ¼þ£º ÔÚweb.xmlÖмÓÒÔÏÂÓï¾ä£¨Ô­Òò²Î¿¼RESIN¹Ù·½Îĵµ£©    
<servlet>
         <servlet-name>SSIServlet</servlet-name>
        <servlet-class>com.caucho.servlets.ssi.SS ......

jsp ²¥·ÅÆ÷


windows Media Player 9.0ÍøÒ³²¥·ÅÆ÷
£¨mp3.wma.wmv.asf£©
ÒÔÏÂͼƬΪһ°ã²¥mp3.wmaÎļþʱµ÷ÓÃwindows×Ô´ø²¥·ÅÆ÷windows Midia Player9.0ËùÏÔʾÍâ¹Û£¬·Ç9.0°æËùÏÔʾµÄÃæ°åÍâ¹Û¿ÉÄܲ»Í¬£¡
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
´úÂë¼ò½é£º
width£¨²¥·ÅÆ÷Ãæ°å¿í¶È£©
height£¨²¥·ÅÆ÷Ãæ°å¸ß¶È£©
autostart£¨×Ô¶¯² ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ