8. Results in detail Flashcards

1
Q

What interface do you need to implement to make a custom result?

A

Result

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How do you configure a new result type?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How would you configure a result type as default in a package?

A

When defining the result-type, just set default=”true”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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}

How well did you know this?
1
Not at all
2
3
4
5
Perfectly