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




Have Programming Question? Ask it here!
 
 
 


s a simran
DAO DTO design pattern
0 Answer(s)      2 years and 11 months ago
Posted in : Design concepts & design patterns


Hi,using dao and dto i want to perform insert,update and delete operation.and the data should navigate from 1 frame 2 another.that page should b smthng like this:

<%@ page language="java" import="java.util.*" pageEncoding="ISO-8859-1"%>

<% List userList; int nouser; int i = 1; %> <% userList = (ArrayList) request.getAttribute("useridList"); nouser = userList.size(); %>

    <title>Configuring Page</title>

</head>

<body>

    <form action="ModuleServlet">
        <center>
            <select name="empno">
                <option value="0" selected="selected">
                    Select empno
                </option>
                <%
                    Iterator userit = userList.iterator();
                    while (userit.hasNext()) {
                        while (i <= nouser) {
                %>
                <option value="<%=i%>"><%=userit.next()%></option>
                <%
                    i++;
                        }
                    }
                %>
            </select>
            <input type="submit" name="Go" value="Go">
            </center>
    </form>

    <form action="ModuleServlet">
        <center>
        <textarea rows="3" cols="22" readonly="readonly"></textarea>
        <input type="submit" name="Submit" value="Include">
        <input type="submit" name="Submit" value="Include All">
        <input type="submit" name="Submit" value="Exclude">
        <input type="submit" name="Submit" value="Exclude All">

        <textarea rows="3" cols="22" readonly="readonly">


        </textarea>


        <br></br>

        <input type="submit" name="Submit" value="Save">
        </center>
    </form>

</body>

TASK: You will need to develop an application with a login screen. When a user logs in, he should be able to view only those modules which are assigned to him in the menu. There should be a screen to configure the user-module relation.


Advertisement
View Answers

Related Tutorials/Questions & Answers:
DAO DTO design pattern
DAO DTO design pattern  Hi,using dao and dto i want to perform insert,update and delete operation.and the data should navigate from 1 frame 2 another.that page should b smthng like this: <%@ page language="java" import
DAO DTO design pattern
DAO DTO design pattern  Hi,using dao and dto i want to perform insert,update and delete operation.and the data should navigate from 1 frame 2 another.that page should b smthng like this: <%@ page language="java" import
Advertisements
DAO DTO design pattern
DAO DTO design pattern  Hi,using dao and dto i want to perform insert,update and delete operation.and the data should navigate from 1 frame 2 another.that page should b smthng like this: <%@ page language="java" import
DAO DTO design pattern
DAO DTO design pattern  Hi,using dao and dto i want to perform insert,update and delete operation.and the data should navigate from 1 frame 2 another.that page should b smthng like this: <%@ page language="java" import
DAO,DTO,VO Design patterns
DAO,DTO,VO Design patterns  explain dao,dto,vo design patterns in strut 1.3?   Data Access Object (DAO) pattern is the most popular design... the code that accesses the back-end containing your data. Data Transfer Object (DTO
Creating Data Access Object (DAO) Design Pattern
Creating Data Access Object (DAO) Design Pattern Data Access Object is the import component of the design patter of java. It provides a technique... code contains in  DAO and it provides a simple interface to access the data
Data Access object (DAO) Design Pattern
. The DAO design pattern completely  hides the data access implementation.... The DAO design pattern consists of some factory classes, DAO interfaces... is the primary object of this design pattern. This object abstract the data
Design pattern
Design pattern  explain factory pattern
Design Pattern in flex
Design Pattern in flex  Hi.... I want to know about What design patterns have you used? in Actionscript and java? please give me the name of this design pattern... Thanks   Ans: Singleton design pattern is used
Design Pattern - JDBC
Design Pattern  what is adaptar design pattern The Adapter pattern is used so that two unrelated interfaces can work together. The joining between them is called an Adapter  The Adapter pattern is used so that two
Design pattern - Java Beginners
Design pattern  How to make a java program to check the java program is already started if started the execution then dont allow the new program to start
Sugget a design pattern and the advantages in it - Design concepts & design patterns
Sugget a design pattern and the advantages in it  What is design pattern and what is the advantage of it?  Hi, using design pattern... of Design Pattern, i guess it's useful.http://www.javajazzup.com/issue9/page36.shtml
Complete j2ee technical flow - Design concepts & design patterns
Complete j2ee technical flow  Hi Friends. I want complete technical flow of j2ee project with following technologies.jsp , servlet , Struts , Hibernate , (should follow mvc-2 design pattern) . with DAO ,DTO SERVICE
Design Pattern used in Struts - Design concepts & design patterns
Design Pattern used in Struts  Can someone tell what is MVC2 Design Pattern??  Hi friend, Read for more information, http://www.javajazzup.com/issue3/page44.shtml
Design Pattern
Design Pattern           Observer Design Pattern This design pattern defines one... to demonstrate that how observer pattern works, for this, the example creates two windows
MVC design pattern used in Struts framework?
MVC design pattern used in Struts framework?  How is the MVC design pattern used in Struts framework
Entity DB design pattern - Java Interview Questions
Entity DB design pattern  I want the information for Entity DB design pattern
Visitor Design Pattern - Java Interview Questions
Visitor Design Pattern  Tell me, what is Visitor Design Pattern... for Visitor Design Pattern?  Visitor Design Pattern - Used to create... pattern provides additional functionality to a class!Example of Visitor Design
Design Pattern
Design Pattern      ... the problem exists). This tutorial explains the design pattern in the following list of points. Introduction to design pattern Why Use Patterns
Visitor Design Pattern
Visitor Design Pattern         Visitor Design Pattern The design pattern provides additional functionality to a class. The Visitor pattern allows us
Understanding MVC design pattern
Understanding MVC Design Pattern The MVC (Model View Controller) design pattern is used by the struts for building an applications. It makes the application...; is to separate the business data from the presentation of the users. This design pattern
Creational Design Pattern
Creational Design Pattern          Design pattern includes creational, structural, and behavioral.... Creational design pattern tries to reduce the creational complexities (of an object
Design Pattern
Design Pattern          What is a design pattern? The design patterns are language-independent strategies used to solve common object-oriented design
Design Pattern
Design Pattern         Template Design Pattern These types.... This design pattern is used to develop similar kind
Design Pattern
Design Pattern        ... the entities.  Decorator Design Pattern This section deeply discusses the Decorator design pattern, a kind of structural pattern. In object
Design Patterns
Design Patterns  Explain the Factory Pattern, VO Pattern, DAO Pattern, and Singleton Pattern
DAO - JDBC
DAO  what is dao ? and how to use it?  Hi Friend, The DAO is a pattern that provides a technique for separating object persistence and data access logic from any particular persistence mechanism or API. Thanks
Java Model View Controller (MVC) Design Pattern
View Controller ) Design Pattern Model View controller is a classical design... logic and view who represents data. MVC design pattern isolates..., testing and maintenance for each components. This design pattern is divided
DTO & Action class - Struts
DTO & Action class  Hi I am really new to struts2. I just wanted to know that if I have a DTO and an action class, how do I put the form data into the DTO? Can someone please explain with a simple example
J2EE Singleton Pattern - Design Pattern Tutorials
J2EE Singleton Pattern Singleton Design Pattern This design pattern governs the object instantiation of Object in Java. This design pattern is used when...; } } The singleton design pattern is used with the conjunction with the factory
Introduction to Design Pattern
Introduction to Design Pattern       The design patterns are language-independent strategies.... Design pattern is a indispensable part of Java and J2ee technologies. Learning
DAO Classes
DAO Classes  login page code for Dao classes
MVC Design Pattern
MVC Design Pattern      ... interface (view) concerns.  To meet the same purpose MVC design patterns were introduced.  MVC design pattern allows to the user to make the application
DAO Example
DAO Example  Dear Friends Could any one please give me any example of DAO application in struts? Thanks & Regards Rajesh
DAO in Struts
DAO in Struts  Can Roseindia provide a simple tutorial for implementation of DAO with struts 1.2? I a link already exits plz do tell me. Thank you
pattern
of different sizes. The size of each pattern is determined by the number of columns or rows. For example, a pattern of size 5 has 5 columns and 5 rows. Each pattern is made of character $ and a digit, which shows the size. The size must
DAO Layer explained
Access Object, it is design pattern. The DAO contains a connection to a database... DAO Layer explained       In this section we will explain you the DAO Layer of our
Pattern
Pattern  How to print this pattern in Java please help me A AC ACE ACEG ACEGI The program should be right to left
Sample Code for DTO in WebApplication - Development process
Sample Code for DTO in WebApplication   Hi Friends, Can u explain DTO in webapplication with sample code
doubt on DAO's
doubt on DAO's  hai frnds.... can anyoneexplain about how... our own plugin????? and please help me. how to use dao s while integrating struts with hibernate..??? actually what is the purpose of dao's ????? please help
doubt on DAO's
doubt on DAO's  hai frnds.... can anyoneexplain about how... our own plugin????? and please help me. how to use dao s while integrating struts with hibernate..??? actually what is the purpose of dao's ????? please help
implementing DAO - Struts
this data.  The Data Access Object design pattern provides a technique for separating... design pattern also provides a simple, consistent API for data access that does..., exam in 3 days, and just now i found out our lecturer post a demo on DAO
pattern
pattern  1 3 1 5 3 1 7 5 3 1 9 7 5 3   Here is a number pattern example. 1 3 1 5 3 1 7 5 3 1 9 7 5 3 1 class Pattern{ public static void main(String args[]){ for(int i=1;i<=9;i
Pattern
Pattern  1234321 123 321 12 21 1 1 please,give me this pattern in java   class Sixth_1 { public static void main(String args...; } } }   Here is a number pattern class Pattern{ public
dao pack
dao pack  package com.tsi.dao; import java.sql.*; import com.tsi.constants.*; public class DaoPack { public static Connection conn = null; public static Connection createConnection() { try
dao pack
dao pack  package com.tsi.dao; import java.sql.*; import com.tsi.constants.*; public class DaoPack { public static Connection conn = null; public static Connection createConnection() { try
dao
CRUD DAO
CRUD DAO  how to create dao for create,read,update and delete?   /* *ConnectionManager * * *Version:1.0 * *Date:25-Nov-2011 * */ package com.student.dao; import java.sql.*; import org.apache.log4j.Logger
Composite Pattern
with the Composite Design Pattern. Composite pattern represents these objects...: This design pattern is used when the responsibilities are needed to be added dynamically... Composite Pattern      
spring DAO module turorial
spring DAO module turorial  how to integrate springDAO and spring webMVC
Advertisements
 

 

 

DMCA.com