tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashish Arya" <ashish_a...@persistent.co.in>
Subject Help regarding XTags
Date Tue, 06 Jun 2006 05:22:26 GMT
Hi Everyone,
I am facing some problem while using XTags taglib. Please help me.
 
In my scenario, I have a servlet which communicates with a web service and
writes the SOAP response XML to the output writer.
Now I want to apply xsl to this xml, so I thought to use XTags taglib for
this.
 
My Servlet mapping is : "/folder/displayInformation"
 
The JSP is as shown below.
 
<html>
<%@ taglib uri="http://jakarta.apache.org/taglibs/xtags-1.0" prefix="xtags"
%>
<body>
This is DisplayFolderListUsingXSL
<table width="50%" height="50%" border="1">
<tr height="50%">
<td width="50%">
<xtags:parse uri="/folder/displayInformation" id="mydoc"/>
 
<%-- style the current document context --%>
<xtags:style document="<%=mydoc%>" xsl="/CRWebservice.xsl"
outputMethod="html"/>
</td>
<td align="center" valign="middle" bgcolor="#AA4536">
This is another section
</td>
</tr>
<tr>
<td bgcolor="#67AB12">
</td>
<td bgcolor="#19AF12">
</td>
</tr>
</table>
</body>
</html>
 
But unfortunately I am getting the follwoing error. (Note that I am using
jakarta-taglibs-xtags-20060530)
 
10:25:35,165 ERROR [Engine] Missing whitespace before SYSTEM literal URI.
; SystemID: http://localhost:9090/spss/folder/displayInformation; Line#: 18;
Column#: -1
javax.xml.transform.TransformerException: Missing whitespace before SYSTEM
literal URI.
        at
org.apache.xalan.transformer.TransformerImpl.fatalError(TransformerImpl.java
:739)
        at
org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:
715)
        at
org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:
1129)
        at
org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:
1107)
        at
org.apache.taglibs.xtags.xslt.StyleTag.doEndTag(StyleTag.java:157)
        at
org.apache.jsp.DisplayFolderListUsingXSL_jsp._jspx_meth_xtags_style_0(Displa
yFolderListUsingXSL_jsp.java:131)
        at
org.apache.jsp.DisplayFolderListUsingXSL_jsp._jspService(DisplayFolderListUs
ingXSL_jsp.java:64)
        at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2
10)
        at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.
java:684)
        at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatch
er.java:432)
        at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher
.java:356)
        at
com.spss.servlet.AbstractBaseServlet.gotoNxtJsp(AbstractBaseServlet.java:133
)
        at
com.spss.servlet.AuthenticateLoginServlet.performAction(AuthenticateLoginSer
vlet.java:78)
        at
com.spss.servlet.AbstractBaseServlet.doProcess(AbstractBaseServlet.java:98)
        at
com.spss.servlet.AbstractBaseServlet.doPost(AbstractBaseServlet.java:76)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:256)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
        at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:191)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
        at
org.jboss.web.tomcat.security.JBossSecurityMgrRealm.invoke(JBossSecurityMgrR
ealm.java:220)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
        at
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2
46)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
        at
org.jboss.web.tomcat.tc4.statistics.ContainerStatsValve.invoke(ContainerStat
sValve.java:76)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
        at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
        at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2417)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
        at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:171)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172
)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
        at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssoci
ationValve.java:65)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
        at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:577)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
        at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:174)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
        at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
        at
org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:197)
        at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:781)
        at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction(Http11Protocol.java:549)
        at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:605)
        at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:677)
        at java.lang.Thread.run(Thread.java:534)
 
 
Any help or pointer would be fine.
 
regards,
 
Ashish Arya 


DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the property of Persistent
Systems Pvt. Ltd. It is intended only for the use of the individual or entity to which it
is addressed. If you are not the intended recipient, you are not authorized to read, retain,
copy, print, distribute or use this message. If you have received this communication in error,
please notify the sender and delete all copies of this message. Persistent Systems Pvt. Ltd.
does not accept any liability for virus infected mails.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message