on 04-01-2008 8:22 AM
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"?>
<web-app id="WebApp_ID" version="2.5" xmlns:xsi="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
Am I addressing this question to wrong forum. Please reply if anybody knows the solution.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.