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:

[code]

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd";>
<!--
Copyright 2002, 2003 Sun Microsystems, Inc. All Rights Reserved.
-->
<web-app xmlns="http://java.sun.com/xml/ns/j2ee"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"; version="2.4">



<jsp-config>
   <jsp-property-group>
     <url-pattern>*.jspf</url-pattern>
     <page-encoding>UTF-8</page-encoding>
     <is-xml>true</is-xml>
   </jsp-property-group>
 </jsp-config>



[/code]


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

Reply via email to