[ 
http://issues.apache.org/jira/browse/ADFFACES-30?page=comments#action_12417043 
] 

Mikhail Grushinskiy commented on ADFFACES-30:
---------------------------------------------

easier to by running sed via shell script on each jspx file

#! /bin/sh

find . -name \*.jspx > input_files

cat input_files | while read file_name
do
        echo $file_name
        sed -e 's#<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"; 
version="1.2"#<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"; 
version="2.0"#g' \
          $file_name > $file_name.new 
        mv -f $file_name.new $file_name
done



and editing web.xml manually for

<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"> 



> Upgrade JSP version in all jspx in ADF/Trinidad examples  to 2.0
> ----------------------------------------------------------------
>
>          Key: ADFFACES-30
>          URL: http://issues.apache.org/jira/browse/ADFFACES-30
>      Project: MyFaces ADF-Faces
>         Type: Improvement

>   Components: Build
>  Environment: all
>     Reporter: Mikhail Grushinskiy
>     Priority: Minor

>
> For JSP 2.0 it should look like
> <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"; version="2.0">
> and web.xml should be at 2.4 level
> <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">
> EL should be upgraded to JSP 2.0  EL too

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to