calling jsp code from within a jsp code when a condition is met

Discussion in 'JSP' started by thinkerinside, Aug 17, 2011.

  1. thinkerinside

    thinkerinside New Member

    Joined:
    Aug 17, 2011
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    I need to call a jsp code from within a jsp code when a condition is true, somewhat like,

    Jsp1.jsp
    Code:
    if(true){
     //call Jsp2.jsp
    }
    
    I don't want to use form based jsp calling...
    Code:
    <FORM METHOD=POST ACTION="Jsp2.jsp">


    thanks in advance.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice