KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jahia > clipbuilder > html > RequestParameterManager


1 package org.jahia.clipbuilder.html;
2 import javax.servlet.http.*;
3
4 /**
5  * <p>
6  *
7  * Title: </p> <p>
8  *
9  * Description: </p> <p>
10  *
11  * Copyright: Copyright (c) 2005</p> <p>
12  *
13  * Company: </p>
14  *
15  *@author not attributable
16  *@version 1.0
17  */

18 public abstract class RequestParameterManager {
19     /**
20      * Gets the NameSpace attribute of the RequestParameterManager class
21      *
22      *@param request Description of Parameter
23      *@return The NameSpace value
24      */

25     public static String JavaDoc getNameSpace(HttpServletRequest request) {
26         String JavaDoc nameSpace = request.getParameter("nameSpace");
27         if (nameSpace == null) {
28             nameSpace = "webClipBuilder";
29         }
30         return nameSpace;
31     }
32 }
33
Popular Tags