The Kotlin Portlet sample provides an input form that accepts a name. Once submitting a name, the portlet renders a greeting message.
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
This sample is built with the following build tools: