This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Struts and the fly likes Error in struts-config.xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Error in struts-config.xml" Watch "Error in struts-config.xml" New topic

Error in struts-config.xml

sreenath reddy
Ranch Hand

Joined: Sep 21, 2003
Posts: 415

How could i know if there something wrong in syntax of my struts-config.xml ?? because i am not getting notified when i havent closed some of my tags . so when i start my appl it wont be loaded

i tried using validating as init-param for actionservlet in web.xml .but its of no use

can any one let me know how to get to know about this ??
Srilakshmi Vara
Ranch Hand

Joined: Jul 21, 2004
Posts: 169
It depends on the IDE which you are using. try to set xml properties in the IDE. If its a text editor try to open the xml in the browser it checks for completeness.
It is sorta covered in the JavaRanch Style Guide.
subject: Error in struts-config.xml
Similar Threads
When / How many of my ActionForm classes and Action classes are instantiated ?
Struts - EJB - model
Multiple Struts-config.xml in Jboss 4.2.1
pager-taglib problem wrong Struts-config file
Can any one tell me how to use validator plugin in struts ?