wood burning stoves 2.0*
The moose likes Servlets and the fly likes How to access external web site from the Servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "How to access external web site from the Servlet" Watch "How to access external web site from the Servlet" New topic
Author

How to access external web site from the Servlet

Narasimha Rao B.
Ranch Hand

Joined: Aug 26, 2002
Posts: 205
Hi,
In one of the servlet, am quering external website, i.e., searching for the information at 'http://www.google.com'
I can acess web only by using the proxy. I will set the proxy at, " tools/intetnet options/connection/LAN Setting", here i will check 'Use a proxy server' check box, and will give the proxy server and the port. Say, proxy server, "webproxy.xxxx.com" and port '8888'.
But by using these proxy, i can't load any servlet.
So when loading the servlet, getting "Page can't be displayed" error.
Is there any way, i can specify the proxy and corresponding port, in this case, "webproxy.xxxx.com" and '8888', in weblogic.properties file or by other means.
I am working on 'BEE Weblogic server 5.0.0'.
Thanks in Advance.
Narasimha.


Narasimha
 
wood burning stoves
 
subject: How to access external web site from the Servlet