When I //out.print("<BR> test "+dbEXDIR); using above code dbEXDIR values are like
test ADIL BELIHOMJI
test ADOLFO REYES
test ALDO P REY
But in the temp values for GetMIPS1.jsp?formEXDIR="+dbEXDIR getting truncated. that is only ADIL or ADOLFO or ALDO are displaying. Can anyone suggest me why this is getting truncated
No, that is not JSP code. It's Java code. Unless possibly it's Java code which was taken from a scriptlet... but I can't imagine why anybody would write to the response from inside a scriptlet. That's a really strange way to entirely miss the point of JSP.
No it's not. In this statement:
you are emitting static HTML inside a out.print() statement. The question is: why? It's completely backwards. The whole point of a JSP, as Paul pointed out, is to be able to use static HTML as template text.
You'll encounter fewer problems by doing things in the intended and best practice ways.