ADF를 처음 사용합니다. 도와주세요. 내 코드 스 니펫 붙여 넣기 : - \ n을 사용하여 새 회선 메시지를 인쇄 할 수 없습니다.<af:message> n을 무시하고 한 줄에 인쇄합니다.
<af:message id="errMessage" message="#{backingBeanScope.ta_del_entUiBean.errorMessage}" messageType="error"
visible="#{backingBeanScope.ta_del_entUiBean.error}"/>
public String getErrorMessage()
{
return message;
}
message contains a String this way, say : The following error have occurred. \n 1. Null ponter exception. \n 2. ODBC Exception \n. 3. JDBC Exception
The output is .
The following error have occurred. 1. Null ponter exception. 2. ODBC Exception . 3. JDBC Exception
How do I make it appear as
The following error have occurred.
1. Null ponter exception.
2. ODBC Exception
3. JDBC Exception
Thanks a lot for the help. The Java Platform version is 1.7.0_51 and the `Jdev` version is 12.1.3.0
참조 http://stackoverflow.com/questions/27907839/new-line-character-in-jdeveloper-string-in-java/27915419#27915419 – amishra