Hi

I have a servlet who's only job is to take some parameters, query a couple
of databases based on these parameters and based on the results of the
queries, dynamically generate a URL of an external web based system.

This external web based system is password protected so I am putting the
username and password in the URL:

http://<username>:<password>@myserver.co.uk/folder/folder/etc

Once the servlet has generated the URL, it redirects the browser to this
URL.

The problem I am having is that the external system is prompting me for a
username and password before it will let the browser through.  The strange
thing is that if I take the URL generated by the servlet and paste it
straight into the address bar in my browser, it lets me through no problem
without prompting for the username and password.

Is there any difference between the system being accessed from the browser
and a redirect being sent from the server ??

TIA

Lee Turner
Systems Developer
Gilchrist Bros Ltd

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to