• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to get response object

 
ajse ruku
Ranch Hand
Posts: 196
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
When we invoke a servlet through java code using URLConnection and getting inputstream associated with that connection ,is there any way we can get the actual HttpServletResponse object of the servlet,which we have invoked?

with regards,
ajse
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No, the objects in the javax.servlet package all live on the server.
They never get sent to the browser.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!