This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori 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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 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.
I agree. Here's the link:
subject: Error in struts-config.xml
It's not a secret anymore!