Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa JSP-Servlet User LogIn According to Role
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


ranireddy
User LogIn According to Role
1 Answer(s)      2 years and 9 months ago
Posted in : JSP-Servlet


User login According to role but output will be always displayed in a single page.. but content will change according role


Advertisement
View Answers

May 25, 2012 at 11:39 AM


use a select box to choose the role.

then use it along with an 'if' condition after checking from database.

then forward it to the desired page.



Related Tutorials/Questions & Answers:
User LogIn According to Role
User LogIn According to Role  User login According to role but output will be always displayed in a single page.. but content will change according role
user log in according to their role
user log in according to their role  i want a jsp code for different users log in to different pages according to their role.example normal user and administrator. normal user for user page and administrator for admin page
Advertisements
user log in according to their role
user log in according to their role  i want a jsp code for different users log in to different pages according to their role.example normal user and administrator. normal user for user page and administrator for admin page
DIFFERENT PAGES FOR DIFFERENT USERS ACCORDING TO THEIR ROLE
DIFFERENT PAGES FOR DIFFERENT USERS ACCORDING TO THEIR ROLE  I HAVE A PROBLEM IN PHP CODING PLS HELP ME PROBLEM IS THAT I WANT DIFFERENT PAGES TO VIEW FOR DIFFERENT USERS WHEN THEY LOGIN ACCORDING TO THEIR ROLE IN DATABASE
lOGIN according to der roles
lOGIN according to der roles  how to login a user according to roles...(); ResultSet rs=st.executeQuery("select * from login where username='"+user...: <a href="login.jsp">User Login</a>&nbsp&nbsp&nbsp&
Role based login ..Need the concepts.. - JavaMail
Role based login ..Need the concepts..  Role based login how can i do that.. Constraint: i should have only one jsp page for all the user or usergroup... but depending upon the role the functions should change
login for different user in the same page
login for different user in the same page  how can i do the login for different user in the same page throug jsp
verfication of user login and then redirecting it to user defined page
verfication of user login and then redirecting it to user defined page  hi, i have a login page that..calls the servlet..and i have used redirect() to redirect to a user defined page..but..wen i press the submit button
Struts Hibernate Spring - Login and User Registration - Hibernate
Struts Hibernate Spring - Login and User Registration  Hi All, I fallowed instructions that was given in Struts Hibernate Spring, Login and user... users manually on the database side and see if I could login using those
Admin and User Login JSP - JSP-Servlet
Admin and User Login JSP  Respected Sir, I am R.Ragavendran.. i need a JSP based program immediately.. In the home page, there must be a login... be present along with the Emp_id and name.. But when user has individually logged
For my website,As soon as the user is able to succesfully login, a Testimonial form appears.
For my website,As soon as the user is able to succesfully login, a Testimonial form appears.  For my website,As soon as the user is able to succesfully login, a Testimonial FORM appears in the same page. How to do. Please Help
code for user registration page and login page of emails using jsp
code for user registration page and login page of emails using jsp  hiiiiiii please send me the code for user registration page and login page of email using jsp and servlets and also code for database connectivity to oracle
simple code to login user & authenticate it from database mysql
simple code to login user & authenticate it from database mysql  Sir, I am creating a login page which contain userid & password. Iwant to authenticate user from mysql database. please tell me the code for it. Thanks
How to view database for user when they login in netbeans and mysql?
How to view database for user when they login in netbeans and mysql?  I create a web page where when user login they have to fill in a form, after... but it come out with all the other user information too. I'm using netbeans and mysql
how to retreive data from database of a particular user after login
how to retreive data from database of a particular user after login  ......please help in display details of particular student after he login ...i want to display the details of only current user who logged
how to retreive data from database of a particular user after login
the user information.. now their is a login and registration page for newuser. after the user has filled the form he should go to the welcome page where he...how to retreive data from database of a particular user after login  
Record user login and logout timing In JSP
Record user login and logout timing In JSP... application of maintain record of the user Login and Logout Time  in JSP... the user and show the user login status link.  2). Create a webpage "
role of JSP in MVC
role of JSP in MVC  What is the role of JSP in MVC Model?   JSP is mostly used to develop the user interface, It plays are role of View in the MVC Model
login
login  how to login admin and user with the same fields(name & password) in single login page while the table for admin and user is seprate in database(mysql) please provide me solution
Role of Project Manager
Role of Project Manager  What are the role of a project manager in an Organisation
login
login  i want to now how i can write code for form login incolude user and password in Jcreator 4.50   Hello Friend, Visit Here Thanks
login
login  how to create login page in jsp   Here is a jsp code that creates the login page and check whether the user is valid or not. 1...="text" name="user"></td></tr> <tr><td>Password:<
design role played by Struts.
design role played by Struts.  What is the design role played by Struts
login
want the code for login.. i created design it contains the field of user name... to check the user name and password from the data base.. please help me for the code
login
want the code for login.. i created design it contains the field of user name... to check the user name and password from the data base.. please help me for the code
login
want the code for login.. i created design it contains the field of user name... to check the user name and password from the data base.. please help me for the code
login
want the code for login.. i created design it contains the field of user name... to check the user name and password from the data base.. please help me for the code
login
login  How to create login page in jsp
login
login  How to create login page in jsp
login
login  login page display an error showing failure to login even when the correct information is entered
How to prevent from navigating to ck buttonnext page when user reaches login page using back button
How to prevent from navigating to ck buttonnext page when user reaches login... goback to user login page using back button and agin click browser forward button... document opens..But i dont want it to happen.Instead,it should again ask for login
 

 

 

DMCA.com