Results 1 - 15 of about 35 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 3:23 AM on June 26, 2008
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 8:03 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 10:03 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 12:26 AM on November 09, 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:53 PM on May 23, 2008
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:37 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:36 PM on October 25, 2008
....There is no requirement for doGet to call doPost or vice versa. As a convenience some servlets are set up so their doPost method calls doGet because they are intended to handle GET and POST requests identically. If both
Posted in
Computers & Technology by Bela phadke at 9:34 PM on December 20, 2008
The doGet and doPost methods both take the same arguments and will handle the servlet response in an equivalent manner, so for convenience a doPost request can be passed to a doGet method and vice
Posted in
Computers & Technology by Bela phadke at 9:34 PM on December 20, 2008
The doGet and doPost methods are designed to handle HTTP GET and POST type requests respectively. When a GET request is submitted to a servlet container, it calls the doGet method of the servlet
Posted in
Computers & Technology by Bela phadke at 9:34 PM on December 20, 2008
For most common servlet implementations you should not override the service method, only the doGet or doPost methods. The servlet container provides its own abstract implementation of the HttpServlet class and its service method forwards requests to the doGet or doPost methods as appropriate....Nothing from your old board will work with the new one, or XP OS. Go to your favorite computer store, and ask
Posted in
Computers & Technology by Bela phadke at 9:33 PM on December 20, 2008
of data per hostname.public void doGet HttpServletRequest request, HttpServletResponse response throws IOExceptionresponse.addC ookienew Cookie"cookiename", "cookievalue";...HTTP is a per hostname.public void doGet HttpServletRequest request, HttpServletResponse response throws IOExceptionresponse.addCookie new Cookie"cookiename", "cookievalue";
Posted in
Computers & Technology by rashmigoyel at 10:02 PM on November 12, 2008
Reading cookies from a servlet is quite 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 the javax.servlet.http.HttpServlet Request passed to the servlets doGet, doPost, etc methods. HttpServletResponse offers a method, Cookies[...] getCookies which returns an array of Cookie objects. However
Posted in
Computers & Technology by rashmigoyel at 10:02 PM on November 12, 2008
Servlet // 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
Posted in
Computers & Technology by shyamal at 4:34 AM on October 26, 2008