public String getHTMLAreaInfo() throws ApplicationException
{
try
{
Map<String, Object> map = iNavigationSev.getHTMLAreaInfo(ID);
JSONObject jsonOut = new JSONObject(map);
//jsonOut.put("HTMLAREA",map);
return jsonOut.toString();
}
catch (JSONException e)
{
e.printStackTrace();
}
}
@Test
public void testGetHtmlAreaInfo() throws Exception
{
String rs_json = iNavigationWs.getHTMLAreaInfo();
JSONObject json = new JSONObject(rs_json);
System.out.println("===========json:" +json);
System.out.println("===========123456:" +json.getString("NAME"));
}
{
try
{
Map<String, Object> map = iNavigationSev.getHTMLAreaInfo(ID);
JSONObject jsonOut = new JSONObject(map);
//jsonOut.put("HTMLAREA",map);
return jsonOut.toString();
}
catch (JSONException e)
{
e.printStackTrace();
}
}
@Test
public void testGetHtmlAreaInfo() throws Exception
{
String rs_json = iNavigationWs.getHTMLAreaInfo();
JSONObject json = new JSONObject(rs_json);
System.out.println("===========json:" +json);
System.out.println("===========123456:" +json.getString("NAME"));
}
本文介绍了一个用于从系统中获取HTML区域信息的方法实现。通过调用特定的服务并利用JSON对象进行数据处理,该方法能返回所需的HTML区域信息。此外,还提供了一个测试方法以验证功能的正确性。

被折叠的 条评论
为什么被折叠?



