国产电影一区二区三区,色男人天堂综合再现,国产精品7m凸凹视频分类http://www.aygfsteel.com/xcp/category/33480.html茍有恒,何必三更起五更眠;<br/>最無益,只怕一日曝十日寒.zh-cnSun, 05 Aug 2012 21:12:15 GMTSun, 05 Aug 2012 21:12:15 GMT60struts2和servlet的共存問題http://www.aygfsteel.com/xcp/archive/2012/08/05/384824.htmlxcpxcpSun, 05 Aug 2012 09:24:00 GMThttp://www.aygfsteel.com/xcp/archive/2012/08/05/384824.htmlhttp://www.aygfsteel.com/xcp/comments/384824.htmlhttp://www.aygfsteel.com/xcp/archive/2012/08/05/384824.html#Feedback0http://www.aygfsteel.com/xcp/comments/commentRss/384824.htmlhttp://www.aygfsteel.com/xcp/services/trackbacks/384824.html先看一下struts2 的web.xml文件:
<filter>
<filter-name>struts2</filter-name>
<filter-class>
org.apache.struts2.dispatcher.FilterDispatcher
</filter-class>
</filter>

<filter-mapping>
<filter-name>struts2</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
在請求應用時,struts2將會截獲所有請求,對于servlet請求將不能夠正常相應,是struts2把servlet當成action了,因為servlet和action都是沒有后綴的


解決方法目前有四種:

方法1:統(tǒng)一在servlet后面加上.servlet(包括web.xml配置文件中和頁面上使用servlet的地方)

方法2:繼承StrutsPrepareAndExecuteFilter,實現(xiàn)以下兩個方法。

public void init(FilterConfig filterConfig) throws
ServletException {
      ..............................

}

public void doFilter(ServletRequest request, ServletResponse response,
FilterChain chain) throws
IOException, ServletException {
...............................
if(url.contain("servlet")){
((HttpServletResponse) response).sendRedirect(redirectUrl);
}

super.doFilter(request, response, chain);


}


方法3:修改攔截頁面配置
原:
<filter>
<filter-name>struts2</filter-name>
<filter-class>
org.apache.struts2.dispatcher.FilterDispatcher
</filter-class>
</filter>
<filter-mapping>
<filter-name>struts2</filter-name>
<url-pattern>
/* </url-pattern>
</filter-mapping>

現(xiàn):

<filter-mapping>

<filter-name>struts2</filter-name>

<url-pattern>*.action</url-pattern>
</filter-mapping>
<filter-mapping>

<filter-name>struts2</filter-name>

<url-pattern>*.jsp</url-pattern>
</filter-mapping>
<filter-mapping>

<filter-name>struts2</filter-name>

<url-pattern>/user/*</url-pattern>
</filter-mapping>


servlet的請求路徑不必改變


方法4:在struts.xml文件中修改

struts2攔截了servlet請求的解決 

……



xcp 2012-08-05 17:24 發(fā)表評論
]]>
struts2 Interceptorhttp://www.aygfsteel.com/xcp/archive/2010/07/24/327026.htmlxcpxcpSat, 24 Jul 2010 10:29:00 GMThttp://www.aygfsteel.com/xcp/archive/2010/07/24/327026.html        1.實現(xiàn)攔截器類一般可以實現(xiàn)com.opensymphony.xwork2.interceptor.Interceptor接口
       2.直接繼承AbstractInterceptor類
       3.Struts2還提供了一個MethodFilterIntercepter類,該類是AbstractInterceptor類的子類,如果你需要實現(xiàn)的攔截器支持方法過濾性,就繼承MethodFilterIntercepter這個類(說白了就是給action中指定的方法加攔截)


xcp 2010-07-24 18:29 發(fā)表評論
]]>
STRUTS2 標簽調(diào)用靜態(tài)方法http://www.aygfsteel.com/xcp/archive/2010/06/13/323518.htmlxcpxcpSun, 13 Jun 2010 07:07:00 GMThttp://www.aygfsteel.com/xcp/archive/2010/06/13/323518.htmlhttp://www.aygfsteel.com/xcp/comments/323518.htmlhttp://www.aygfsteel.com/xcp/archive/2010/06/13/323518.html#Feedback0http://www.aygfsteel.com/xcp/comments/commentRss/323518.htmlhttp://www.aygfsteel.com/xcp/services/trackbacks/323518.html今天在做項目的時候,遇著要調(diào)用靜態(tài)方法去處理一些數(shù)據(jù),因為沒有用使用過,所以GOOGLE了一下,網(wǎng)上有很多像:

<s:set name="post" value="@edu.mobile.company.function.GetJobPost@getJobHTML()" />

${post}

這樣就能在表示頁面顯示出來。

但是還有一種情況就是需要調(diào)用一個含有參數(shù)的靜態(tài)方法怎么辦?

在網(wǎng)上找了N久,都無果,最后查閱相關OGNL文檔,嘗試能使用下面方法可行:

來源:(http://blog.sina.com.cn/s/blog_553d5e730100egr7.html) - STRUTS2 標簽調(diào)用靜態(tài)方法_roteson_新浪博客

<s:set name="post" value="@edu.mobile.company.function.GetJobPost@getJobHTML(#session.username)" />

${post}

 或者

<s:set name="job" value="#session.jobdata" />

<s:set name="post" value="@edu.mobile.company.function.GetJobPost@getJobHTML(#job)" />

${post}



xcp 2010-06-13 15:07 發(fā)表評論
]]>
中文支持問題http://www.aygfsteel.com/xcp/archive/2010/05/23/321648.htmlxcpxcpSun, 23 May 2010 02:46:00 GMThttp://www.aygfsteel.com/xcp/archive/2010/05/23/321648.htmlhttp://www.aygfsteel.com/xcp/comments/321648.htmlhttp://www.aygfsteel.com/xcp/archive/2010/05/23/321648.html#Feedback0http://www.aygfsteel.com/xcp/comments/commentRss/321648.htmlhttp://www.aygfsteel.com/xcp/services/trackbacks/321648.html document.body.oncopy = function() { if (window.clipboardData) { setTimeout(function() { var text = clipboardData.getData("text"); if (text && text.length > 300) { text = text + "\r\n\n本文來自CSDN博客,轉(zhuǎn)載請標明出處:" + location.href; clipboardData.setData("text", text); } }, 100); } } 1、JSP頁面顯示的中文問題
這是最初級的東西,網(wǎng)上到處都有,不過還是列一下吧:
Page的第一行改成:<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
Head里加:<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

2.struts2里面配置,不過默認就是utf-8
  <constant name="struts.i18n.encoding" value="utf-8"></constant>

3.但是有的時候雖然配置了struts2,但是有時候還是出現(xiàn)亂碼,比如struts2,1.6就是,所以我們最好在struts2過濾之前就已經(jīng)將數(shù)據(jù)過濾了一次
在這我們可以自己實現(xiàn)或者用spring都可以
 
<filter>
        
<filter-name>CharacterEncodingFilter</filter-name>
        
<filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class>
        
<init-param>
            
<param-name>encoding</param-name>
            
<param-value>UTF-8</param-value>
        
</init-param>
        
<init-param>
            
<param-name>forceEncoding</param-name>
            
<param-value>true</param-value>
        
</init-param>
    
</filter>
    
<filter-mapping>
        
<filter-name>CharacterEncodingFilter</filter-name>
        
<url-pattern>/*</url-pattern>
    
</filter-mapping>   

      其實任何的interceptor機制都可以處理這個的,不管用Webwork還是Spring的interceptor,甚至用AOP,只要在取參數(shù)前 加那么一句:request.setCharacterEncoding("utf-8");就行了。以前我用struts就是在它的 RequestProcessor的populate之前加了這么一行。
  
     4. request 的parameter里要傳中文參數(shù)的問題
     這個問題跟Web Container有關系,記得以前我同學用WebLogic時好象沒出現(xiàn)這樣的問題。(Tomcat里的解決方案是在server.xml里 Connector port="8080"的attribute里加URIEncoding="utf-8"
當然還有最土的解決方案,雖然不太會用到,不過還是列出來,以備最無奈的時候使用:
String encodeStr=new String(fieldValue.getBytes("8859_1"), "utf-8");


xcp 2010-05-23 10:46 發(fā)表評論
]]>
struts2中的標簽http://www.aygfsteel.com/xcp/archive/2010/05/03/319973.htmlxcpxcpMon, 03 May 2010 14:03:00 GMThttp://www.aygfsteel.com/xcp/archive/2010/05/03/319973.htmlhttp://www.aygfsteel.com/xcp/comments/319973.htmlhttp://www.aygfsteel.com/xcp/archive/2010/05/03/319973.html#Feedback2http://www.aygfsteel.com/xcp/comments/commentRss/319973.htmlhttp://www.aygfsteel.com/xcp/services/trackbacks/319973.html struts2中的標簽

struts2.0的標簽庫(簡介)
用過struts1.x的人都知道,標簽庫有html、bean、logic、tiles,
而struts2.0里的標簽卻沒有分類,只用在jsp頭文件加上
<%@ taglib prefix="s" uri="/struts-tags" %>
就能使用struts2.0的標簽庫

下面就介紹下每個標簽的用法(有錯請指正):

A:

<s:a href=""></s:a>-----超鏈接,類似于html里的<a></a>
<s:action name=""></s:action>-----執(zhí)行一個view里面的一個action
<s:actionerror/>-----如果action的errors有值那么顯示出來
<s:actionmessage/>-----如果action的message有值那么顯示出來
<s:append></s:append>-----添加一個值到list,類似于list.add();
<s:autocompleter></s:autocompleter>-----自動完成<s:combobox>標簽的內(nèi)容,這個是ajax

B:
<s:bean name=""></s:bean>-----類似于struts1.x中的,JavaBean的值

C:
<s:checkbox></s:checkbox>-----復選框
<s:checkboxlist list=""></s:checkboxlist>-----多選框
<s:combobox list=""></s:combobox>-----下拉框
<s:component></s:component>-----圖像符號

D:
<s:date/>-----獲取日期格式
<s:datetimepicker></s:datetimepicker>-----日期輸入框
<s:debug></s:debug>-----顯示錯誤信息
<s:div></s:div>-----表示一個塊,類似于html的<div></div>
<s:doubleselect list="" doubleName="" doubleList=""></s:doubleselect>-----雙下拉框

E:
<s:if test=""></s:if>
<s:elseif test=""></s:elseif>
<s:else></s:else>-----這3個標簽一起使用,表示條件判斷

F:
<s:fielderror></s:fielderror>-----顯示文件錯誤信息
<s:file></s:file>-----文件上傳
<s:form action=""></s:form>-----獲取相應form的值

G:
<s:generator separator="" val=""></s:generator>----和<s:iterator>標簽一起使用

H:
<s:head/>-----在<head></head>里使用,表示頭文件結(jié)束
<s:hidden></s:hidden>-----隱藏值

I:
<s:i18n name=""></s:i18n>-----加載資源包到值堆棧
<s:include value=""></s:include>-----包含一個輸出,servlet或jsp頁面
<s:inputtransferselect list=""></s:inputtransferselect>-----獲取form的一個輸入
<s:iterator></s:iterator>-----用于遍歷集合

L:
<s:label></s:label>-----只讀的標簽

M:
<s:merge></s:merge>-----合并遍歷集合出來的值

O:
<s:optgroup></s:optgroup>-----獲取標簽組
<s:optiontransferselect doubleList="" list="" doubleName=""></s:optiontransferselect>-----左右選擇框

P:
<s:param></s:param>-----為其他標簽提供參數(shù)
<s:password></s:password>-----密碼輸入框
<s:property/>-----得到'value'的屬性
<s:push value=""></s:push>-----value的值push到棧中,從而使property標簽的能夠獲取value的屬性

R:

<s:radio list=""></s:radio>-----單選按鈕
<s:reset></s:reset>-----重置按鈕


S:
<s:select list=""></s:select>-----單選框
<s:set name=""></s:set>-----賦予變量一個特定范圍內(nèi)的值
<s:sort comparator=""></s:sort>-----通過屬性給list分類
<s:submit></s:submit>-----提交按鈕
<s:subset></s:subset>-----為遍歷集合輸出子集

T:
<s:tabbedPanel id=""></s:tabbedPanel>-----表格框
<s:table></s:table>-----表格
<s:text name=""></s:text>-----I18n文本信息
<s:textarea></s:textarea>-----文本域輸入框
<s:textfield></s:textfield>-----文本輸入框
<s:token></s:token>-----攔截器
<s:tree></s:tree>-----樹
<s:treenode label=""></s:treenode>-----樹的結(jié)構(gòu)

U:
<s:updownselect list=""></s:updownselect>-----多選擇框
<s:url></s:url>-----創(chuàng)建url

xcp 2010-05-03 22:03 發(fā)表評論
]]>
Struts2中select/doubleselect標簽數(shù)據(jù)顯示 http://www.aygfsteel.com/xcp/archive/2010/05/03/319961.htmlxcpxcpMon, 03 May 2010 10:35:00 GMThttp://www.aygfsteel.com/xcp/archive/2010/05/03/319961.htmlhttp://www.aygfsteel.com/xcp/comments/319961.htmlhttp://www.aygfsteel.com/xcp/archive/2010/05/03/319961.html#Feedback0http://www.aygfsteel.com/xcp/comments/commentRss/319961.htmlhttp://www.aygfsteel.com/xcp/services/trackbacks/319961.html閱讀全文

xcp 2010-05-03 18:35 發(fā)表評論
]]>
一個異常:Caused by: java.lang.UnsupportedClassVersionError: Bad version number in .class file (unable to load class com.rssReader.struts.form.RssReaderForm)http://www.aygfsteel.com/xcp/archive/2010/03/22/316147.htmlxcpxcpMon, 22 Mar 2010 04:51:00 GMThttp://www.aygfsteel.com/xcp/archive/2010/03/22/316147.htmlhttp://www.aygfsteel.com/xcp/comments/316147.htmlhttp://www.aygfsteel.com/xcp/archive/2010/03/22/316147.html#Feedback5http://www.aygfsteel.com/xcp/comments/commentRss/316147.htmlhttp://www.aygfsteel.com/xcp/services/trackbacks/316147.htmljava.lang.UnsupportedClassVersionError: Bad version number in .class file 異常,檢查了一下我的MyEclipse6.0配置,發(fā)現(xiàn)在MyEclipse里面給Tomcat 配置的JDK是其默認的MyEclipse6.0 ,將其修改為JDK6.0 試了一下,結(jié)果OK, 所以就是這個問題引起。

       具體解決辦法 :在myEclipse中改變編譯器的方法

Window->Proerence->MyEclipse->Servers->Tomcat->Tomcat 6.x->JDK

在Tomcat JDK name中選擇jdk1.6.0

PS:因為Tomcat6.0需要jdk1.6.0以上版本支持 , 但是MyEclipse6.0的jdk版本是5.0 的, 所以會出現(xiàn)這個異常。

       另外還有個地方最好也要設置最新版本JDK,

Window->Proerence->Java->Installed JARs->JDK .在這里可以添加需要的Jdk。



xcp 2010-03-22 12:51 發(fā)表評論
]]>
strtus2 批量下載 中文問題、壓縮文件等 ------ 討論struts2工作流程http://www.aygfsteel.com/xcp/archive/2009/10/30/downloadList.htmlxcpxcpFri, 30 Oct 2009 15:52:00 GMThttp://www.aygfsteel.com/xcp/archive/2009/10/30/downloadList.htmlhttp://www.aygfsteel.com/xcp/comments/300435.htmlhttp://www.aygfsteel.com/xcp/archive/2009/10/30/downloadList.html#Feedback7http://www.aygfsteel.com/xcp/comments/commentRss/300435.htmlhttp://www.aygfsteel.com/xcp/services/trackbacks/300435.html閱讀全文

xcp 2009-10-30 23:52 發(fā)表評論
]]>
struts2 get 請求 下載 中文處理http://www.aygfsteel.com/xcp/archive/2009/10/29/download2.htmlxcpxcpThu, 29 Oct 2009 13:47:00 GMThttp://www.aygfsteel.com/xcp/archive/2009/10/29/download2.htmlhttp://www.aygfsteel.com/xcp/comments/300264.htmlhttp://www.aygfsteel.com/xcp/archive/2009/10/29/download2.html#Feedback0http://www.aygfsteel.com/xcp/comments/commentRss/300264.htmlhttp://www.aygfsteel.com/xcp/services/trackbacks/300264.html 1. encodeURI將文本以utf-8的編碼,具體參見隨筆js對文字進行編碼涉及3個函數(shù):escape,encodeURI,encodeURIComponent的區(qū)別
例:encodeURI("download.action?filenames="+filenames+"&filepaths="+filepaths);

2.但后臺與用戶交互的時候,如彈出下載對話時要想正確的顯示中文文件名,我們需要對字端再次編碼 也就是對get方法進行編碼設置,否則中文名文件將出現(xiàn)亂碼,或無法下載的情況
例:public String getFilename() {
          try {
                return new String(filename.getBytes(), "ISO-8859-1");
         } catch (UnsupportedEncodingException e) {
               e.printStackTrace();
               return filename;
        }
    }

3.  配置tomcat/conf/server.xml
  如:  <Connector port="8080" protocol="HTTP/1.1"    connectionTimeout="20000"                redirectPort="8443" URIEncoding="UTF-8" />

xcp 2009-10-29 21:47 發(fā)表評論
]]>
Struts2操作request、session和application對象http://www.aygfsteel.com/xcp/archive/2009/10/23/struts2_actionContext1.htmlxcpxcpThu, 22 Oct 2009 17:46:00 GMThttp://www.aygfsteel.com/xcp/archive/2009/10/23/struts2_actionContext1.htmlhttp://www.aygfsteel.com/xcp/comments/299439.htmlhttp://www.aygfsteel.com/xcp/archive/2009/10/23/struts2_actionContext1.html#Feedback0http://www.aygfsteel.com/xcp/comments/commentRss/299439.htmlhttp://www.aygfsteel.com/xcp/services/trackbacks/299439.htmlStruts 2提供了多種方式來訪問上述的三種對象,歸結(jié)起來,可以劃分為兩大類:與Servlet API解耦的訪問方式和與Servlet API耦合的訪問方式。

與Servlet API解耦的訪問方式(IoC方式)

為了避免與Servlet API耦合在一起,方便Action類做單元測試,Struts 2對HttpServletRequest、HttpSession和ServletContext進行了封裝,構(gòu)造了三個Map對象來替代這三種對象, 在Action中,直接使用HttpServletRequest、HttpSession和ServletContext對應的Map對象來保存和讀取 數(shù)據(jù)。

要獲取這三個Map對象,可以使用com.opensymphony.xwork2.ActionContext類,ActionContext 是action執(zhí)行的上下文,在ActionContext中保存了action執(zhí)行所需的一組對象,包括parameters、request、 session、application和locale等。ActionContext類定義了如下方法,用于獲取 HttpServletRequest、HttpSession和ServletContext對應的Map對象。

Ø public Object get(Object key)

ActionContext類沒有提供類似getRequest()這樣的方法來獲取封裝了HttpServletRequest的Map對象。要得到請求Map對象,你需要為get()方法傳遞參數(shù)“request”。

Ø public Map getSession()

獲取封裝了HttpSession的Map對象。

Ø public Map getApplication()

獲取封裝了ServletContext的Map對象。

我們看 通過ActionContext來獲取request、session和application對象的LoginAction1

1
            2
            3
            4
            5
            6
            7
            8
            9
            10
            11
            12
            13
            14
            15
            16
            17
            18
            19
            20
            21
            22
            23
            24
            25
            26
            27
            28
            29
            30
            31
            32
            33
            34
            35
            36
            37
            38
            39
            40
            41
            42
            43
            44
            45
            46
            47
            48
            49
            50
            51
            52
            53
            54
            55
            56
            57
            58
            59
            60
            61
            62
            63
            64
            65
            66
            67
            68
            69
            
package action;
             
            import java.util.Map;
             
            import dbPackage.User;
             
            import com.opensymphony.xwork2.Action;
             
            import com.opensymphony.xwork2.ActionContext;
             
            public class LoginAction1 implements Action
             
            {   private User user;
             
            public User getUser()
             
            { return user;
             
            }
             
            public void setUser(User user)
             
            { this.user = user;
             
            }
             
            @SuppressWarnings("unchecked")
             
            @Override
             
            public String execute() throws Exception
             
            {
             
            if("zhangsan".equals(user.getUsername())&& "1234".equals(user.getPassword()))
             
            { ActionContext context = ActionContext.getContext();
             
            Map request = (Map)context.get("request");
             
            Map session = context.getSession();
             
            Map application = context.getApplication();
             
            //在請求中放置歡迎信息。
             
            request.put("greeting", "歡迎您來到程序員之家");
             
            //在session中保存user對象
             
            session.put("user", user);
             
            //統(tǒng)計用戶訪問量,在application中保存用戶訪問量數(shù)據(jù)
             
            Integer count = (Integer)application.get("counter");
             
            if(null == count) count=1;
             
            else count++;
             
            application.put("counter", count);
             
            return SUCCESS;
             
            }else {
             
            return ERROR;
             
            } }}

在成功頁面中,可以使用JSP內(nèi)置的表達式語言來訪問request、session和application范圍的數(shù)據(jù),代碼如例3-12所示。

例3-12 success.jsp

1
            2
            3
            4
            5
            6
            7
            8
            9
            10
            11
            12
            13
            14
            15
            
<%@ page contentType="text/html;charset=GBK" %>
             
            <html>
             
            <head><title>歡迎頁面</title></head>
             
            <body>
             
            <h3>${sessionScope.user.username},${requestScope.greeting}。<br>
             
            本站的訪問量是:${applicationScope.counter}</h3>
             
            </body>
             
            </html>

與Servlet API耦合的訪問方式(非IoC方式)

要獲得上述對象,關鍵Struts 2.0中com.opensymphony.xwork2.ActionContext類。我們可以通過它的靜態(tài)方法getContext()獲取當前 Action的上下文對象。 另外,org.apache.struts2.ServletActionContext作為輔助類(Helper Class),可以幫助您快捷地獲得這幾個對象。

HttpServletRequest request = ServletActionContext.getRequest();
HttpServletResponse response = ServletActionContext.getResponse();
HttpSession session = request.getSession();

如果你只是想訪問session的屬性(Attribute),你也可以通過ActionContext.getContext().getSession()獲取或添加session范圍(Scoped)的對象。



本文轉(zhuǎn)載于:http://www.emool.cn/archives/y2009/318.html



xcp 2009-10-23 01:46 發(fā)表評論
]]>
嚴重: Exception starting filter Struts2 Caught exception while loading file struts-default.xmlhttp://www.aygfsteel.com/xcp/archive/2008/09/23/struts2error1.htmlxcpxcpTue, 23 Sep 2008 13:49:00 GMThttp://www.aygfsteel.com/xcp/archive/2008/09/23/struts2error1.htmlhttp://www.aygfsteel.com/xcp/comments/230764.htmlhttp://www.aygfsteel.com/xcp/archive/2008/09/23/struts2error1.html#Feedback15http://www.aygfsteel.com/xcp/comments/commentRss/230764.htmlhttp://www.aygfsteel.com/xcp/services/trackbacks/230764.html嚴重: Exception starting filter struts2
Caught exception while loading file struts-default.xml - [unknown location]
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadConfigurationFiles(XmlConfigurationProvider.java:839)
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadDocuments(XmlConfigurationProvider.java:131)
at com.opensymphony.xwork2.config.providers.XmlConfi  閱讀全文

xcp 2008-09-23 21:49 發(fā)表評論
]]>
struts2整合spring應用實例http://www.aygfsteel.com/xcp/archive/2008/09/13/s2s.htmlxcpxcpSat, 13 Sep 2008 09:34:00 GMThttp://www.aygfsteel.com/xcp/archive/2008/09/13/s2s.htmlhttp://www.aygfsteel.com/xcp/comments/228740.htmlhttp://www.aygfsteel.com/xcp/archive/2008/09/13/s2s.html#Feedback9http://www.aygfsteel.com/xcp/comments/commentRss/228740.htmlhttp://www.aygfsteel.com/xcp/services/trackbacks/228740.html
一、準備工作

1.實例分析我們在這不與數(shù)據(jù)庫打交道,所有就是當用登錄的時候判斷用戶名是否為指定值,密碼是否為指定值,以及相關的異常處理、
2.為什么我們要說struts2整合spring呢?相信在家都知道,我也不用多說了....
4.在 http://struts.apache.org/download.cgi#struts212下載struts2的jar包,源碼,API文檔.
5.在 http://static.springframework.org/downloads/nightly/release-download.php下載不同版本的spring的jar包,源碼,API文檔.
  閱讀全文

xcp 2008-09-13 17:34 發(fā)表評論
]]>
整合Struts2+JasperReport Web報表應用示例2http://www.aygfsteel.com/xcp/archive/2008/09/13/jasperreport.htmlxcpxcpSat, 13 Sep 2008 07:18:00 GMThttp://www.aygfsteel.com/xcp/archive/2008/09/13/jasperreport.htmlhttp://www.aygfsteel.com/xcp/comments/228725.htmlhttp://www.aygfsteel.com/xcp/archive/2008/09/13/jasperreport.html#Feedback14http://www.aygfsteel.com/xcp/comments/commentRss/228725.htmlhttp://www.aygfsteel.com/xcp/services/trackbacks/228725.html
  閱讀全文

xcp 2008-09-13 15:18 發(fā)表評論
]]>
Struts2樹狀菜單實現(xiàn)http://www.aygfsteel.com/xcp/archive/2008/09/08/struts2Tree.htmlxcpxcpMon, 08 Sep 2008 09:09:00 GMThttp://www.aygfsteel.com/xcp/archive/2008/09/08/struts2Tree.htmlhttp://www.aygfsteel.com/xcp/comments/227774.htmlhttp://www.aygfsteel.com/xcp/archive/2008/09/08/struts2Tree.html#Feedback4http://www.aygfsteel.com/xcp/comments/commentRss/227774.htmlhttp://www.aygfsteel.com/xcp/services/trackbacks/227774.html一.概要:

這篇文章是自己在學習struts2時從struts2的官方英文文檔實例中整理出來的,此處介紹三種Struts2樹狀菜單的實現(xiàn)方式
分別是:靜態(tài),動態(tài),動態(tài)Ajax三種方式.
以下實例均在windowsXpsp2+Struts2+MyEcliplse6.01+Tomcat6.0.14+JDK1.6.0_03
下調(diào)試通過,項目名稱為study3,包名為com.zhang.struts3
  閱讀全文

xcp 2008-09-08 17:09 發(fā)表評論
]]>
主站蜘蛛池模板: 临沂市| 平凉市| 随州市| 峨边| 兰坪| 孝昌县| 鞍山市| 诸暨市| 麻江县| 鄂托克旗| 鄂州市| 塘沽区| 花垣县| 拉孜县| 长武县| 霍州市| 四会市| 广元市| 台江县| 孝感市| 齐河县| 元阳县| 旺苍县| 乐昌市| 南丰县| 武陟县| 苏尼特左旗| 永清县| 斗六市| 平昌县| 尤溪县| 襄汾县| 东兰县| 宜黄县| 盖州市| 安仁县| 页游| 遵义县| 永康市| 西青区| 马尔康县|