This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JSp Viewing the pages based on type of users  RSS feed

 
Krish Sai
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I am new to Jsp .I have an applications that have certain type of users.Just like admin users who can view and edit all the data..and there are other users who can view only some pages and some data in the page.Now how to work with that type of issue..

For admins I need to give access to all the feature s in the applications.

For type 1 users ...Cannot create users ..can view everything..


Please help me..If you have any link with this kind of stuff...Please post..


 
Aniket Khadke
Greenhorn
Posts: 29
Eclipse IDE Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Krish Sai wrote:Hi All,

I am new to Jsp .I have an applications that have certain type of users.Just like admin users who can view and edit all the data..and there are other users who can view only some pages and some data in the page.Now how to work with that type of issue..

For admins I need to give access to all the feature s in the applications.

For type 1 users ...Cannot create users ..can view everything..


Please help me..If you have any link with this kind of stuff...Please post..




Krish, identify the type of user and put it in session. Now display menus by checking this variable
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!