• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

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

 
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
snakes are really good at eating slugs. And you wouldn't think it, but so are tiny ads:
Clean our rivers and oceans from home
https://www.kickstarter.com/projects/paulwheaton/willow-feeders
reply
    Bookmark Topic Watch Topic
  • New Topic