We have subscribed to a service whereby we send a url to the website of the company we have bought the service from
http://www.somecompany.com?login=fred&password=mypass&imagedetails=details1& imagedetails2=details2&response=url this then tells us the correct image to display on our web page by returning the url of the specific image. If I were to type this in to the browser address bar, the url to the image would be displayed in my browser, not the image. I have it working by embedding the url into my web page with the final parameter set to &response=jpg, and this displays the image directly in my page. This is fine, but very insecure as my username and password are shown in the html source. It will be different every time someone accesses the web page. I know how to embed the url into my web page so as to display the image, and I know how to redirect to an external url, but to call an external url which returns the url to the image as a response parameter, I am not sure about. Susan ----- Original Message ----- From: "Markus Spath" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, February 23, 2002 10:59 PM Subject: Re: response parameters from an external url > Susan Laing wrote: > > > Can anyone help me. My problem is that we need to access images from an > > external web site and return them into our own web pages. > > > > > > including extzernal images should be no problem given you know the location; > just include the absolut path of the image in the src attribute in your response. > > ... > out.println ("<img src='http://www.xyz.com/images/blabla.gif'>"); > ... > > > > To do this we formulate a URL including username, password and some > > other image specific information. When we call this URL we > > > > are given back the url to the image we need. > > > > > can you give a little more information on the scenario? > - is it necessary at all? (why do you need a password? are the images retrieved > from a database?...) > - how to you get back the url of the image? > - etc. > > Markus > > ___________________________________________________________________________ > 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 > > ___________________________________________________________________________ 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
