wood burning stoves 2.0*
The moose likes Servlets and the fly likes calling a page on a differnet web server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "calling a page on a differnet web server" Watch "calling a page on a differnet web server" New topic
Author

calling a page on a differnet web server

mahesh narayan
Ranch Hand

Joined: Aug 12, 2003
Posts: 41
Hi
I have been trying to call from one webserver to another webserver. Please find below my code.when i run the code the page content is getting printed on the console, but the webpage is not shown. Can someone help me by telling me where i am going wrong.

thanks and regards
Mahesh
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Try changing



to



Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
mahesh narayan
Ranch Hand

Joined: Aug 12, 2003
Posts: 41
Thanks Ben!!
Amarender Reddy
Ranch Hand

Joined: May 12, 2005
Posts: 54
hi mahesh,

you should be very thankful to Ben for taking the risk of reading such

unformatted code by scrolling up and down, right and left

Everybody may not be that patient enough.So further on please do post the

code within the <code> tags.

cheers,

amar
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: calling a page on a differnet web server