I am using taglib.
I have the following java code.
int i=0;
public void doTag() throws JspException, IOException {
i= 1; //I do some process and get a value for i
super.doTag();
}
I have defined a tld file for accessing the code in jsp file.
My doubt is that how do i access the value i in my jsp file.
I dont want to use the getJspContext().getOut().print(i)
which will print the value of i.
Thanks.