OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   XML from JSP

[ Lists Home | Date Index | Thread Index ]
  • From: Ben Sifuentes <bsifuentes@cysive.com>
  • To: Xml-Dev <xml-dev@lists.xml.org>
  • Date: Tue, 12 Dec 2000 03:22:08 -0500

Can someone tell me whats wrong with this?

I get the following error msg:
org.apache.jasper.JasperException: Parse Error in the tag library
descriptor: Element "web-app" does not allow "servlet" here.

JSP
----
<%@ page
        import="java.io.*,
                java.sql.*,
		com.cysive.airbank.*,
                java.util.*"
 		contentType="text/vnd.wap.wml"
%>

<%@taglib uri="http://jakarta.apache.org/taglibs/xsl-1.0"
    prefix="xsltlib" %>
<%
    StringBuffer b = new StringBuffer();
    b.append("<errorMsg>");
    b.append("<text>Invalid UserID,try again</text>");
    b.append("</errorMsg>");
%>
<xsltlib:apply xml="<%=b.toString()%>" xsl="errorWML.xsl"/>!





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS