List of usage examples for javax.servlet.http HttpServletRequest setAttribute
public void setAttribute(String name, Object o);
From source file:util.JSPUtil.java
public static void asetaIlmoitus(HttpServletRequest request, String ilmoitus) { request.setAttribute("ilmoitus", ilmoitus); }
From source file:util.JSPUtil.java
public static void asetaVirhe(HttpServletRequest request, String virheIlmoitus) { request.setAttribute("pageError", virheIlmoitus); }
From source file:com.vko.core.web.filter.InvocationUtils.java
public static void bindInvocationToRequest(Invocation inv, HttpServletRequest request) { request.setAttribute(CoreFilter.INVOCATION_KEY, inv); }
From source file:com.linecorp.bot.spring.boot.support.LineBotServerArgumentProcessor.java
public static void setValue(HttpServletRequest request, CallbackRequest callbackRequest) { request.setAttribute(PROPERTY_NAME, callbackRequest.getEvents()); }
From source file:com.qatickets.web.service.AuthFilter.java
public static void loadUserObjects(HttpServletRequest req) { // current timestamp req.setAttribute("TS", System.currentTimeMillis()); }
From source file:net.incrementalism.tooter.ProfileServlet.java
private static void displayProfile(User user, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException { request.setAttribute("user", user); request.setAttribute("following", loadUsersFollowedBy(user.getUserName())); request.setAttribute("toots", loadTootsFor(user.getUserName())); request.getRequestDispatcher("/profile.jsp").include(request, response); }
From source file:de.itsvs.cwtrpc.core.CwtRpcUtils.java
public static void saveRpcSessionInvalidationPolicy(HttpServletRequest request, RpcSessionInvalidationPolicy policy) { request.setAttribute(RPC_SESSION_INVALIDATION_POLICY_ATTR_NAME, policy); }
From source file:net.sourceforge.vulcan.web.struts.actions.BaseDispatchAction.java
protected final static void saveSuccessMessage(HttpServletRequest request) { request.setAttribute("success", Boolean.TRUE); addMessage(request, Globals.MESSAGE_KEY, ActionMessages.GLOBAL_MESSAGE, new ActionMessage("messages.save.success")); }
From source file:net.sourceforge.fenixedu.presentationTier.Action.publico.ViewTeacherInquiryPublicResults.java
public static void setTeacherScaleColorException(ExecutionSemester executionSemester, HttpServletRequest request) { if (executionSemester.getSemester() == 1 && executionSemester.getYear().equals("2010/2011")) { request.setAttribute("first-sem-2010", "first-sem-2010"); }//from w ww. j ava 2s . c om }
From source file:edu.cornell.mannlib.vitro.webapp.controller.freemarker.PageController.java
public static void putPageUri(HttpServletRequest req, String pageUri) { req.setAttribute("pageURI", pageUri); }