This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Struts and the fly likes Struts 1 Webdoclet fails generating struts-config.xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts 1 Webdoclet fails generating struts-config.xml" Watch "Struts 1 Webdoclet fails generating struts-config.xml" New topic
Author

Struts 1 Webdoclet fails generating struts-config.xml

Prag nesh
Greenhorn

Joined: May 21, 2013
Posts: 3
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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Struts 1 Webdoclet fails generating struts-config.xml