Codeing

从数据库动态提取radio内容
从数据库中提取厂区按radio平铺,点击提交查询
<logic:iterate name="showLocationList" 
					id="element"
					scope="request" 
					type="com.cmo.supplier.location.form.LocationForm"
					indexId="index" offset="0" >	
			
				<td colspan=2 align=center>
						<html:radio property="locationId" value="<%=element.getId()%>">
						    <bean:write name="element" property="description" />
						</html:radio>
				</td>
</logic:iterate>


从数据库中动态提取下拉框内容
按下拉列表方式从数据库中提取厂区
<td align=left>
					<html:select property="locationId">
 							<html:options collection="showLocationList" 
									property="value" labelProperty="label"/>
					</html:select>
</td>


session传递过程中的中文筹码问题

如果是部署在tomcat上,需要在apache-tomcat-5.5.17-dev\conf\server.xml文件中修改下面一段配置:
<Connector port="8080" maxHttpHeaderSize="8192"
               maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
               enableLookups="false" redirectPort="8443" acceptCount="100"
               connectionTimeout="20000" disableUploadTimeout="true" URIEncoding="UTF-8"/>

你可能感兴趣的:(java,apache,tomcat,xml)