Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

struts1 application: error in struts-config.xml

 
Jithesh Kumar
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am developing a strut application. i am getting an error in struts-config.xml.Below is the error
The content of element type "struts-config" must match "(display-name?,description?,data-sources?,form-beans?,global-
exceptions?,global-forwards?,action-mappings?,controller?,message-resources*,plug-in*)".
below is the struts-config.xml file.
line 8 is showing the error

Thanks in advance
 
Aneesh Vijendran
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,


Could you please try after removing lines - 9, 10, 11 and 17. (Technically there doesn't seems to be a problem)

Let me know if it works.

Cheers
Aneesh
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic