W3C home > Mailing lists > Public > www-validator-cvs@w3.org > September 2009

2006/unicorn/src/org/w3c/unicorn/action TestAction.java,1.3,1.4

From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
Date: Thu, 03 Sep 2009 14:04:36 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1MjCvU-0006iN-DJ@lionel-hutz.w3.org>
Update of /sources/public/2006/unicorn/src/org/w3c/unicorn/action
In directory hutz:/tmp/cvs-serv25787/src/org/w3c/unicorn/action

Modified Files:
	TestAction.java 
Log Message:
up


Index: TestAction.java
===================================================================
RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/action/TestAction.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- TestAction.java	28 Aug 2009 16:11:41 -0000	1.3
+++ TestAction.java	3 Sep 2009 14:04:34 -0000	1.4
@@ -32,7 +32,18 @@
 		
 		PrintWriter out = resp.getWriter();
 		
-		for (String key : Framework.mapOfTask.keySet()) {
+		out.println(req.getQueryString());
+		
+		String queryString = req.getQueryString();
+		
+		//if (queryString.contains("ucn_lang"))
+		String s =	queryString.replaceAll("ucn_lang=[^&]*&?", "");
+		
+		out.println(s);
+		
+		out.close();
+		
+		/*for (String key : Framework.mapOfTask.keySet()) {
 			out.println(Framework.mapOfTask.get(key));
 			
 			
Received on Thursday, 3 September 2009 14:04:44 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:55:13 GMT