java - How do I change the text of a paragraph using servlet? -
i have paragraph id = story
, want change text dynamically using servlet. how do this? i'm new , using getwriter().println()
seems create new document instead of appending existing one. thanks
simple answer - can't.
server-side code cannot change response has been sent client. change text inside html tag, use javascript on browser.
Comments
Post a Comment