you may want to follow the controller model for your site. I think that
might
solve the problem.

Ganesh R

-----Original Message-----
From: Shrivastava, Rashmi [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 04, 2002 1:47 AM
To: [EMAIL PROTECTED]
Subject: Changing the URL


Hi,

We are trying to achieve Single Sign On  from our application to all the
external resources for eg. Report Server . This means that when a user has
authenticated in our application, he has a menu item on very page for
'Reports' , when the user clicks on it servlet running in our applictaion
server will be invoked, which will open a HttpURLConnection to the Report
Server and pass the authentication info , the output will be written to the
response object. So then in a new pop-up window user is displayed the page
on Report Server (we are using JReport), the problem is that this JReport
page has hyper links which are realtive URLs, so when I click on them they
are resolved with reference to Application Server instead of the Report
Server. I have tried setting the response headers Location, Host,
Content-Location to refer to Report Server but it dosen't seem to work.

Any help is appreciated
Thanks
Rashmi


___________________________________________________________________________
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


"THIS E-MAIL MESSAGE ALONG WITH ANY ATTACHMENTS IS INTENDED ONLY FOR THE
ADDRESSEE and may contain confidential and privileged information.
If the reader of this message is not the intended recipient,
you are notified that any dissemination, distribution or copy of this
communication is strictly Prohibited.
If you have received this message by error, please notify us
immediately, return the original mail to the sender and delete the
message from your system."

___________________________________________________________________________
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