Admin Page

Ads

 
 

Share on Google+Share on Google+

Dinesh Pise
Admin Page
0 Answer(s)      5 years and 4 months ago
Posted in : Java Beginners

Hi All,

I have to develop Java Web Application using Struts. Can someone please tell me how to code for administration login .i.e when admin login he should have full access whereas others login they should have limited access.

How to do code for the same in proper manner? My main concern is that every time I have to use if(role= admin) {} else {} but I think this is not the proper way because the same code will be repeated again and again for eg if(admin){code ... 1 to 10} else {1 to 5}. Here code 1 to 5 is repeating.

I am newbie. Request you people to provide some assistance.

Ads
View Answers
Ads









Related Tutorials/Questions & Answers:
Admin Page
Admin Page  Hi All, I have to develop Java Web Application using... admin login he should have full access whereas others login they should have... is that every time I have to use if(role= admin) {} else {} but I think
admin login control page - JSP-Servlet
admin login control page  how to encrypted password by using jsp... Password Example CodeadminPage.jsp<html> <title>Admin login...>Admin login Page</H1> <form method="POST" action
Advertisements
Admin Module
Admin Module The admin have the privilege  to add the question, delete the question. He is responsible for maintaining the site. He can also search the question paper by question Id and by title. The Admin does the following
Maven Dependency catalina-admin >> 5.0.28
You should include the dependency code given in this page to add Maven Dependency of tomcat >> catalina-admin version5.0.28 in your project
Maven Dependency plume-admin >> 1.0.0-alpha4
You should include the dependency code given in this page to add Maven Dependency of com.coreoz >> plume-admin version1.0.0-alpha4 in your project
Maven Dependency plume-admin >> 1.0.0-rc2
You should include the dependency code given in this page to add Maven Dependency of com.coreoz >> plume-admin version1.0.0-rc2 in your project
Maven Dependency catalina-admin >> 5.0.16
You should include the dependency code given in this page to add Maven Dependency of tomcat >> catalina-admin version5.0.16 in your project
Maven Dependency catalina-admin >> 5.0.18
You should include the dependency code given in this page to add Maven Dependency of tomcat >> catalina-admin version5.0.18 in your project
Maven Dependency plume-admin >> 1.0.0-alpha2
You should include the dependency code given in this page to add Maven Dependency of com.coreoz >> plume-admin version1.0.0-alpha2 in your project
Maven Dependency plume-admin >> 1.0.0-alpha3
You should include the dependency code given in this page to add Maven Dependency of com.coreoz >> plume-admin version1.0.0-alpha3 in your project
Maven Dependency plume-admin >> 1.0.0-alpha5
You should include the dependency code given in this page to add Maven Dependency of com.coreoz >> plume-admin version1.0.0-alpha5 in your project
Maven Dependency plume-admin >> 1.0.0-rc1
You should include the dependency code given in this page to add Maven Dependency of com.coreoz >> plume-admin version1.0.0-rc1 in your project
Maven Dependency clojure-admin-protocols >> 0.8.0
You should include the dependency code given in this page to add Maven Dependency of com.datomic >> clojure-admin-protocols version0.8.0 in your project
Maven Dependency clojure-admin-protocols >> 0.8.1
You should include the dependency code given in this page to add Maven Dependency of com.datomic >> clojure-admin-protocols version0.8.1 in your project
Maven Dependency sitewhere-web-admin >> 1.10.0
You should include the dependency code given in this page to add Maven Dependency of com.sitewhere >> sitewhere-web-admin version1.10.0 in your project
Maven Dependency solr-plugin-admin-handlers >> 0.1
You should include the dependency code given in this page to add Maven Dependency of com.netaporter >> solr-plugin-admin-handlers version0.1 in your project
Version of tomcat>catalina-admin dependency
List of Version of tomcat>catalina-admin dependency
Version of com.coreoz>plume-admin dependency
List of Version of com.coreoz>plume-admin dependency
Admin and User Login JSP - JSP-Servlet
page with username and password fields.. When the username and password is "admin... Link when clicked must log out the particular user.. The admin page must also...Admin and User Login JSP  Respected Sir, I am R.Ragavendran.. i
Version of com.datomic>clojure-admin-protocols dependency
List of Version of com.datomic>clojure-admin-protocols dependency
Version of com.sitewhere>sitewhere-web-admin dependency
List of Version of com.sitewhere>sitewhere-web-admin dependency
Version of com.netaporter>solr-plugin-admin-handlers dependency
List of Version of com.netaporter>solr-plugin-admin-handlers dependency
Version of com.netaporter>solr-plugin-admin-handlers dependency
List of Version of com.netaporter>solr-plugin-admin-handlers dependency
identify admin from user when logging in - Java Beginners
identify admin from user when logging in  hi everyone... and password were requested for a user to log-in, but there are 2 kinds of user types(admin and user).and the usertype are also saved in the database. my question is,how
Uploading a software and displaying it on the jsp page
Uploading a software and displaying it on the jsp page  I have a Downloads page in my website, I want it to display the name of softwares as soon as it is uploaded in the backend by the administrator. And the admin may be a non
log in page
log in page  hi all i want to create a login page in jsp which should be validated using ajax. please help me dong that with code...   Here...=request.getParameter("password"); if(username=="admin" && password=="admin
The Page Directive in JSP Page
The Page Directive in JSP Page       This section illustrates you about the page directive of the JSP page which works for the entire JSP page. These directives apply different
html login page with ajax
html login page with ajax  hi all... i want to create a login page using html and ajax for validation is must. please help me doing that with code...=="admin" && password=="admin"){ out.println("yes"); }else{ out.println
Preload Page
Preload Page  How do I make a page that loads my other html page and then goes to the html page once it's done loading? I need the page to say Please Wait
login page
login page  code for login page