Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

getting HTML response by requesting a JSP from a Servlet

770658Jan 7 2011 — edited Jan 12 2011
Hi 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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 9 2011
Added on Jan 7 2011
18 comments
1,199 views