jsp translate xml to html using xsl

IgorDudekBL

New Member
i have a web application and i want to transform a xml to html using my custom xsl in jsp.when i test the xml and xsl using altovaXMLSPY, it works.but in the jsp,there is something wrong.the directory is look like this--root my.jsp --WEB-INF taglibs-xsl.tld --classes my.xml my.xslthe jsp is look like this one\[code\]<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <%@taglib uri="http://jakarta.apache.org/taglibs/xsl-1.0" prefix="xsl"%> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <%@ page%> <title>my jsp</title> </head> <body> <p> <xsl:apply nameXml="WEB-INF/classes/my.xml" xsl="WEB-INF/classes/my.xsl" /> </p> </body> </html>\[/code\]and the error is javax.servlet.jsp.JspException: Missing bean 'WEB-INF/classes/my.xml'
 
Back
Top