Win a copy of Classic Computer Science Problems in Swift this week in the iOS forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

explanation of ActionForward  RSS feed

 
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
Rancher
Posts: 3742
16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you have a question ?
 
Sunny Gibbony
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The following are my concerns/questions about the code posted:

1. Since ActionForward is a methion should it be lowercase (actionForward)?

2. where is says Is that naming ActionMapping to naming?
 
Sunny Gibbony
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Heh, you beat me before I could post them. thanks for checking it out.
 
Sunny Gibbony
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The question I had was supposed to be Is that naming ActionMapping to mapping?
 
Sheriff
Posts: 21308
87
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
First of all, ActionForward is the return type of the execute method, so nothing wrong with naming there.

Second, mapping is a parameter of type ActionMapping. So yes, you could say that the ActionMapping object is named mapping.

[ EJFH: fix obvious Freudian slip ]
[ May 19, 2008: Message edited by: Ernest Friedman-Hill ]
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!