jQuery in Action, 2nd edition
The moose likes Struts and the fly likes struts1 application: error in struts-config.xml Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Frameworks » Struts
Reply Bookmark "struts1 application: error in struts-config.xml" Watch "struts1 application: error in struts-config.xml" New topic
Author

struts1 application: error in struts-config.xml

Jithesh Kumar
Ranch Hand

Joined: Mar 09, 2010
Posts: 46
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

Joined: Jun 29, 2008
Posts: 125
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


Cheers
Aneesh
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: struts1 application: error in struts-config.xml
 
Similar Threads
struts1.2 _ struts_config.xml problem
problem dispaly error message in struts
controller tags in RequestProcessor's class
Cannot find ActionMappings or ActionFormBeans collection
can we change the order of appearance of the elements in struts-config.xml ?