JFigDictionary jd = JFig.getInstance().getConfigDictionary();
String str = jd.getHtmlString();
%>
The value of notifications is <%=notify%>.<br>
<%=str%>
-------------------------------------------------
and changed config.xml. and then
-------------------------------------------------
<%@ page import="org.igfay.jfig.*" %>
<%
try {
JFig.getInstance().reprocessConfiguration();
} catch (JFigException e) {
System.out.println("Error occured while reprocessing configuration...");
}
%>
reprocess configuration completed!!
------------------------------------------------
to check out the change I've made.
but nothing happend. jfig.jsp shows same result.
please help me.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I just verified that this works. You can try a couple of things.
One, run the test case.
Two, take your jsp out of the equation. Run reprocessConfiguration() and do a getValue for a changed entry. (Much like the test case).
Three, ensure your jsp is refreshed. Close/reopen your browser.
I hope this helps.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I wrote a jps file like below.
-------------------------------------------------
jfig.jsp
<%@ page import="org.igfay.jfig.*" %>
<%
//JFig.initialize();
String notify = JFig.getInstance().getValue("mail", "notifications", "N/A");
JFigDictionary jd = JFig.getInstance().getConfigDictionary();
String str = jd.getHtmlString();
%>
The value of notifications is <%=notify%>.<br>
<%=str%>
-------------------------------------------------
and changed config.xml. and then
-------------------------------------------------
<%@ page import="org.igfay.jfig.*" %>
<%
try {
JFig.getInstance().reprocessConfiguration();
} catch (JFigException e) {
System.out.println("Error occured while reprocessing configuration...");
}
%>
reprocess configuration completed!!
------------------------------------------------
to check out the change I've made.
but nothing happend. jfig.jsp shows same result.
please help me.
I just verified that this works. You can try a couple of things.
One, run the test case.
Two, take your jsp out of the equation. Run reprocessConfiguration() and do a getValue for a changed entry. (Much like the test case).
Three, ensure your jsp is refreshed. Close/reopen your browser.
I hope this helps.