I have a servlet that processes some content from the web and generates a String value. I need to display this String value in a html page within a table tag.
How do I pass this string value from servlet using the setAttribute method and getrequestdispatcher method?
Thanks
Abhishek S
You can pass the data from servlet to JSP (not HTML) using request forward and by setting data as attribute in request and then on JSP you can render those data to generate HTML
See