Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JAXB and web.xml

Axx Woooo
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everyone!

I am having a problem with unmarshalling web.xml to a Java object, and I've been working on it for days but still no clues, so I thought I should ask for some help...

here's my java code

here is the code of the class ServletMapping

class servlet

these are the java modles written by me, it doesn't work, I think it's because I didn't used the XmlElementWrapper annotation right, but there might be multiple servlet elements in web.xml, so...

Any solution to this problem? Thanks a lot!!!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic