You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by eh...@apache.org on 2006/12/03 01:51:01 UTC

svn commit: r481678 - /incubator/wicket/branches/wicket-1.x/wicket/src/main/java/wicket/protocol/http/WicketFilter.java

Author: ehillenius
Date: Sat Dec  2 16:50:58 2006
New Revision: 481678

URL: http://svn.apache.org/viewvc?view=rev&rev=481678
Log:
duh

Modified:
    incubator/wicket/branches/wicket-1.x/wicket/src/main/java/wicket/protocol/http/WicketFilter.java

Modified: incubator/wicket/branches/wicket-1.x/wicket/src/main/java/wicket/protocol/http/WicketFilter.java
URL: http://svn.apache.org/viewvc/incubator/wicket/branches/wicket-1.x/wicket/src/main/java/wicket/protocol/http/WicketFilter.java?view=diff&rev=481678&r1=481677&r2=481678
==============================================================================
--- incubator/wicket/branches/wicket-1.x/wicket/src/main/java/wicket/protocol/http/WicketFilter.java (original)
+++ incubator/wicket/branches/wicket-1.x/wicket/src/main/java/wicket/protocol/http/WicketFilter.java Sat Dec  2 16:50:58 2006
@@ -161,7 +161,7 @@
 		final ClassLoader previousClassLoader = Thread.currentThread().getContextClassLoader();
 		try
 		{
-			Thread.currentThread().setContextClassLoader(previousClassLoader);
+			Thread.currentThread().setContextClassLoader(getClassLoader());
 
 			// If the request does not provide information about the encoding of
 			// its
@@ -330,7 +330,7 @@
 		final ClassLoader previousClassLoader = Thread.currentThread().getContextClassLoader();
 		try
 		{
-			Thread.currentThread().setContextClassLoader(previousClassLoader);
+			Thread.currentThread().setContextClassLoader(getClassLoader());
 
 			IWebApplicationFactory factory = getApplicationFactory();