Dinesh Pise
Admin Page
0 Answer(s)      a year and a month 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.

View Answers









Related Pages:
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
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
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
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
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
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
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
Web Page design and Development Company
Web Page design and Development Company We are web page designing... the world. Web page design and development is an art and skilled developers can create... complete web page design and development solution. Our company is expert
Spring Security Customized Access Denied Page
an unprivileged user tries to view an admin section pages , an error page... to login into admin section, a customize access denied page will appear which... will get the below page : When you try to access the admin page/section using
Unable to run the jsp page - JSP-Servlet
page is shipping and billing details and the next page is payment details. What... on the textbox of the payment.jsp page and also calculate the tax payment and shipping... on the Net payment text box in the payment.jsp page. And these total amount and shipping
how to execute the below servlet with html page
(); }catch(Exception e){} } } //Admin package active; import javax.servlet.*; import java.io.*; import java.sql.*; public class Admin... to Admin </center>"); } } <web-app> <content
multiple dropdowns in single page - JSP-Servlet
multiple dropdowns in single page  i have a jsp page having drop down...("Admin")) { ps=con1.prepareStatement(adminPendrequestSQL... run the page only first id is getting modified can any one help me Thanks
How to insert data into databse by JSP form registration page in netbeans
How to insert data into databse by JSP form registration page in netbeans  ... a student. I have been given a task to create registration page with username &... into databse, which can later be seen by admin only...or can be used for retrievel
login page
login page  code for login page
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
home page
home page  Develop home page using applets and swings
home page
home page  Develop home page using swings and awt components
Rendering of page
Rendering of page  What does it mean by rendering of page in JSF
Login page
Login page  how to create Login page in java
web page
web page  1.Create a web page with the following using HTML i) To embed an image map in a web page ii) To fix the hot spots iii) Show all the related information when the hot spots are clicked
WEB PAGE
WEB PAGE  How To Create A Simple web Page Of a gmail using applet
page downloading
page downloading  down loading code for file existed in webbrowser like one text document placed in web browser please help me friend
Login Page
Login Page  Can anyone tell me the steps to create a login page in myeclipse 7.0 and validating it with login database in db2 9.7 ??? Please tell me
divide a page
divide a page   how to divide a page using jsp in three different column and in which , in first column , there is a phone number box,whenever a phone numhber is given immediately it will shown in below of the phone box
divide a page
divide a page   how to divide a page using jsp in three different column and in which , in first column , there is a phone number box,whenever a phone numhber is given immediately it will shown in below of the phone box
login page
login page  pls say how to create a login page in jsp and mysql using netbaens   Hi Friend, Please visit the following links: http://roseindia.net/jsf/netbeans/index.shtml http://roseindia.net/jsp/loginbean.shtml
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
SEARCH PAGE
SEARCH PAGE  search page:option for search criteria like name and DOB will be asked.on entering the detail,data matching search criteria will be displayed..criteria can be both or any one of them.. can you send code
profile page
profile page  sir, i am beginer in php i am creating simple web site.i am creating login form.the user login he can any status,photo update.he can display in home pages in all user login.but problem in user goto profile page
login page
login page  hi i'm trying to create login page using jsp. i get... the program. Following are my programs... 1.index.jsp <%@page contentType="text/html" pageEncoding="UTF-8"%> JSP Page
Web Page
Web Page    Use any programming language or package to create a Project 2 .The Main menu should only be displayed, if the user is valid and uses the correct password. If the user is not in the database, then the user should
Redirect page
Redirect page  In this code redirect tag is not work, so please help me ,how to redirect page in Tiles With JSTL . <%@ taglib prefix="tiles"uri.../jsp/jstl/sql" prefix="sql" %> <%@page contentType="text/html" pageEncoding
jsp page
jsp page  <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
force a page to go to another page using JavaScript
force a page to go to another page using JavaScript  How to force a page to go to another page using JavaScript
Call the parent page(uses master page) from the child page
Call the parent page(uses master page) from the child page  how to call the parent page from child without refreshing the parent and my parent window uses the master page
Call the parent page(uses master page) from the child page
Call the parent page(uses master page) from the child page  how to call the parent page from child without refreshing the parent and my parent window uses the master page
JSP Tutorials - Page 3
JSP Tutorials - Page 3
how to create a login page and registration page?
how to create a login page and registration page?  hellow, pls tell me the code for how we can create a login page and registration page and how we can store the info in database.only in advance java as jsp
JSP Error Page
JSP Error Page          JSP Error Page is used to specify the custom error page and runtime error occurs with an exception being thrown, the custom
php page caching
php page caching  Page caching in PHP script required
How to reload the current page?
How to reload the current page?  How to reload the current page
connect a web page to a database
connect a web page to a database  how to connect a web page to a database
login page in php
login page in php  How to create a login page in php

Ask Questions?

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.

Ask your questions, our development team will try to give answers to your questions.