Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can JSP page communicate with my proxy server?

Status
Not open for further replies.

rishath

Programmer
Joined
Jan 20, 2004
Messages
59
Location
US
I have implemented a Tunneling Proxy server in Java. I'm doing the authentication using JSP. My Proxy code, displays a Authentication html page to the user, whenever the user connects to the proxy. And when the user submits the username and password, the JSP code is called and it verifies for the authenticity of the user.

Is there any method by which my JSP code can intimate my proxy server that the user is an authentication user? My proxy is running as a stand-alone program listening to certain port. JSP page is running on Tomcat server.

I tried sending a DatagramPacket from the JSP page once the user is authenticated, to my proxy. But, my proxy continuously blocks waiting for the Datagram and it even doesn't load up the authentication HTML page.

Is there a way throught?????
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top