Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Struts 1 Webdoclet fails generating struts-config.xml

Prag nesh
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have an Action Class in which i have provided the forward mappings as documentation comments in the beginning of the file just after the import statements. something like this

I have also used syntax like in my action class. I generate struts-config.xml using webdoclet, providing the action class name as input. The xml generation fails saying parsing error at line where I have mentioned <String> saying that "<" was unexpected.
How to resolve this?
is there any specific configuration in webdoclet that I have misse?
Please tell me if i need to provide more details
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!