aspose file tools
The moose likes JSF and the fly likes problem when adding a jsp-config to web.xml to make jspf recognized as XML formatted Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "problem when adding a jsp-config to web.xml to make jspf recognized as XML formatted " Watch "problem when adding a jsp-config to web.xml to make jspf recognized as XML formatted " New topic
Author

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

raminaa niilian
Ranch Hand

Joined: Jul 14, 2005
Posts: 550
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

Joined: Jul 11, 2001
Posts: 15230

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.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: problem when adding a jsp-config to web.xml to make jspf recognized as XML formatted
 
Similar Threads
web.xml header
Scriptless JSP
Doubt in EL?
Error in deploying web application
doubt in EL