GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Tech FAQs  >  Programming  >  J2EE
Go To First  |  Previous Question  |  Next Question 
 J2EE  |  Question 84 of 216    Print  
Hi..Friends.
Recently in an interview..recruiter asked me a question..

both httpservletrequest and httpservletresponse are interfaces....then how a container creates objects for that interfaces...? friends....can u clarify me?

  
Total Answers and Comments: 1 Last Update: August 04, 2006     Asked by: venkat chowdary 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
August 03, 2006 17:16:32   #1  
Naga        

RE: Hi..Friends.Recently in an interview..recrui...
I don't think we will ever do x new HttpservletRequest(); Which is really creating an object.We just use a reference variable of type HttpServletRequest and Response.
 
Is this answer useful? Yes | No

 Related Questions

Latest Answer : thank you ...
Read Answers (3) | Asked by : rajesh

When we write JavaScript Code in the JSP Page from where the Java Script code will be executed by the Container

one from DATASoURCE second from DriverManager.getConnectionprogram using a DataSource and a PooledConnection is: import javax.naming.*;import javax.sql.*;...Context context = new InitialContext(); DataSource 
Latest Answer : import java.sql.*;public class JDBC {    connection con = DriverManager.getConnection("jdbc:odbc:url","scott","tiger");    } ...
Read Answers (1) | Asked by : satish chandra G

Latest Answer : Single Threaded Model permits only one request to access the service() method of the servlet.As when request hit the webcontainer the container will create a thread and permits the request through that thread to access the servlet. I don't think we can ...
Read Answers (2) | Asked by : suresh

Latest Answer : tomcat is servlet or jsp container only.not the applicationinorderto work with tomcat we haveto set the classpath to servletapi.jar ...

If I am creating two objects for a same class then both the objects are not similar why?i,e A obj = new A(); A obj1 = new A();obj.equals(obj1) returns false why?
Read Answers (6) | Asked by : srisu77

I have created one MVC architecture.But i am getting the error asHTTP Status 500 - --------------------------------------------------------------------------------type Exception reportmessage description 
View Question | Asked by : Sandip Kumar samantaray

In java ressultset,statement,preparesatement are interfaces without implementation how to those interfaces
View Question | Asked by : Rams

Hi..Friends.Recently in an interview..recruiter asked me a question..both httpservletrequest and httpservletresponse are interfaces....then how a container creates objects for that interfaces...? friends....can u clarify me?
Read Answers (1) | Asked by : venkat chowdary

Hi friends i have one doubt. here my requirement is i want to display multiple images dynamically. for example i have one document having 500 images.i used one combo box there range 1-1011-20,21-30.........like selection is there. initially 1-10 should be displayed on the browser. if i select 21-30 then that range of images should be displayed vertically.plz clarify my doubt.
View Question | Asked by : ashok


 Sponsored Links

 
Related Articles

Concepts of Object-Oriented Programming

Object Oriented JavaScript In this chapter you ll learn about OOP Object Oriented Programming and how it relates to JavaScript As an ASP NET developer you probably have some experience working with objects and you may even be familiar with concepts such as inheritance However unless you re already a
 

C++ Objects and Classes

C Objects and Classes An Overview about Objects and Classes In object oriented programming language C the data and functions procedures to manipulate the data are bundled together as a self contained unit called an object A class is an extended concept similar to that of structure in C programming l
 

JavaScript Objects

JavaScript Objects Object oriented Programming in an important aspect of JavaScript It is possible to use built in objects available in JavaScript It is also possible for a JavaScript programmer to define his own objects and variable types In this JavaScript tutorial you will learn how to make use
 

SQL Management Objects

The object model for SQL Server 2005 is the SQL Management Objects or SMO. This model is simple in conception and usage and is based on .NET Framework managed code. It is the primary tool for developing databases management applications using the .NET framework or the SQL server management studio op
 

SQL Programming

SQL Programming Overview Anybody who has done something for a long time has probably wanted to change how things work at some point or another. A worker at a mill might have found a more efficient way of cutting logs, or a mathematics teacher might have had a hand in changing a school’s al
 

The Interview Snafu

How to turn someone else’s mistake to your advantage Your dream job is about to become reality. A recruiter gave you the heads up about the perfect position at Humungous Conglomerate, Inc. You went through five interviews as well as a battery of psychological tests mandated by their HR de
 

Winning a Job Interview with a Winning Resume

Does your resume unlock your potential, take your skills to the highest level and win you the interview and the job you want now? The job market today is highly competitive and even if you think you have what it takes to get an interview you won’t get over the line without a polished, prof
 

WinRunner Programming Concepts

If you want to create WinRunner scripts that are highly efficient, there are important programming concepts that you will want to become familiar with. Understanding these concepts will provide you with a large number of key benefits. In addition to understanding these concepts, you must also learn
 

Programming Languages Certification

IT Certification programs have several options that will offer you the best knowledge.  By learning everything that you need to know about information technology you will be able to open new doors to your career and personal business desires.  IT Certification offers several vari
 

JavaScript Elements and Embed Objects

JavaScript Elements and Embed Objects In this JavaScript tutorial you will learn about browser objects elements and embed properties of elements object length type embed object properties of embed object along with syntax and examples mosgoogle center elements object The elements object is used in J
 

About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape