Java Mailing List Archive

http://www.junlu.com/

Google
Google
Mailing List
Home
Forum Home
JBoss - Java Application Server
Struts - A MVC web framework
Tomcat - JSP/Servlet container
iText - An open source PDF Java Library
JDOM - JDOM XML Parser
J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition
J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog
Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology
JSP - A mailing list about Java Server Pages specification and reference
Struts & Hibernate
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Oracle Connection Pooling in 3 2 2
Servlet : Session invalidate
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Tomcat and webapplication specific java library path
Running a Simple JMS Example
Mapping in workers2 properties
org apache jasper JasperException
Cannot find message resources under key org apache struts action
   MESSAGE
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
url string for connecting jboss to oracle
Value attribute of <html:checkbox
javax servlet ServletException: BeanUtils populate
HTTP Status 404 The requested resource is not available
5 0 18: Windows XP Pro vs Windows 2000
 
How to cdynamically onvert XML to HTML using JSP?

How to cdynamically onvert XML to HTML using JSP?

2003-07-18       - By Faxin.Zhao@(protected)

 Back
Reply:     1     2  

Hi,

I have a problem.

I can search an account using a servlet and a jsp file,
and show the results using XML.

Now I need to minitor those output and show it using HTML.

I run the following jsp, but got error:

<%@(protected) uri="http://jakarta.apache.org/taglibs/xsl-1 (See http://xsl-1.ora-code.com).0" prefix="xslt" %>
<html>
<head>
<title>Account Monitor</title>
</head>
<body>
<center>
Minitor
<p></p>
<xslt:apply xml
="http://localhost/servlet/acctMonitor?acctKey=1234678&branch=BIC" xsl
="bic.xsl"/>
</center>
</body>
</html>


What's wrong?

Thanks in advance.


Exception in jsp:
org.apache.jasper.JasperException Source code of org.apache.jasper.JasperException: Could not locate TLD META-INF/taglib.tld
at
org.apache.jasper.compiler.TagLibraryInfoImpl Source code of org.apache.jasper.compiler.TagLibraryInfoImpl(TagLibraryInfoImpl.java:217)
at
org.apache.jasper.compiler.JspParseEventListener Source code of org.apache.jasper.compiler.JspParseEventListener
(JspParseEventListener.java:648)
at
org.apache.jasper.compiler.DelegatingListener Source code of org.apache.jasper.compiler.DelegatingListener
(DelegatingListener.java:110)
at
org.apache.jasper.compiler.Parser Source code of org.apache.jasper.compiler.Parser$Directive.accept(Parser.java:194) at
org.apache.jasper.compiler.Parser Source code of org.apache.jasper.compiler.Parser(Parser.java:984) at
org.apache.jasper.compiler.Parser Source code of org.apache.jasper.compiler.Parser(Parser.java:959) at
org.apache.jasper.compiler.Parser Source code of org.apache.jasper.compiler.Parser(Parser.java:955) at
org.apache.jasper.compiler.Compiler Source code of org.apache.jasper.compiler.Compiler(Compiler.java:140) at
org.apache.jasper.runtime.JspLoader Source code of org.apache.jasper.runtime.JspLoader(JspLoader.java:226) at
org.apache.jasper.runtime.JspServlet Source code of org.apache.jasper.runtime.JspServlet$JspServletWrapper.loadIfNecessary
(JspServlet.java:142)
at
org.apache.jasper.runtime.JspServlet Source code of org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.java
:153)
at
org.apache.jasper.runtime.JspServlet Source code of org.apache.jasper.runtime.JspServlet(JspServlet.java:245) at
org.apache.jasper.runtime.JspServlet Source code of org.apache.jasper.runtime.JspServlet(JspServlet.java:350) at
javax.servlet.http.HttpServlet Source code of javax.servlet.http.HttpServlet(HttpServlet.java:868) at
com.gefionsoftware.server.ServletContextImpl$ServletHandler.call
(ServletContextImpl.java)
at
com.gefionsoftware.server.ServletContextImpl.executeServlet(ServletContextImpl
.java)
at
com.gefionsoftware.server.ServletContextImpl.execute(ServletContextImpl.java)
at
com.gefionsoftware.server.GenericServer.execute(GenericServer.java) at
com.gefionsoftware.server.lws.LiteWebServer$RequestHandler.run(LiteWebServer
.java)
at
se.pureit.util.ThreadPool$WorkThread.startRunnable(ThreadPool.java) at
se.pureit.util.ThreadPool$WorkThread.run(ThreadPool.java)

===========================================================================
To unsubscribe: mailto listserv@(protected) with body: "signoff JSP-INTEREST".
For digest: mailto listserv@(protected) with body: "set JSP-INTEREST DIGEST".

Some relevant archives, FAQs and Forums on JSPs can be found at:

http://java.sun.com/products/jsp
http://archives.java.sun.com/jsp-interest.html
http://forums.java.sun.com
http://www.jspinsider.com



©2008 junlu.com - Jax Systems, LLC, U.S.A.