tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kris Schneider <k...@dotech.com>
Subject Re: jstl x:parse outputs data
Date Fri, 20 Apr 2007 15:36:53 GMT
http://issues.apache.org/bugzilla/show_bug.cgi?id=35216

This has been fixed but not yet released.

Kris Schneider wrote:
> For now, try removing session="false" from your page directive.
> 
> Isabelle Phan wrote:
> 
>> with both Xalan 2.7.0 and 2.5.0 I now get the error
>>
>>    WARN: Unhandled exception
>> org.apache.jasper.JasperException: Exception in JSP: /index.jspx:102
>>
>> 100:     <c:import var="rssFeed" 
>> url="http://www.expasy.org/spotlight/index.xml"/>
>> 101:     <x:parse var="rss" xml="${rssFeed}"/>
>> 102:     <x:out 
>> select="$rss//*[name()='channel']/*[name()='title'][1]" 
>> escapeXml="false"/>
>>
>>   ERROR: Nested in javax.servlet.ServletException: 
>> javax.servlet.jsp.JspException: Cannot access session scope in page 
>> that does not participate in any session:
>> java.lang.IllegalStateException: Cannot access session scope in page 
>> that does not participate in any session
>>
>>
>> Kris Schneider wrote:
>>  > You'll need both Xerces and Xalan (Xerces should be included in the
>>  > Xalan download). I believe the release notes for Standard 1.1 state 
>> that
>>  > Xalan 2.5 is required. Use this link:
>>  >
>>  > http://www.apache.org/dyn/closer.cgi/xml/xalan-j
>>  >
>>  > to download the latest version. If you run into any issues, you can 
>> try
>>  > falling back to 2.5.0:
>>  >
>>  > 
>> http://archive.apache.org/dist/xml/xalan-j/binaries/xalan-j_2_5_0-bin.zip
>>  >
>>  >  From the ZIP file, you'll want the following JARs:
>>  >
>>  > xalan.jar
>>  > xercesImpl.jar
>>  > xml-apis.jar

-- 
Kris Schneider <mailto:kris@dotech.com>
D.O.Tech       <http://www.dotech.com/>

---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-user-help@jakarta.apache.org


Mime
View raw message