This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
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

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 "Open Page using Servlet" Watch "Open Page using Servlet" New topic

Open Page using Servlet

suraj sheikh

Joined: Mar 07, 2008
Posts: 23

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.

William Brogden
Author and all-around good cowpoke

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

I agree. Here's the link:
subject: Open Page using Servlet