Running your first Strut2 Action

  1. Update your struts.xml to this one.
  2. You will see you need the following classes and JSP found here to run the application
  3. Try running the following and check your results. Make sure you can explain the answers

    http://localhost:8080/social/initial?parameter1=dog&parameter2=cat
    http://localhost:8080/social/initial?parameter1=dog&parameter2=error

  4. Update your application so ANY error attempt to run the initial action generates your own error page.