Results 1 to 1 of 1
  1. #1
    nevam is offline Member
    Join Date
    Mar 2014
    Rep Power

    Default How to detect if a jsp page is a popup

    This is my solution:
    <c:set var="popUp">0</c:set>
    <req:existsQueryString name="popUp" value="true">
    <c:set var="popUp">1</c:set>

    <c:set var="ABC">0</c:set>
    <req:equalsCookie name="ABC" match="true" value="true">
    <c:set var="ABC">1</c:set>

    <c:if test="${(popUp == 1) || (ABC== 1)}">

    Last edited by nevam; 06-10-2014 at 03:31 AM.

Similar Threads

  1. How to have program detect own name
    By DarkHarbinger in forum Advanced Java
    Replies: 4
    Last Post: 08-14-2012, 08:20 AM
  2. How to detect object by going near to it
    By Sudharshan in forum New To Java
    Replies: 10
    Last Post: 03-14-2012, 02:17 AM
  3. JMF: Trying to detect!
    By boblettoj99 in forum AWT / Swing
    Replies: 0
    Last Post: 11-10-2011, 12:51 AM
  4. Auto Refresh a Java Popup Page?
    By lokerd in forum JavaServer Pages (JSP) and JSTL
    Replies: 2
    Last Post: 06-07-2011, 06:46 PM
  5. Unable to detect OS name
    By in forum Advanced Java
    Replies: 1
    Last Post: 12-09-2009, 05:56 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts