Can we use doGet and doPost methods in a single Servlte?
Sanjay Bahrani
Ranch Hand
Joined: Apr 17, 2001
Posts: 38
posted
0
Hi there, Can We perform 2 different operations with the database by using doGet and doPost methods. For eg. one method is used to send the data in database (ie doPost) and other method is to collect the info from database (ie doGet). Remember both should be from a single Html page. Thankz.
Bosun Bello
Ranch Hand
Joined: Nov 06, 2000
Posts: 1506
posted
0
Yes, you can use bothe methods. You can just have one call the other. i.e. call your doGet method from doPost or vice versa. Bosun
Bosun (SCJP, SCWCD)
So much trouble in the world -- Bob Marley
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.
subject: Can we use doGet and doPost methods in a single Servlte?