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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T01:46:38+00:00 2026-06-10T01:46:38+00:00

I am making an application based on struts and hibernate , where based on

  • 0

I am making an application based on struts and hibernate , where based on user logins I have categorized different home screens for different users.

i.e.

Doctor logs in : DoctorHomePage.jsp

Nurse logs in : NurseHomePage.jsp

.

.

.

But I want to avoid this and make a single Home page and load various main menus and extruders , based on login credentials. Should I use sitemesh for this or is there a better solution then this. Just heard about sitemesh.

Thanks in advance.

  • 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-10T01:46:39+00:00Added an answer on June 10, 2026 at 1:46 am

    I will suggest you to use Spring security for such use-case.Based on the logged in user, you can assign different role to the user like Doctor or Nurse and can show the menu items as per the user role.

    This will help you much in future enhancement and its easy to add more roles in future and Spring security can easily handle all of this for you.

    Alternatively you can keep your existing work approach to make pages based on the user role and included them based on the person who has logged in and what role/permissions logged in user have.

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

Sidebar

Related Questions

I am making a php based application. When two users are logged in from
I am making a web-based application and i have text-fields where the values are
I'm making a swing based application where I have a JList that periodically get's
I'm writing a Seam-based application, making use of JPA/Hibernate and Hibernate Search (Lucene). I
I'm making a navigation based application. When the user selects a row on the
I am making a window based application. In this I have put some entries
hii... I am making a view based application in which I have tabbar controller
I have a web application that is based on the users creating certain divs
I'm making an application (web based) using flex and i have a requirment to
I am making a multiple form based application and have encountered a problem with

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.