apache-cocoon

How can I get the title of the referring page (item) from a modified version of feedback page in DSpace?

折月煮酒 提交于 2019-12-11 22:13:37
问题 How can I get the title of an item from a modified version of the feedback page just like in the "Recommend this item" in jspui? I'm hoping also to generate the resulting url of the page to be like http://example.com/feedback?handle=123456789/123. I've asked this from a comment in my previous post but I don't know how to use the HandleManager. I've tried many times using part of the code from itemRequestForm but I always get null pointer error. DSpaceObject dso = HandleUtil.obtainHandle

Tomcat showing this error “This is very likely to create a memory leak”. How to resolve this issue?

非 Y 不嫁゛ 提交于 2019-12-07 14:49:59
问题 I have created a web application in Apache Cocoon.This website is running properly but after every 3-4 days, it stops responding. It doesn't run until and unless, we restart the tomcat service. In the catalina.2011-05-09.log file, it shows following error:- "May 9, 2011 3:17:34 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads SEVERE: The web application [/webresources] is still processing a request that has yet to finish. This is very likely to create a memory leak. You

Tomcat showing this error “This is very likely to create a memory leak”. How to resolve this issue?

帅比萌擦擦* 提交于 2019-12-05 18:37:52
I have created a web application in Apache Cocoon.This website is running properly but after every 3-4 days, it stops responding. It doesn't run until and unless, we restart the tomcat service. In the catalina.2011-05-09.log file, it shows following error:- "May 9, 2011 3:17:34 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads SEVERE: The web application [/webresources] is still processing a request that has yet to finish. This is very likely to create a memory leak. You can control the time allowed for requests to finish by using the unloadDelay attribute of the standard

Declaring a xsl variable and assigning value to it

 ̄綄美尐妖づ 提交于 2019-11-30 12:56:43
问题 I'm working on an application which uses apache cocoon to convert an XML to PDF, and I'm redesigning the XSL that handles the input XML. Currently in the XSL, we have code like this <xsl:variable name="variable1"> <xsl:choose> <xsl:when test="$testVariable ='1'"> <xsl:value-of select="'A'"/> </xsl:when> <xsl:when test="$testVariable ='1'"> <xsl:value-of select="'B'"/> </xsl:when> </xsl:choose> </xsl:variable> <xsl:variable name="variable2"> <xsl:choose> <xsl:when test="$testVariable ='1'">

Declaring a xsl variable and assigning value to it

烈酒焚心 提交于 2019-11-30 03:30:54
I'm working on an application which uses apache cocoon to convert an XML to PDF, and I'm redesigning the XSL that handles the input XML. Currently in the XSL, we have code like this <xsl:variable name="variable1"> <xsl:choose> <xsl:when test="$testVariable ='1'"> <xsl:value-of select="'A'"/> </xsl:when> <xsl:when test="$testVariable ='1'"> <xsl:value-of select="'B'"/> </xsl:when> </xsl:choose> </xsl:variable> <xsl:variable name="variable2"> <xsl:choose> <xsl:when test="$testVariable ='1'"> <xsl:value-of select="'X'"/> </xsl:when> <xsl:when test="$testVariable ='1'"> <xsl:value-of select="'Y'"/