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
Given an array of size n. It contains numbers in the range 1 to n. Find the numbers which aren?t present.
What is SOLID Principle in Programming Language?
sample code for data transfer between two r/2 systems and r/3 systems?
how to work search engine? plz detail answer me.
Why did you ever become involved in QA/testing?
Is there any standard procedure to test the application as a whole? Or How can I test complete application right from the requirement gathering?
Diffrence between 2.0,3.0,3.5,4.0. versions of .net?
how do i add a column dynamically in a table by using java application?
how sap is different from other software ?
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)
through which algorithm does the garbage collector works? how the garbage collector will understand that the object will going to be deleted?
how do i create my own exception class which will restrict IO exception?
hi viewers, tell me,what is scripting and programming, define and difference...pls
Diff between IF and where ?
what is throws keyword