Originally posted by Swathi Dharmavaram:
hii am new to JSP am trying a small code which takes data from a html page ,and connect it to a database .I got the result only for the first string i gave and the second time if i give another word ,the result is displaying the first result.Is there anything called Buffer in JSP which neeeded to be flushed before you give another???
Yes there is buffer in JSP in page directive.
Try to give autoFlush = true, set buffer size. By default buffer is 8kb.
For more information refer: