GeeCON Prague 2014*
The moose likes Servlets and the fly likes Need help for Authenticating a servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Servlets
Bookmark "Need help for Authenticating a servlet" Watch "Need help for Authenticating a servlet" New topic
Author

Need help for Authenticating a servlet

lokesh reddy
Ranch Hand

Joined: Sep 15, 2000
Posts: 66
Hi guys,
I have written a servlet, and applied BASIC authentication on it, so whenever any one tries to access it, it asks the username and password to authenticate the users.
Now, the problem is, i would like to access the servlet using URLConnection class, and i am not able to know how to pass the username and password to servlet using URLConnection.
Please help me.
Thanks in Advance.
Loke.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Need help for Authenticating a servlet