*
The moose likes Servlets and the fly likes Accessing a Servlet from a business delegate class of another web application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Accessing a Servlet from a business delegate class of another web application" Watch "Accessing a Servlet from a business delegate class of another web application" New topic
Author

Accessing a Servlet from a business delegate class of another web application

Kumar Kausikasa
Ranch Hand

Joined: Jun 04, 2002
Posts: 45
Hi,

My requirement is as follows. I have two servlet based web applications A and B. From the application A business delegate class, i have to call a servlet in application B, get the data.

I thought i would be able to do this via URLConnection. Following is the code snippet, but the call to servletB is not happening

Am i doing something wrong here ? If yes, please let me know the approach how this can be accomplished.

Thank you all for your time
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Please see ItDoesntWorkIsUseless. Also, please make sure you take the time to examine your post after you've made it--you had disabled BB code, making the code tags non-functional.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Accessing a Servlet from a business delegate class of another web application
 
Similar Threads
calling servlet from java program and more
Applet to servlet communication-- Urgent
passing object between applet and servlet
Require Urgent Help - EOFException while making ObjectOutputStream instance
PROBLEMS WITH APPLET -> SERVLET communication