Results 1 - 15 of about 43 sawaal for "doget"
well rocky, doGet method is used to get information, while doPost method is used for posting information. b doGet requests cant send large amount of information and is limited to 240-255 characters. However, doPostrequests passes all of its data, of unlimited length. c A doGet request is appended to the request URL in a query string and this allows the exchange is visible to the client, whereas a do
Posted in
Computers & Technology by rocky singh at 2:53 AM on June 26, 2008
Both are are advantageous..Both are having some differences..That areYou can send only 256 characters data via GET method.But these Datas are appear on the URL. So it is not a secure one.If u want to send a bulk of data, Definitely u should use ths POST method.Here It is not appear on the URL. So It
Posted in
Computers & Accessories by kaushal Kish at 1:12 AM on February 02, 2009
Mainly we are talking about servlets life cycle.Here first init ->service ->wthin servlets we use these method accordingly. ->destry.
Posted in
Computers & Accessories by kaushal Kish at 1:58 AM on February 02, 2009
HttpProtocol, we call it HttpServlet.The HttpServlet also provides default implementation for service and doGet and doPost methods.The order in which these methods are called is service
Posted in
Computers & Technology by Prem Kumar at 12:47 AM on February 02, 2009
Well the service method tries to determine which of the doXXX method needs to be called.Appropriately either doGet, doPost, doDelete, doPut etc etc are called,1-doGetcan pass text up to 2k while doPostpass carry large of test.2-doGet show the data in url so client can know whats data is passing like thishttp://www.red/myservlet?name ="....." .while in doPost data pass in stander format called
Posted in
Computers & Technology by Prem Kumar at 12:46 AM on February 02, 2009
GET Method : Using get method we can able to pass 2K data from HTMLAll data we are passing to Server will be displayed in URL request string.POST Method : In this method we does not have any size limitation.All data passed to server will be hidden, User cannot able to see this infoon the browser.
Posted in
Exams, Education & References by Hari at 7:33 AM on January 27, 2008
servlet packages requires JDK1.2 or servlet toolkitimport javax.servlet.;import javax.servlet.http.;pub lic class MyFirstServlet extends HttpServlet // We override the doGet method, from HttpServlet, to // provide a custom GET method handler public void doGet HttpServletRequest req, HttpServletResponse res throws ServletException, IOException res.setContentType"text/plain "; ServletOutputStream out
Posted in
Computers & Technology by rashmigoyel at 9:33 PM on November 12, 2008
accomplish this by incorporating the following code fragment in either the service method or the doGet method of ServletA: RequestDispatcher dispatcher = getRequestDispatcher"Servlet B"; dispatcher.forward request, response ;where request, of type HttpServletRequest, is the first parameter of the enclosing service method or the doGet method and response, of type HttpServletResponse, the second. You could
Posted in
Computers & Technology by AmitSingh at 11:56 PM on November 08, 2008
seperate threads for each request. The sevlet container calls the service method for servicing any request. The service method determines the kind of request and calls the appropriate method doGet or do the appropriate method doGet or doPost for handling the request and sends response to the client using the methods of the response object. 4. Destroying the Servlet: If the servlet is no longer needed for servicing
Posted in
Computers & Technology by blogger01 at 12:23 PM on May 23, 2008
Difference between Service method and doget method,,if Request will come then Servlet Container take the request and call to by default service method if there doget or dopost method available,,In any situation service method call and if there any other method then implicit service method call to doget or dopost,, this is the perfect flow of the request.
Posted in
Computers & Accessories by kaushal Kish at 1:14 AM on February 02, 2009
Difference between Service method and doget method,,if Request will come then Servlet Container take the request and call to by default service method if there doget or dopost method available,,In any situation service method call and if there any other method then implicit service method call to doget or dopost,, this is the perfect flow of the request.
Posted in
Computers & Accessories by kaushal Kish at 1:14 AM on February 02, 2009
of data per hostname.public void doGet HttpServletRequest request, HttpServletResponse responsethrows IOException response.addCookienew Cookie"cookiename", "cookievalue";...HTTP is a per hostname.public void doGet HttpServletRequest request, HttpServletResponse response throws IOExceptionresponse.addCookie new Cookie"cookiename", "cookievalue";...HTTP is a
Posted in
Computers & Technology by shyamal at 11:07 PM on October 25, 2008
.servlet.http.HttpServletReque st passed to the servlets doGet, doPost, etc methods. HttpServletResponse offers a method, Cookies[...] getCookies which returns an array of Cookie objects. However, if no cookies are available easy. You can gain access to any cookies sent by the browser from the javax.servlet.http.HttpServletReque st passed to the servlets doGet, doPost, etc methods. HttpServletResponse offers a method
Posted in
Computers & Technology by shyamal at 11:06 PM on October 25, 2008