• Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
raminaa niilian
Ranch Hand
Posts: 551
  • Mark post as helpful
  • send pies
  • 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
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • 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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!