Workplan Week Starting Oct 10

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... :)

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s