newxy新座標文件上傳至文件夾與上傳至數據庫的不同點
文件上傳至文件夾與上傳至數據庫有三點不同:
1、標籤<nhtml:form></html:form>的不同:
上傳至文件夾,在標籤<nhtml:form></html:form>中應放入 <html text property="_directory"/>
上傳至數據庫,在標籤<nhtml:form></html:form>中應放入 <html text property="_table"/>
2、標籤<nhtml:button />的不同:
上傳至文件夾,標籤<nhtml:button />的method="upload";
上傳到數據庫,標籤<nhtml:button />的method="update"
3、標籤<nhtml:file/>的屬性意義不同:
上傳至數據庫時,標籤<nhtml:file/>的property值是保存文件內容的字段名。
上傳到文件夾,標籤<nhtml:file/>的property值無意義,但上傳多個文件時,其值應不相同。