getting HTML response by requesting a JSP from a Servlet
770658Jan 7 2011 — edited Jan 12 2011Hi All,
I am trying to achieve below
ServletA{
ServletB.service(req,res)
}
ServletB{
service(req,res){
// step 1 -send request for JSP and get the HTML response
// step 2 -send the HTML response(as String object) to a web service Integration API
}
}
However, I am not able to find a way of how to get the HTML response in step 1.
Any suggestions, links,references are highly appreciated.
Thanks-
Josh