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

Tutorial Basic Apache Struts2

Tutorial Basic Apache Struts2
  • Create file web.xml (webapp/WEB-INF), tambahkan coding
  • Create file index.jsp (webapp), tambahkan coding:
    Tag <head>

    Tag <body>
  • Create file struts.xml (resources), tambahkan coding
  • create file log4j2.xml (resources), tambahkan coding
  • Oke Selesai, mari kita mulai jalankan programnya
  • Klik kanan project name >> Run As >> >> Maven Build… >> pada isian goals ketik “jetty:run” >> klik RUN
  • Buka browser http://localhost:8080
  • Selamat mencoba,

    salam berbagi,
    wijaksana

    Leave a Reply