The Kotlin Portlet sample provides an input form that accepts a name. Once submitting a name, the portlet renders a greeting message.
What API(s) and/or code components does this sample highlight?
How does this sample leverage the API(s) and/or code component?
This sample uses the MVC Action Command’s
processAction(...) method to process the inputted text (i.e., name). The text is set as an attribute in the
KotlinGreeterActionCommandKt.kt class using an
ActionRequest and then is retrieved in the JSP using a
Where Is This Sample?
This sample is built with the following build tools: