Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

to begin

 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
I am confused, can someone help me with this:
�Retrieve a servlet initialization parameter
�Acquire a text stream for the response
�Acquire a binary stream for the response
Thank you in advance.
 
Gaurav Chugh
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there
Use these methds
String initParamValue =getServletConfig.getInitParameter(String name)
Text Stream - PrintWriter out = HttpServletServletResponse.getWriter();
Binary stream -
ServletOutputStream out = HttpServletServletResponse.getOutStream();
and moreover refer this link for all kind of resource http://www.javaranch.com/scwcdlinks.jsp
I hope this helps u .


------------------
with warm regards
..gaurav
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic