File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
inter servlet communication
Joined: Feb 15, 2006
Mar 02, 2007 00:00:00
From servlet1(in serverA) i want to call another
"servlet2" that is present in another server(ServerB) and output of servlet2 should be printed along with output of servlet1 . can you please help me out?
Joined: Feb 24, 2006
Mar 02, 2007 00:28:00
Open a URL connection to that servlet and read its output. Then format the output the way you want. What kind of data is the servlet B going to return ?
SCJP 6 articles
SCJP 5/6 mock exams
More SCJP Mocks
Author and ninkuma
Joined: Jan 10, 2002
Mar 02, 2007 07:48:00
This is essentially the same conversation going on your other post, so this one has been closed.
Asking smart questions
Books by Bear
I agree. Here's the link:
subject: inter servlet communication
servlet to servlet communication
Redirect and xml
request object from http to https
Servlet - doGet - doPost - parameter
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015