jQuery in Action, 2nd edition*
The moose likes Struts and the fly likes Displaying the ACORD JAXB Java elements in JSP in Struts2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Displaying the ACORD JAXB Java elements in JSP in Struts2" Watch "Displaying the ACORD JAXB Java elements in JSP in Struts2" New topic
Author

Displaying the ACORD JAXB Java elements in JSP in Struts2

crazyk crazy
Greenhorn

Joined: Sep 23, 2013
Posts: 4
Scenario:
I am trying to unmarshall the Acord XML(Insurance standard XML) to Java-Acordform and then trying to map the Acordform object to a one more formbean-Policformbean in order to display the values in the JSP where user can edit the values.Again I have to marshall the Java object values to XML.There is an XSD available for this Acpord XML.Suing XMLSpy I have created XSD from XML.Using XJC I have created the java objects from XSD. Since Acord being a complex XML and the structure of the generated Java object is not straight forward I have created Policformbean.Using Policformbean , I am tring to display the values in the JSP.

Issue:
I am facing few issues while setting the acordform to Policformbean.May I know if using JAXB is the best approach for me to display the XML element values when Acord XML is used? If anyone has worked on JAXB conversion from Acord XML to Java object values, please guide me.

Thanks in Advance.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Displaying the ACORD JAXB Java elements in JSP in Struts2
 
Similar Threads
Struts2- Persistence of objects values between different actions in the same Action class
Converting Xml to Java Object
Do we have any tools to copy objects form one xml(schema based) to another xml(schema based)
Autogenerating Castor Unmarshaller Mapping File
Error while parsing schema