Difference between Request to a Servlet ????
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Abhishek_Srivastava
Posted On:   Saturday, August 2, 2003 12:34 AM


How do i differenciate that a request made to a servlet is from another servlet or directly from URL (address bar) or request is coming from java script window.open()
Can anybody help me in this ???

Re: Difference between Request to a Servlet ????

Posted By:   Christopher_Koenigsberg  
Posted On:   Monday, August 4, 2003 07:43 AM

Put a hidden variable parameter in to some of the requests that you control (e.g. from your servlet, or from your javascript window.open), so if it is has your value, you know where the request came from. And if it is not there, or has a different value, then you know the request is not from those specific sources.

About | Sitemap | Contact