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?



Suppose i have all the implementation code required is written in doGet() but my class has doPost(..

Answer / 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

More Programming Languages AllOther Interview Questions

what is the use of occurs 10 or (any number) in the internal table declaration with header line.

0 Answers  


how to swap all the values without using temporary variable. tha values r a = 20, x=60 and p=2.

5 Answers   DST Global Solutions, iGate,


Explain the types of operations? Draw the figure for shift and rotate operations?

0 Answers  


what is c sharp dotnet

0 Answers   NIC,


can we retrieve only integer/String type columns from a table,if yes how?

0 Answers  






How to call static method in Java?

2 Answers   Epoch,


A, B and C are 8 bit nos. They are as follows: A 1 1 0 1 1 0 1 1 B 0 1 1 1 1 0 1 0 C 0 1 1 0 1 1 0 1 Find ( (A-B) u C )=? how to solve this need with steps

5 Answers   TCS,


A combination of multiple keys defined in a physical file or logical file is called a _________ key

3 Answers   IBM,


how we can know the funcions available in a class recording java?

0 Answers  


what are partial classes. Where is the entry point of partial classes.

1 Answers   Satyam,


What is the Difference between in memory database and physical database

0 Answers  


differenc between visual studio 2005,2008 & 2010?

2 Answers  


Categories