Application with two user transactions-java, JAVA Programming

Assignment Help:

1.) Write an application with two user transactions (login which includes viewAllStudents and viewStudent) with full MVC architecture that displays the details of the selected student when a view button next to each student is clicked by the user.

I have all the servlets,bean,xml and html ready, but I can't get theviewStudentto display the selected student,only an empty table.Not too sure if it's the model (getStudent)servlet where the problem is.

2.) An application has already the controller servlet and model servlets as per MVC. I am adding 3 jsp files as view elements. The viewAllCustomeris displaying fine, but I need to view vehicles for each customer when I click on the view vehicles button next to each customer.I can't get the (getCustomervehicles.java / viewCustomerVehicles.jsp) to work.

3.) Secondly, I am able to view the list of all vehicles, but the customer name and address which are from a different bean(customer) are not displaying.

1.   The application has already all the MVC elements except for the custom actions in the JSP view elements. You need to add the missing custom action and add the appropriate attribute and variable tags to the TDL file.

2.   You should modify the DisplayOrders.javafile, this is the file that handles the custom action tag, DisplayOrders. Add any variables and methods that you think necessary.Add code to the standard methods, doStart() and doAfterBody().

3.   You should modify theDisplayOrderLines.java file. This is the file that handles the custom action tag, DisplayOrderLine. . Add any variables and methods that you think necessary.Add code to the standard methods, doStart() and doAfterBody().

 

 

 


Related Discussions:- Application with two user transactions-java

Create a usercontrol called loginpasswordusercontrol, (Login User Control) ...

(Login User Control) Create a UserControl called LoginPasswordUserControl that contains a Label (loginLabel) that displays string "Login:", a TextBox (loginTextBox), where the user

Tokenize a algebraic expr and sorted, ? • ?read from a file a series of an ...

? • ?read from a file a series of an infix algebraic expressions comprised of constant and variable operands (integers), operands (%, *, /, +, -) and parenthesis. Two slashes (//)

Give an example for passing arguments to methods, Give an example for Passi...

Give an example for Passing Arguments to Methods ? class Car { String licensePlate = ""; // e.g. "New York 543 A23" double speed = 0.0; // in kilometers per h

Code, Ask question how to implement a decision tree in java #Minimum 100 wo...

Ask question how to implement a decision tree in java #Minimum 100 words accepted#

Explain what is naming applets in java applets, Explain what is Naming Appl...

Explain what is Naming Applets in java applets? You can give an applet a name by using the NAME attribute of the APPLET element. This allows communication between different app

Life span of variables, While you declare a variable in a function, the var...

While you declare a variable in a function, the variable can be accessed within that function only.  While you exit the function, the variable is destroyed.  These variables are ca

What is an introduction in aop, An introduction permits the user to add new...

An introduction permits the user to add new methods or attributes to an existing class. This can then be explained to an existing class without having to change the structure of th

Java applet programming examples, Question: (a) The following is a simp...

Question: (a) The following is a simple example of a Java Class: // File: Welcome.java public class Welcome { public static void main(String args[]) { System.out.printl

Explain the phase compile- java program development, Explain the phase Comp...

Explain the phase Compile- Java Program Development In Phase 2, programmer gives the command javac to compile the program. Java compiler translates the java program into byte

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd