Skip to Content
0
Former Member
Apr 01, 2008 at 07:22 AM

Tag Libs in 7.1

13 Views

Hi Experts,

I am trying to migrate a web appication from tomcat to SAP WAS 7.1 . I am facing some problems as follows:

1. When I create a tld file by right clicking on web.xml an entry is made to web.xml as

<?xml version="1.0" encoding="UTF-8"?>

http://www.w3.org/2001/XMLSchema-instance" xmlns=" http://java.sun.com/xml/ns/javaee" xmlns:jsp=" http://java.sun.com/xml/ns/javaee/jsp" xmlns:web=" http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation=" http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd ">

<display-name>AprilfoolTest</display-name>

<jsp-config>

<jsp:taglib>

<jsp:taglib-uri>/WEB-INF/My.tld</jsp:taglib-uri>

<jsp:taglib-location>/WEB-INF/My.tld</jsp:taglib-location>

</jsp:taglib>

</jsp-config>

</web-app>

But I get error at <jsp:taglib> tab :

cvc-complex-type.2.4.a: Invalid content was found starting with element 'jsp:taglib'. One of '{"http://java.sun.com/xml/ns/javaee":taglib, "http://java.sun.com/xml/ns/javaee":jsp-property-group}' is expected.

When I replace <jsp:taglib> with only <taglib> build time error goes away.

2. Are there any changes that have occurred in WAS with respect to taglibs from version 6.4/7.0 to 7.1. Any document which quotes these changes.

Please help me, don't worry about the points I will give it to right answer.

cheers

jayant

Am I addressing this query to wrong forum. If anybody is aware of any solution to my question then plz reply