Howdy, Yes, use HTTP Referer header. You can RTFM/google on this issue, it's easy.
Yoav Shapira Millennium ChemInformatics >-----Original Message----- >From: anunay ashish [mailto:[EMAIL PROTECTED] >Sent: Monday, October 27, 2003 9:40 AM >To: Tomcat Users List >Subject: Re: URL of calling JSP page calling a servlet. > >I mean I call a servlet addDataServlet from a JSP file pageFormats.jsp >In the addDataServlet I want to know that which is the JSP page that called >this servlet? >----- Original Message ----- >From: "Shapira, Yoav" <[EMAIL PROTECTED]> >To: "Tomcat Users List" <[EMAIL PROTECTED]> >Sent: Monday, October 27, 2003 7:41 PM >Subject: RE: URL of calling JSP page calling a servlet. > > > >Howdy, >You mean like the Referer (misspelled) header? > >Yoav Shapira >Millennium ChemInformatics > > >>-----Original Message----- >>From: anunay ashish [mailto:[EMAIL PROTECTED] >>Sent: Monday, October 27, 2003 8:55 AM >>To: Tomcat Users List >>Subject: URL of calling JSP page calling a servlet. >> >>Hi, >>I want to trap the url of the JSP page calling a servlet. I want to use >the >>url in the servlet to determine my course of action. >>Thanks in advance. >>Regards, >>Anunay Ashish. >> >> >>--------------------------------------------------------------------- >>To unsubscribe, e-mail: [EMAIL PROTECTED] >>For additional commands, e-mail: [EMAIL PROTECTED] > > > > >This e-mail, including any attachments, is a confidential business >communication, and may contain information that is confidential, >proprietary >and/or privileged. This e-mail is intended only for the individual(s) to >whom it is addressed, and may not be saved, copied, printed, disclosed or >used by anyone else. If you are not the(an) intended recipient, please >immediately delete this e-mail from your computer system and notify the >sender. Thank you. > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]