Search By Google
Komentar
    Kalender
    Nopember 2009
    S S R K J S M
    « Feb    
     1
    2345678
    9101112131415
    16171819202122
    23242526272829
    30  
    Ngobrol Yuks
    Category
    Buy Your Wordpress E-commerce Theme. Buy Now



    Proactol







    UniqueHoodia



    PenisHealth



    MoreNiche



    SizeGenetics



    AppStore Charts

    Archive for the ‘Struts’ Category

    Struts: Iterasi Map menggunakan tag

    Kamis, Nopember 13th, 2008

    How to get the information data from Map or SortedMap in your JSP page.
    Here is the example :

    1. Set iterator value with map.entrySet(), will get all the value set. Remember that the Set type is not sorted.


    2. This is how to get the key of Map.

    3. This is how to get the value of Map.

    Complete code :



    Struts : Perbedaan Tipe Result Chain dan Redirect action

    Rabu, Nopember 12th, 2008

    Chain result type is used for Action Chaining which means that the source result invokes an entire other action, complete with it’s own interceptor stack and result.

    Redirect Action result type is used to redirect to another Action which means making your source Action, after it has successfully executed, result in a redirect.

    As a rule, Action Chaining is not recommended. Redirect Result or the Redirect Action Result is preferred over Chain Result.