文件上传至文件夹与上传至数据库有三点不同
						
						:
				
		
		
				
						
								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
						值无意义,但上传多个文件时,其值应不相同。
 newxy新坐标技术网站:http://www.newxy.net
				
		
	posted on 2006-08-21 18:50 
newxy新坐标 阅读(629) 
评论(6)  编辑  收藏