public ActionForward show(
      ActionMapping mapping,
      ActionForm form,
      HttpServletRequest request,
      HttpServletResponse response)
      throws Exception {
    SiteMapForm siteForm = (SiteMapForm) form;
    ActionMessages errors = new ActionMessages();
    ActionForward forward = new ActionForward(); // return value
    String next = "sitemap";
    String domContext = getDomainAndContext(request);

    siteForm.setContestsMainUrl(VCURLHelper.getContestsMainUrl(domContext));

    siteForm.setCreatePollUrl(VCURLHelper.getCreatePollUrl(domContext));

    siteForm.setHomePageUrl(VCURLHelper.getHomePageUrl(domContext));

    siteForm.setMyVCUrl(VCURLHelper.getMyVCMainUrl(domContext));
    siteForm.setEditAccountUrl(VCURLHelper.getMyRegInfoUrl(domContext));

    siteForm.setLoginUrl(VCURLHelper.getLoginUrl(domContext));
    siteForm.setForgotPswdUrl(VCURLHelper.getForgotPasswordUrl(domContext));
    siteForm.setRegUrl(VCURLHelper.getRegistrationUrl(domContext));

    siteForm.setSearchUrl(VCURLHelper.getSearchUrl(domContext));
    siteForm.setVacoWinnersUrl(VCURLHelper.getVacoWinnersUrl(domContext));

    // Write logic determining how the user should be forwarded.
    forward = mapping.findForward(next);
    log.debug("forward:" + forward.getPath());
    // Finish with
    return (forward);
  }
  public ActionForward submitPoll(
      ActionMapping mapping,
      ActionForm form,
      HttpServletRequest request,
      HttpServletResponse response)
      throws Exception {

    SubmitPollFormBean submitPollFormBean = (SubmitPollFormBean) form;
    ActionMessages errors = new ActionMessages();
    ActionForward forward = new ActionForward(); // return value
    String next = "submitPoll";
    String pollId = submitPollFormBean.getPollId();
    pollId = VCRequestHelper.getValueFromRequest(request, RequestParameterObjects.POLL_ID, pollId);
    PollTO pto = PollBO.getInstance().getPollByPollId(pollId);
    submitPollFormBean.setPollName(pto.getPollName());
    submitPollFormBean.setDisplayPollUrl(
        VCURLHelper.getDisplayPollUrl(getDomainAndContext(request), pollId));
    submitPollFormBean.setContestsMainUrl(
        VCURLHelper.getContestsMainUrl(getDomainAndContext(request)));
    submitPollFormBean.setCreateMorePollsUrl(
        VCURLHelper.getCreatePollUrl(getDomainAndContext(request)));
    submitPollFormBean.setHomePageUrl(VCURLHelper.getHomePageUrl(getDomainAndContext(request)));
    submitPollFormBean.setMyVCUrl(VCURLHelper.getMyVCMainUrl(getDomainAndContext(request)));
    submitPollFormBean.setTwitterUpdateUrl(
        VCURLHelper.getTwitterUpdateUrl(
            pto.getPollName(),
            BitlyService.getInstance()
                .shorten(
                    VCURLHelper.getDisplayPollUrl(getDomainAndContext(request), pto.getPollId()))));
    submitPollFormBean.setYahooBuzzUpUrl(
        VCURLHelper.getYahooBuzzUpUrl(
            VCURLHelper.getDisplayPollUrl(getDomainAndContext(request), pollId)));
    submitPollFormBean.setFacebookShareUrl(
        VCURLHelper.getFacebookShareUrl(
            VCURLHelper.getDisplayPollUrl(getDomainAndContext(request), pollId),
            pto.getPollName()));
    // Write logic determining how the user should be forwarded.
    forward = mapping.findForward(next);
    log.debug("forward:" + forward.getPath());
    // Finish with
    return (forward);
  } /*