• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Kumar Kausikasa
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic