Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) 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: 398
Android Eclipse IDE Ubuntu
  • 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 ]
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!