?
文件上傳至文件夾與上傳至數(shù)據(jù)庫有三點不同
:
1
、標簽
<nhtml:form></html:form>
的不同:
上傳至文件夾,在標簽
<nhtml:form></html:form>
中應放入
<html text property="_directory"/>
上傳至數(shù)據(jù)庫,在標簽
<nhtml:form></html:form>
中應放入
<html text property="_table"/>
2
、標簽
<nhtml:button />
的不同:
上傳至文件夾,標簽
<nhtml:button />
的
method="upload";
上傳到數(shù)據(jù)庫,標簽
<nhtml:button />
的
method="update"
3
、標簽
<nhtml:file/>
的屬性意義不同:
上傳至數(shù)據(jù)庫時,標簽
<nhtml:file/>
的
property
值是保存文件內(nèi)容的字段名。
上傳到文件夾,標簽
<nhtml:file/>
的
property
值無意義,但上傳多個文件時,其值應不相同。
?newxy新坐標技術(shù)網(wǎng)站:http://www.newxy.net
posted on 2006-08-21 18:50
newxy新坐標 閱讀(619)
評論(6) 編輯 收藏