This is a very very simple question and for some reason I am not able to solve it.
All I want for testing purpose if to provide a input textbox and then manipulate the input (say trim) and display it on the console using System.out.println and also assign to some bean in the back end.
I want something like this:
<input type="text" name="details" size="10">
<%=details.trim();%>
<dsp:setValue bean="Abean.details" paramValue="details"/>
DSP tag is a custom tag library so don;t worry about it. All I want is to print the input box contents and store it in request so that I can pass it to the bean without passing the whole form.
Thanks! Seek an immediate answer.
Start Free Trial