1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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