I am using a jsp file from IBM examples (jsp with xml), I just changed : <BEAN type="xml.DataIslandBean" name="dataIslandBean" introspect="no" create="yes" scope="request"> <PARAM name="xml" value="http://localhost/xml/specs.xml"> <PARAM name="xsl" value="http://localhost/xml/specs.xsl"> </BEAN> to : <%@ page import="DataIslandBean"%> <jsp:useBean id="dataIslandBean" class="DataIslandBean" scope="request"> <jsp:setProperty name="dataIslandBean" property="xml" param="http://localhost:8080/ibmxml/specs.xml" > <jsp:setProperty name="dataIslandBean" property="xsl" param="http://localhost:8080/ibmxml/specs.xsl" > </jsp:useBean> Here is the jsp file : <%@ import = "com.lotus.xsl.XSLProcessor" %> <%@ page import="DataIslandBean"%> <jsp:useBean id="dataIslandBean" class="DataIslandBean" scope="request"> <jsp:setProperty name="dataIslandBean" property="xml" param="http://localhost:8080/ibmxml/specs.xml" > <jsp:setProperty name="dataIslandBean" property="xsl" param="http://localhost:8080/ibmxml/specs.xsl" > </jsp:useBean> <HTML> <HEAD> <TITLE> XML Data Island Sample </TITLE> </HEAD> <BODY bgcolor="#FFFFFF"> <H2>Data Island Example</H2> <P> <%= dataIslandBean.getDocument() %> <BR> </P><BR> </BODY> </HTML> I got this error : A Servlet Exception Has Occurred org.apache.jasper.compiler.ParseException: C:\tomcat4\bin\..\webapps\ibmxml\XMLSample.jsp(0,4) Invalid directive at org.apache.jasper.compiler.Parser$Directive.accept(Parser.java:214) _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
