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 6153885
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T20:10:05+00:00 2026-05-23T20:10:05+00:00

I am pretty new to java dev & JSF framework and as an exercise

  • 0

I am pretty new to java dev & JSF framework and as an exercise to get me up to speed I am migrating a JSP web app to a JSF2 structure. I was wondering if someone could suggest a best practice for doing this?

Currently the JSP files are basically used to obtain information from the various libraries they sit on top of, and I was thinking that for JSF I need to essentially rip out the Java from these JSP files and place them in to a managed bean. These would then be referenced within the XHTML files.

Am I on the right lines or am I completely missing the point?

Cheers

  • 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-05-23T20:10:05+00:00Added an answer on May 23, 2026 at 8:10 pm

    If you have followed MVC in your jsp app, then it would be pretty easy.

    • Take all the form beans from jsp and make them managed bean with proper annotation and scope

    • take controller’s logic to action method

    • for navigation replace forward() and redirect()‘s call to enabled it with JSF navigation handler

    • change the view from jsp to XHTML well and do the binding with JSF EL style

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Im pretty new to Java Web Services, but I cant find a good explanation
I'm just starting to learn JSP (and I'm pretty new to Java in general),
I am pretty new to django but experienced in Python and java web programming
I'm pretty new to Java ME and i'm trying to use Microlog to handle
I am pretty new to the whole Java and OSGi world and I have
I am new to Java world but I am pretty good at using Flex,
I am completely new to android, and pretty much a Java newb. I have
I'm pretty new to Java and SWT, hoping to have one image dissolve into
I'm pretty new to Java and am following the Eclipse Total Beginner's Tutorials .
I'm pretty new to Java, and I need to build up programming environments for

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.