Hi All,
I got a situation to transfer values from jsp to servlet's action class. Previously we did it using
<input type="hidden" id="name" value="manoj" />
we take this value in action class by request.getParameter("name")
. But now we couldn't pass value like
"Hi\n
i am\n
Manoj".
Since it has new line included in the string we couldn't take it like this to action. So how I can take value like this to action or is there any way other than hidden input?
Thanks .