<%@ taglib uri="/tags/struts-bean" prefix="bean"%>
form.parentProcessNumberPresentation.value= "<"+ "<bean:write name="associatedProcessField" property="fieldInstruction"/>" + ">";
当我打印带有"bean: write"
它的文本时"\ n"
,会破坏将分配给表单中组件的字符串。
这个过滤器怎么能"\ n"
跳过它?我试过了:
form.parentProcessNumberPresentation.value= "<"+ "<bean:write name="associatedProcessField" property="fieldInstruction" filter="false"/>" + ">";