8. Results in detail Flashcards
1
Q
What interface do you need to implement to make a custom result?
A
Result
2
Q
How do you configure a new result type?
A
3
Q
Assume you have a result-type ‘customJSON’ how would you configure a result on an action to use this type?
A
If it’s the package default type, do nothing. Else we need to set type=”customJSON”
4
Q
How would you configure a result type as default in a package?
A
When defining the result-type, just set default=”true”
5
Q
What’s the difference between OGNL in our jsp pages and OGNL in our xml?
A
JSP forcing OGNL expression is %{expression}
XML we need to use ${expression}