Hi All,

I have some jsp tags (say <mytag param1 param2/>). Now I want to use it conditionally 
again and again in my jsp like this:

if(someBooleanVariable)
{
    use <mytag param1="val1" param2="val2"/>
    do some other html things
}

else
{
    something else
}

As these things have to be done in a number of place within same jsp, I'm thinking 
about some method, say myMethod(val1, val2, someBooleanVariable).

My question is how can I do this ? Or can I make some other tag that will server the 
purpose of this method ?

Any suggestion is welcome.

TIA,
Sudarson

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to