content « String « JSP-Servlet Q&A

1. Including the content of HTML page as String in JSP

here is my problem. I need to include the content of some HTML page(template) in some string in jsp file, so I could iterate threw it, parse it, and use just ...

2. Eclipse Java Servlet, can't change content in string

resp.getWriter().println("hello world"); After running this, the servlet didn't print "hello world"