• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Proxy Server Using JSP

 
Ranch Hand
Posts: 112
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Ranchies,

Is it possible to create a proxy server using JSP?

The company in which i am working has got a firewall installed which blocks webpages with different categories like "Entertainment", "Free Software Downloads", "Greeting Cards", etc.

I have a domain with java and Servlet/JSP engine. Its not filtered by my firewall.

Now I want to access the blocked pages through my domain/webpage. I can specify the website name as a parameter in my GET or POST request.

Does anybody know how to do it?

Thanks,
Ashish Agrawal.
[ July 09, 2004: Message edited by: Bear Bibeault ]
 
Ranch Hand
Posts: 327
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Here's some servlet code that gets a webpage url and a refresh interval as parameters from a HTTP POST and displays the page at the url you specified. It should be easy to modify to do what you want. Have fun.


[ July 09, 2004: Message edited by: Anthony Watson ]
 
Ashish Agrawal
Ranch Hand
Posts: 112
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you very very much Anthony...very soon I ll be done with it. Thank you very much....

- Ashish Agrawal
reply
    Bookmark Topic Watch Topic
  • New Topic