• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem in Struts JAXB

 
BuccaneerAnirban Bhattacharjee
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
have a Web app with struts
I choose jaxb to marshall/unmarshall xml stream to java object.
I used jaxb with a console app and everything was ok.
The same code, inside struts, give me the following error:

JAXBContext jc = JAXBContext.newInstance("com.sra.aci.xsd");

But I am getting exception once I run this step frm struts app

Could you give me a suggest???
 
Rahul Bhattacharjee
Ranch Hand
Posts: 2308
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What exception are you getting ?
Can you please the stacktrace also.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic