File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes JSp Viewing the pages based on type of users Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "JSp Viewing the pages based on type of users" Watch "JSp Viewing the pages based on type of users" New topic
Author

JSp Viewing the pages based on type of users

Krish Sai
Greenhorn

Joined: Mar 13, 2012
Posts: 5
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

Joined: Jul 13, 2011
Posts: 29

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JSp Viewing the pages based on type of users