a small custom tag

i was trying to implement a small custom tag.

it is ADD tag with 2 attributes.operand1,operand2.

i need JspWriter object while implementing tag handler class.

i used it like,

JspWriter out=PageContext.getOut();

Iam getting,

PageContext is an abstact class.

I saw the same thing worked when my sir had explained.but iam unable to do.

iam using tomcat5.0.

iam setting path to both servlet-api.jar,jsp-api.jar

please explain.iam a novice.Expecting i gave sufficient information.

[543 byte] By [sureshsira] at [2007-10-3 6:03:06]
# 1
>JspWriter out=PageContext.getOut(); JspWriter out=pageContext.getOut();
Thanigaivel.Ma at 2007-7-15 0:45:25 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...