Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

struts1.2 _ struts_config.xml problem

 
Seetharaman Venkatasamy
Ranch Hand
Posts: 5575
Eclipse IDE Java Windows XP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

i try to deploy my application to tomcat... i am getting following error. please give me a idea

 
Sagar Rohankar
Ranch Hand
Posts: 2907
1
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The problem is with your struts-config.xm file , Its not valid..

Look for any extraneous character or unclosed element.

Please use any IDE XML parser to make sure that it adhere to the rules of dtd . I use NetBeans which allows me to parse my xml file for checking its well formedness & validness against dtd ..

Or paste your struts-config.xml file..
 
Mourouganandame Arunachalam
Ranch Hand
Posts: 396
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

The order of the struts-config elements is important. So, please check your struts-config content against its DTD. Also, provide your struts-config file so that we can suggest you better.

Mourougan
[ November 14, 2008: Message edited by: Mourouganandame Arunachalam ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic