Workplan Week Starting Oct 10

By

Published on

in

Goal for this Week: Learn Struts 2​

Action Items:

– Study Concepts and Do Exercises
– Finish at least 5 topics per day

Friday: Work with Struts 2: Personal Budgeting

 

Scheduled Meetings:
– Annual Review on Oct 13

 

What I have learned today:

Based on the errors I encountered while doing the exercises (or actually, mimicking the code), when using Struts 2, it is important to be vigilant with the proper matching of filenames and configurations in web.xml or struts.xml. In one exercise, I made use of annotations to "customize" the mapping of actions. Instead of implementing com.opensymphony.xwork2.Action, I ended the class name with the ‘Action’ word. I mistakenly named the action in the form (jsp file) to the default class name. So obviously, it didn’t work. Also, it is important to keep files in the correct directories. Like for example, I placed struts.xml in the /WEB-INF directory instead of putting it in the src directory.

I made mistakes to learn from. =)

Leave a comment… :)