Skip to Content

If your web

application has been developed in accordance to Java Servlet

Specification 2.3, the web deployment descriptor (web.xml)

needs to be changed in order to run on a Java EE 5 compatible server.

The SAP NetWeaver 7.1 Composition Environment will convert the old web

deployment descriptors automatically when you deploy your web

application as expected by Java Servlet Secification 2.5.Old version: New version: Old version: New version: 

                   <description/><br />

                   <display-name/><br />

                   <icon/><br />

               …  </p>

               </td>

          </tr>

     

</tbody></table>

<br />

<br />

<ul style=”margin-top: 0in”>

     <li class=”MsoNormal” style=”text-align: justify”>Change the order

     of sub-elements in <context-param>:</li>

</ul>

<table border=”1″ width=”100%”>

     

          <tbody><tr>

               <td>

               <p class=”MsoNormal”>Old version: New version: 

                   <description/><br />

                   <param-name/><br />

                   <param-value/><br />

               </context-param><br />

               </td>

          </tr>

     

</tbody></table>

<br />

<br />

<ul style=”margin-top: 0in”>

     <li class=”MsoNormal” style=”text-align: justify”>Change the order

     of sub-elements in <filter>:</li>

</ul>

<p style=”margin-left: 1in; text-indent: -0.25in” class=”MsoNormal”>a)   

Change the order of the elements <icon>, <display-name> and

<description>.</p>

<p style=”margin-left: 1in; text-indent: -0.25in” class=”MsoNormal”>b)   

Change the order of sub-elements in <init-param>.</p>

<table border=”1″ width=”100%”>

     

          <tbody><tr>

               <td>

               <p class=”MsoNormal”>Old version: New version: 

                       <description/><br />

                       <param-name/><br />

                       <param-value/><br />

                   </init-param><br />

               </filter></p>

               </td>

          </tr>

     

</tbody></table>

<br />

<br />

<ul style=”margin-top: 0in”>

     <li class=”MsoNormal” style=”text-align: justify”>Change the order

     of sub-elements in <servlet>:</li>

</ul>

<p style=”margin-left: 1in; text-indent: -0.25in” class=”MsoNormal”>a)   

Change the order of the elements <icon>, <display-name> and

<description>.</p>

<p style=”margin-left: 1in; text-indent: -0.25in” class=”MsoNormal”>b)   

Change the order of sub-elements in <init-param>.</p>

<table border=”1″ width=”100%”>

     

          <tbody><tr>

               <td>

               <p class=”MsoNormal”>Old version: New version: Old version: New version: 

<jsp-config>

               </jsp-config></p>

               </td>

          </tr>

     

</tbody></table>

<br />

<br />

<ul style=”margin-top: 0in”>

     <li class=”MsoNormal” style=”text-align: justify”>Change the order

     of sub-elements in <env-entry></li>

</ul>

<table border=”1″ width=”100%”>

     

          <tbody><tr>

               <td width=”50%”>

               <p class=”MsoNormal”>Old version: New version: Old version: New version: Make sure that

     any of the sub-elements defining a name of an element contains

     a unique name within the web application. Such sub-elements are:The transition from DTD to xml schema gives an

     opportunity to define a different kind of restrictions to the element

     types. Restrictions are used to define acceptable values for XML

     elements or attributes.  Make sure that all elements in your web

     deployment descriptor meet the schema requirements for their values;

     consult the schema web-app_2_5.xsd if necessary.</p>

     </li>

</ul>

To report this post you need to login first.

1 Comment

You must be Logged on to comment or reply to a post.

Leave a Reply