You are here
Home > Programming > Java > Struts2 > Tutorial Tiles Apache Struts2

Tutorial Tiles Apache Struts2

Tutorial Tiles Apache Struts2
  • Tambahkan file template.xml (src/main/resources), tambahkan script dibawah ini
  • Replace nama file “index.jsp” menjadi “index.html” (src/main/webapp), replace dengan script dibawah ini:
  • Download file “tiles-config_3_0.dtd” di url “http://tiles.apache.org/dtds/tiles-config_3_0.dtd” simpan di folder “src/main/webapp/dtds”
  • Create file “LayoutSatu.jsp” di folder “src/main/webapp/layout”, replace dengan script dibawah ini:
  • Create file “LayoutDua.jsp” di folder “src/main/webapp/layout”, replace dengan script dibawah ini:

  • Leave a Reply

    Top