2010年5月4日 星期二

JSP: statement


<%@ include file="a.jsp"%>

=

<jsp:directive.include file="a.jsp"/>

<%x=1;%>

=

<jsp:scriptlet>x=1;</jsp:scriptlet>

<%=x%>
=

<jsp:expression>x</jsp:expression>

<jsp:usebean id="fruit type ="String"/>
=

<jsp:usebean id="fruit type ="String" beanName="Fruit"/>

沒有留言: