how do you access a webpage which has a form-based
authentication setup using java.

i am able to do it using an href
http://<user>:<password>@url...
but the problem is it shows the passowrd. 

I tried to construct the above url in a servlet and
then doing a sendRedirect. but the sendRedirect
doesn't seem to like the format of the
url,specifically having the user:password.

Is there a way to do it using java classes
URLconnection or HttpURLConnection



__________________________________________________
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos & More
http://faith.yahoo.com

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to