Redirect to Page via Header.jsp

I have a redirect back to a list of search results in the header.jsp, inside that jsp there is a javascript function that gets called if we hit the “Return to Result List” link. It should redirect the user to their previous results page. The Redirect right now is resolving to a blank white page with no indicated errors. I can’t quite figure out why it’s not properly showing the jsp of the page we’re redirecting to.

searchResultHeading.jsp is the jsp that has the header inside of it that contains the link in question

        <%if(ApplicationBean.getBizActivityAuthorizations().ResultBasicInfo() && !ApplicationBean.isInExternalAppContext()) { %>
             | <a href="javaScript:returnToResultList();" class=sm>Return to Result list</a>
        <% } %>     
        </td>
    </tr>

Header.jsp is another jsp that contains a ton of common stuff as well as functions. The returnToResultList Function is inside there

function gotoSearchResults(searchForm)
{
    searchForm.userAction.value = "<%=myLiterals.USER_ACTION_RETURN_TO_SEARCH_RESULTS_PAGE%>";
    searchForm.action="/mySite/GlobalNavigationController";
    searchForm.submit();
    return true;
}

The GlobalNavigationController.java itself is below which is where we arrange the redirects to various sub-controllers who display their JSPs. Navigating to the Search and then performing it and getting the Results List works if searching but when trying to back-track from a result it fails.

@Controller
public class GlobalNavigationController {

@Autowired
private CustomerListController customerListController;

@RequestMapping(path="/GlobalNavigationController", method={RequestMethod.GET, RequestMethod.POST})
   public ModelAndView doGet(HttpSession session, HttpServletRequest req, HttpServletResponse res) throws Exception
    {
        SiteBean myBean = new myBean();
        try
        {
            RequestMapper.MapToBean(req,myBean);
            if (myBean.getUserAction().equals(myLiterals.USER_ACTION_1))
            {
                return null;
            }
            else if(myBean.getUserAction().equals(myLiterals.USER_ACTION_2))
            {
                GlobalNavigationUCService.processSideNav();
                GlobalNavigationUCService.resetDisPlayOrder();
                return maintainController.doGet(session, req, res);
            }
            else if (myBean.getUserAction().equals(myLiterals.USER_ACTION_3))
            {
                GlobalNavigationUCService.processSideNavInitiateSearch();
                GlobalNavigationUCService.resetDisPlayOrder();
                return SearchController.doGet(session, req, res);
            }
            else if(myBean.getUserAction().equalsIgnoreCase(myLiteral.USER_ACTION_4))
            {
                GlobalNavigationUCService.processSideNavInitiateSearch();
                GlobalNavigationUCService.processTabsGoToResults();
                GlobalNavigationUCService.resetDisPlayOrder();
                return ProfileController.doGet(session,req,res);
            }
            else if (myBean.getUserAction().equals(myLiterals.USER_ACTION_RETURN_TO_SEARCH_RESULTS_PAGE))
            {
                GlobalNavigationUCService.processTabsGoToResults();
                return customerListController.doGet(session, req, res);
            }

I’ve managed to so understand the standard navigation and get that working but I am not sure why the retun to results is not working from the javascript link in the JSP.

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật