• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

problem when adding a jsp-config to web.xml to make jspf recognized as XML formatted

 
Ranch Hand
Posts: 551
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi
Thank you for reading mu post.
I tried to add / change following items in web.xml for my jsf application
to make suret hat application server treat jspf files as utf-8 (XML format).
what i my web.xml changed section looks like after i add changes is:




but when i try to deploy it to the server , server says that :
Deploying application in domain failed; Error loading deployment descriptors for Advertiser Line 6 Column 220 -- Attribute "xmlns" must be declared for element type "web-app".

can some one please tell me what is my mistake ?
Im using sun application server 8.1 , which support latest jsp standard....

what is wrong here ?
is there other ways to say the server to treat jspf files as utf-8 / XML formatted files ?


Thank you
 
Ranch Hand
Posts: 15304
6
Mac OS X IntelliJ IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If you'll notice, the error says nothing about your jsp-config tag.



Should just be



Before you were confusing things by adding the DTD for J2EE 2.3 and then declaring it again using xmlns for 2.4.
 
reply
    Bookmark Topic Watch Topic
  • New Topic