![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Hobbyist Programmer
Join Date: Mar 2005
Posts: 139
Rep Power: 4
![]() |
Hi,
I have 3 servlets: one to enter an invoice one to print out the invoice fields from the DB to the screen and one to search for an invoice You can access the middle one one of two ways: after you create a servlet it calls the show servlet (#2) to print out the invoice to the screen or you can search for an invoice and then that servlet calls the show servlet My question to you is : if i am calling one servlet from another... how do I do it ? Do i call the servlet's doPost() / doGet() method and send it the request and response object (so Make servlet sends show servlet its (Make servlet's) request and resposne objects ?) or Do I create new (blank) request / response objects and send them to the doPost () /doGet() Thnx |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| servlet | paulchwd | Java | 1 | Jun 25th, 2007 9:02 AM |
| 2 Loggers in the same Servlet.... | tsofras | Java | 0 | May 31st, 2007 10:40 AM |
| jsp & servlet tutorials | bae | Java | 1 | Feb 10th, 2006 11:41 PM |
| Cant connect servlet to MySQL DB | BizzyC | Java | 0 | Mar 8th, 2005 10:01 AM |
| Calling a C++ DLL in VB | Floppie | C++ | 1 | Feb 20th, 2005 1:08 PM |