aspose file tools*
The moose likes Servlets and the fly likes Open Page using Servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Open Page using Servlet" Watch "Open Page using Servlet" New topic
Author

Open Page using Servlet

suraj sheikh
Greenhorn

Joined: Mar 07, 2008
Posts: 23
Hi,

Need help to open a web page using servlet. But the requirement is as follows.

The web page which will open should be opened by using the servers internet/intranet connection, not the clients internet connection.
i.e the client doesnt have access to the web page/ip address, only it can be opened on the server.

Thanks.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12769
    
    5
Nothing prevents you from using a java.net.HttpURLConnection in a servlet the same way you would use it in a client. Naturally you must provide for handling the various error conditions.

Bill
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Open Page using Servlet