Skip to Main Content

Application Development Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Read China content in JSP and store in Java variable

653189Sep 10 2008 — edited Sep 13 2008
Hi 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.

Comments

EJP
I suggest you print out the name of the interface before trying to get its MAC address, and investigate the characteristics of the one that fails. Probably it is one that doesn't have a MAC address, e.g. 127.0.0.1.
qjvictor
Thanks for your reply.

The exception is specifically from the network interface between M5000 service processor and each domain.

In my case, I just need to catch this exception, and continue to get mac address from other interfaces.
1 - 2
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Oct 11 2008
Added on Sep 10 2008
8 comments
462 views