Suppose i have all the implementation code required is written
in doGet() but my class has doPost() method. i need code
implemented in doGet() how can we do that?

Answer Posted / aditya

If all the implementation is written in doGet()and the class has implemented the functionality in doPost(),servlet container will throw an exception.

A workaround could be calling doPost() from your doGet() method.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Hi All, Can any one please send me the difference between informatica 7i and 8i versions, Thanks in advance. vinod

1535


What is WEB 3.0? What are the features their in WEB3.0

1576


Q1.Write a C program which asks the user for a number between 1 to 9 and shows the  number. If the user inputs a number out of the specified range, the program should  show an error and prompt the user for a valid input.

2275


How to set on/off a group of indicators in a single statement?

1377


What is the use of sas software? Is sas and sap are different?

1016






What is the difference between CLEAR & RESET and OPEN & CLOSE OPCOEDS(USING RPG/400).wheare we can use this?can any body tell me in real time senario with example please?

1569


how do i create my own exception class which will restrict IO exception?

2299


what are the 3 forms of a prolog term

2753


hii I inntrested abt scjp certification but i dont knw abt scjp plz send details abt scjp exam and syllabus.

1392


Difference between debugging, running, executing of an application

3485


Can anyone send me NIC question papers alongwith answers on nidhi1485@yahoo.co.in? Urgently needed.. Thanks in advance

1836


how pseudo column works?

1721


What is abstract Method i want the exact definition and is there any possibility to declare class as abstract without any abstract methods in that class?If it is possible then tell me why and how?

1472


write a query that returns one row for each department and the number of employees in that department. Given two tables EMPLOYEE and DEPARTMENT, where there can be multiple employees per department.

1178


I am looking for NIC Sample papers or any patern of questions/ syllabus plz, send me on hamid.khan135@yahoo.in Regard

1535