Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7903511
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T09:46:04+00:00 2026-06-03T09:46:04+00:00

I am currently doing a client-side redirect to get from a legacy servlet (old

  • 0

I am currently doing a client-side redirect to get from a legacy servlet (old part of an application) to a JSF page (new part of an application). I would prefer to do a server-side redirect if possible, so that I may place items in the request that the JSF page can pick up. (there is a set of data that needs to be “handed off” between the legacy servlet and the JSF page and I prefer not to put these in a client-side redirect URL (as URL parameters) but instead do this on the server-side).

If there is a way to do a server-side redirect between a servlet (not the Faces servlet) and a JSF page, can you please show me how?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T09:46:05+00:00Added an answer on June 3, 2026 at 9:46 am

    Just call RequestDispatcher#forward() the usual way. All servlets intercept on forwarded requests as well. You just need to make sure that the forward path matches the FacesServlet mapping. Assuming that you’ve mapped it on *.xhtml, this should do:

    request.getRequestDispatcher("/page.xhtml").forward(request, response);
    

    The page can if necessary be placed in /WEB-INF folder if you want to prevent the endusers from being able to open it directly without invoking the servlet first.

    request.getRequestDispatcher("/WEB-INF/page.xhtml").forward(request, response);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am currently doing a project in which I have to request data from
I am currently doing a C# WPF application that generates a table that does
I am currently doing an android application that contains customize alert dialog. It contains
I'm currently doing an experimental page for college and I came upon a simple
I am trying to make a client side click and redirect to another site
I'm currently measuring the time spent to load a web page from a C#
I'm currently writing a client-side javascript app which performs image manipulation. Some of the
How can I go about doing a client side validation for email addresses where
Im currently doing a console app that has to send scheduled emails. In one
I'm currently doing facebook integration and have gone through this tutorial . So far,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.