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

Javaserver faces navigation model, What is JavaServer Faces navigation mode...

What is JavaServer Faces navigation model? Ans) A mechanism for describing the sequence in which pages in a JavaServer Faces application are shown.

Stream as an object, What interface must an object implement before it can ...

What interface must an object implement before it can be written to a stream as an object?      Ans) An object must execute the Serializable or Externalizable interface before i

What is switchaction, The SwitchAction class gives a means to switch from a...

The SwitchAction class gives a means to switch from a resource in one module to another resource in a dissimilar module. SwitchAction is useful only if you have multiple modules in

Batch file, how to create batch files of java program

how to create batch files of java program

What is setter methods explain with an example, What is Setter Methods expl...

What is Setter Methods explain with an example? Setter methods, also called as mutator methods, merely set the value of a field to a value specified through the argument to the

Application of server clustering? , An application server cluster has of a ...

An application server cluster has of a number of application servers loosely coupled on a network. The server group or server cluster is usually distributed over a number of nodes

Spring framework, Spring framework The Spring framework is the leading...

Spring framework The Spring framework is the leading full-stack J2EE /JAVA application framework. Not like other applications, Spring does not expose itself on the design of a

JAVA IF/ ELSE, #This assignment will give you practice with interactive pro...

#This assignment will give you practice with interactive programs, if/else statements and methods that return values. You are to write a program that prompts the user for informati

Overloading method, QUESTION 3: Overloaded methods Write the overloaded me...

QUESTION 3: Overloaded methods Write the overloaded method named average () for each of the following problems: a) The first method receives THREE (3) integer values and returns

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