1 25 26 package com.j2biz.blogunity.web.actions.exec; 27 28 import javax.servlet.http.HttpServletRequest ; 29 import javax.servlet.http.HttpServletResponse ; 30 31 import com.j2biz.blogunity.exception.BlogunityException; 32 import com.j2biz.blogunity.i18n.I18N; 33 import com.j2biz.blogunity.web.ActionResultFactory; 34 import com.j2biz.blogunity.web.IActionResult; 35 import com.j2biz.blogunity.web.actions.AbstractAction; 36 37 44 public class SearchBlogFormAction extends AbstractAction { 45 46 private static final IActionResult SEARCH_FORM_FORWARD = ActionResultFactory 47 .buildForward("/jsp/searchBlogForm.jsp"); 48 49 55 public IActionResult execute(HttpServletRequest request, HttpServletResponse response) 56 throws BlogunityException { 57 58 59 navigationStack.clear(); 62 navigationStack.push(ActionResultFactory.buildRedirect(I18N.MESSAGES.NAVI_SEARCH_BLOGS, 63 currentActionPath)); 64 65 return SEARCH_FORM_FORWARD; 66 } 67 68 } | Popular Tags |