Win a copy of Spring in Action (5th edition) this week in the Spring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Ganesh Patekar
  • Frits Walraven
  • Tim Moores
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Stephan van Hulst
  • salvin francis
  • Tim Holloway

Error in web.xml  RSS feed

 
Ranch Hand
Posts: 126
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am writing following web.xml


<?xml version="1.0" encoding="UTF-8" ?>

this is the first line of web.xml and it is giving some error , could someone please tell me that what is the error in that.

Thanks
Regards
Gaurav
 
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
 
Gaurav Chhabras
Ranch Hand
Posts: 126
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
it contains all necessary lines but it is giving error at this line only
 
Ranch Hand
Posts: 1026
 
Gaurav Chhabras
Ranch Hand
Posts: 126
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks to all , now my problem is solved
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A popular error for the "first line" of an xml file is the mind-boggling:

The processing instruction target matching "[xX][mM][lL]" is not allowed.


Which can be generated if you accidently introduced ANYTHING before the first < character.
Bill
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!