Read China content in JSP and store in Java variable
653189Sep 10 2008 — edited Sep 13 2008Hi All ,
I have created China language content(BinaryType) using weblogic admin console.
And I am trying to get the content and to store in a Java Variable .
Pls suggest me how to read other language content and to store in java variable for manipulation.
Srinivas
I am using following lines of code to get content
<utility:forEachInArray array="<%=newsID%>" id="node" type="com.bea.content.Node">
**************
INodeManager nodeManager = ContentManagerFactory.getNodeManager();
java.io.InputStream is = nodeManager.getStream(new ContentContext(), node.getId(),
"News-Content");
when I am using inputstream "is" to read the china content , its displaying garbage values.