當前位置:成語大全網 - 漢語詞典 - 破解javaweb編程字典

破解javaweb編程字典

在頁面中,我直接寫關鍵代碼。

& lt%

if(application . getattribute(" count ")= = null){

application . set attribute(" count ",1);

}否則{

int count = application . get attribute(" count ");//我在這裏取出的是壹個對象,但是我之前給了它壹個int。

count++;

application . set attribute(" count ",計數);

}

% & gt