& lt%
if(application . getattribute(" count ")= = null){
application . set attribute(" count ",1);
}否則{
int count = application . get attribute(" count ");//我在這裏取出的是壹個對象,但是我之前給了它壹個int。
count++;
application . set attribute(" count ",計數);
}
% & gt