FS4-About Taglib

1、About html:form
Q:When I write <form name=“xx“ action=““></form> sth else,sth taglib inside,what's the happening?
A:Bean not found in anyscope.Because text is an form object.
   Above all must be write:
<%@ page contentType="text/html; charset=UTF-8" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/struts-template.tld" prefix="template" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

2、About weblogic display
Q:Why should i visit tow times my new pages when i edit and want to know that view?
A:I think weblogic have some problems,but i don't know i must change anywhere.

3、About ApplicationResources
Q:What's the topic?
A:When you edit your ApplicationResources.properties file,you must be restart your weblogic service.it make me feels Gloomy.

4、Logic Tags
Q:How about logic tags?
A:Struts的logic標籤庫包含用於控制輸出文本條件、對集合跌迭代以及應用流程控制方面的標籤,該標籤中的大部分標籤功能在JSTL的core標籤庫中有相同或類似功能的標籤。

notEmpty
notEmpty標籤的作用是進行輸出條件判斷,當標籤中指定屬性部位null且不是空字符串時,對標籤體內容輸出,否則不輸出任何內容。
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章