Hi,
Why you wants to copy this file here?
jeremi
On 9/9/06, bkrausz <bkrausz(a)web.de> wrote:
And here is the code fixed :
<%
scontext=context.getRequest().getSession().getServletContext();
test=scontext.getAttribute("test");
if(test==null)
println "test is null"
else
println "test is not null"
scontext.setAttribute("test",new Object())
%>
Yes, you're right. It must be scontext.setAttribute("test",new Object())
instead of put(). But that't not the problem. I always get
NoClassDefFoundError:
org/apache/catalina/session/StandardSessionFacade or when I copy
catalina.jar to WEB-INF/lib I get a ClassCastException because of different
ClassLoaders.
Barbara
--
View this message in context:
http://www.nabble.com/groovy---context-tf2226640.html#a6225830
Sent from the XWiki- Users forum at
Nabble.com.
--
You receive this message as a subscriber of the xwiki-users(a)objectweb.org mailing list.
To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
For general help: mailto:sympa@objectweb.org?subject=help
ObjectWeb mailing lists service home page:
http://www.objectweb.org/wws