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

plz send me NIC Scientific Officer /Engineer-SB(Programmer) previous question paper or syllabus

2 Answers   NIC,


SAS question: I have 50 fils a1,a2,...,a50. the primary key is upc. then if i want to merge all 50 files, the code is as follows, data test; merge a1 ... a50; by upc; run; we know that writing all 50 files name is time consuming, is there any standard format of this code?

1 Answers   Symphony,


what is the pl/sql block size in oracle 10g and 11g?

0 Answers  


details description on this mantis? who is founder of this mantis?

1 Answers  


I need source code for Enrollment System using Visual Basic 6.0/2008 database MS Access 2007 for my school thesis project...please help me..kindly send in my email jpinedamcp@gmail.com

1 Answers  


I want Ada programming language books. Could anyone post me any link for that?

1 Answers  


List and explain any five built in functions for Lists data type in python

1 Answers   Peerless,


WHat is execution in manual testing and when will we start execution and what language we use in execution

1 Answers  


There is a table which contains all the employee details, unfortunately there is mistake occured while entering the data. ex: ------------------------------- empid empname gender address ------------------------------- 1 abcd f address1 2 defg m address2 3 ghth m address3 4 jkil f address4 write a update query that will change gender 'm' to 'f' and 'f' to 'm'

2 Answers  


Diff between Proc transpose and Arrays with example?

2 Answers   Accenture,


Given a set. Write the pseudo code to get all the subsets for the given set. Eg. Input : {1,2} Output : (),(1),(2),(1,2)

1 Answers   Goldman Sachs,


You are given some denominations of coins in an array (int denom[])and infinite supply of all of them. Given an amount (int amount), find the minimum number of coins required to get the exact amount. What is the method called?

1 Answers   Amazon,


Categories