I have a liferay portlet where I want to take an input string and transfer/"get" it from the jsp into the portlet mvc class method. That string I want to use to search a database for some results and display a generated result string. I have tried a few of the setAttribute like methods of the renderRequest but it always gives a "null" result.
I start simply by inputting the initial string through a text input form and accessing it in the method.
<input type="text" name="<portlet:namespace/>class" id="<portlet:namespace/>class"/><br/>
String className = ParamUtil.getString(actionRequest, "class");
That part was successful.
Then I am able to create the string from the search results and want to know what is the best way to display the simple string through the jsp. i.e. how can I transport this generated string to the jsp page?