Forums Register Login

Servlets Only Web Application

+Pie Number of slices to send: Send
Hi

I have to make a chat web app. using only servlets. So all the display part is done using pw.println() on the response.

Now the issue is i want the text area to scroll down automatically as soon a i enter the message which in appended to the text area each time i submit the message.

Thanks
+Pie Number of slices to send: Send
The way to control the behavior of the browser display is with code on the browser side - ie JavaScript. Using JavaScript to get fresh data from the server side to modify the display is commonly called AJAX style programming. Go see our HTML and JavaScript forum.

Bill
+Pie Number of slices to send: Send
Thanks
I would try AJAX Style programming....[ ]
Tell me how it all turns out. Here is a tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 710 times.
Similar Threads
setting font for applet
Get typed text in textarea on autorefresh
Update text area values without page reload
Enabling a check box based on the position of scroll bar in a text area..
How to set value of html textarea tag
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 01:58:10.