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

    Default How to detect if a jsp page is a popup

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

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

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

    </c:if>
    Last edited by nevam; 06-10-2014 at 04: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, 09: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 webcam..help!
    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, 07:46 PM
  5. Unable to detect OS name
    By neetu.jainvi@gmail.com 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
  •