![]() Related Questions Latest Answer : Struts created internal objects are simple class objects so does not support the all the features provided by ejb container such as transaction managment,persistancy,Security features ,Connection pooling etc. ... Read Answers (1) | Asked by : sanjay sharma Latest Answer : OBJECTS SIT ON HEAPPRIMITIVES (LIKE INT, DOUBLE ETC) SIT ON STACKSTACK IS FASTER THAN HEAP.OBJECTS ARE PASSED BY REFERENCE. PRIMITIVES ARE PASSED BY VALUE.OBJECTS ARE GARBAGE COLLECTED. PRIMITIVES ARE CLEARED FROM THE STACK BY MOVING THE STACK ... 1. Some websites will have hierarchical display of items. (For eg, on click of a ‘+’ symbol, all items under this item gets listed.). How do you store such structure in database (Note: You can store as XML object. But how do you store in database tables without using XML) ?2. explain 3GL ? Read Answers (3) | Asked by : ronin Suppose there are 2500 records to be handled? How Data Access Object (DAO) class will handle it? Latest Answer : DAO is one of design patterns. The Data Access Object (or DAO) pattern: 1. Separates a data resource's client interface from its data access mechanisms, 2. adapts a specific data resource's access API to a generic client interface. The ... Read Answers (2) | Asked by : Anoop Latest Answer : how you create a domain in weblogic ... Latest Answer : Little addition to JSP implicit Objects: Implicit Objects are 9:
request
response
page
application
session
pagecontext
exception
out
config
These simplify JSP code by providing ready state objects.
Ex: request.getElementById("xyz"); ... What is difference b/w WITH ServletRequest Object:................RequestDispatcher rd = getServletContext().getRequestDispatcher( "/servlet/XYZServlet"); rd.forward(request, response);with ServletContext Latest Answer : In case of ServletRequest, we provide the path relative to http request while in the case of ServletContext we provide path relative to root of context. ... Read Answers (2) | Asked by : santh kumar Latest Answer : There are two ways to redirect a request from JSP. They are1). response.sendRedirect("Path");2). requestDispatcher.forward("path");Now the difference b/t these two are :-1).sendRedirect() does not pass request and response object, ... Read Answers (3) | Asked by : vijay Latest Answer : Heap memory is allocated for the objects and the instance variables that are created by using new operator.Stack memory is for the method call and thread call. ... Read Answers (1) | Asked by : ajay
Sponsored Links
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||