Login
Register
MP Forum
|
MP Articles
|
Members
|
New Posts
|
Revenue Sharing
|
FAQ
|
Posting Guidelines
|
Resources
»
Madhya Pradesh Education
»
General Educational Information
Information About ServletResponse Interface and Their Initiation Methods in Java.
Posted Date:
09-Mar-2011
Category:
General Educational Information
Author:
roopa
Member Level:
Silver
Points
: 10 (
Rs
4)
This resource contain the information about ServletResponse Interface in Java.
ServeltResponse Interface
It is used to generate output for the client.
The methods of ServeltResponse Interface is
:-
1. Void setConType(String ContentType)
This method is used to set the content type according to which output is redirected back to the client.
2. ServletOutputStream getOutputStream() throws IllegelState Exception, IOException
This method is instantiated the object of Servlet OutputStream class type. The Servlet OutputStream object also helps to write the binary data back to the client. Servlet OutputStream class inherits java.io.outputStream class.
3. PrintWriter getWriter() throws IllegalStateException
This method is instantiated the object of java.io.PrintWriter class. This method may throw IllegalStateException, If the getOutputStream method is already invoke by the servletResponse object.
Did you like this resource? Share it with your friends and show your love!
Tweet
Responses to "Information About ServletResponse Interface and Their Initiation Methods in Java."
Feedbacks
Post Comment:
Notify me by email when others post comments to this article.
Do not include your name, "with regards" etc in the comment. Write detailed comment, relevant to the topic.
No HTML formatting and links to other web sites are allowed.
This is a strictly moderated site. Absolutely no spam allowed.
Name:
Sign In
to fill automatically.
Email:
(Will not be published, but
required
to validate comment)
Type the numbers and letters shown on the left.
Next Resource:
Information About ServletRequest Interface and Their Initiation Methods in Java.
Previous Resource:
Information About Servlet Interface and life cycle Methods in Java.
Return to Resources
Post New Resource
Category:
General Educational Information
Post resources and
earn money
!
More Resources
Let Us Know About Servlet in Java.
Let Us Know About E-Commerce
Let Us Know About HTML
Let Us Know About JavaScript
Education in Madhya Pradesh
Popular Tags
Tag posting guidelines
Search Tags
ServeltResponse
.
Hot Jobs in Madhya Pradesh
Vacancies 2012 for Engineers at IIM Indore
IIITM Gwalior Research Jobs for post JRF, SRF and RA
MP Discom Junior Engineer Recruitment 2012
Contests on MPSpider
No active contest running
Want Email Alerts?
Get Jobs by Email
Forum posts by Email
Articles by Email
Online members
More...
Awards & Gifts
Awards & Gifts
Active Members
Today
Last 7 Days
more...