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

How to get data from the velocity page in a action class, We can get the va...

We can get the values in the action classes by using data.getParameter("variable name described in the velocity page");

Need an engineer for flex reporting tool, Need an engineer who has knowledg...

Need an engineer who has knowledge working on Flex Reporting tool. Who knows how data needs to be taken care of from DB, SharePoint, ERP and then process using logic/intelligence u

Describe validate() and reset() methods, Validate() : Used to validate prop...

Validate() : Used to validate properties after they have been populated; known as before FormBean is handed to Action. Returns a collection of ActionError as ActionErrors. Followin

Bluej program, program to find the frequency of a digit in a number

program to find the frequency of a digit in a number

What is a jsp and what is it used for?, Java Server Pages (JSP) is a platfo...

Java Server Pages (JSP) is a platform independent presentation layer technology that comes with SUN s J2EE platform. JSPs are normal HTML pages with Java code pieces embedded in 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

File I/O, Write a program that reads both the girl and boy files into memor...

Write a program that reads both the girl and boy files into memory using arrays. Then, allow the user to input a name. The program should search through both arrays. If there is

Programming help, writing a program to find common friends with the use of ...

writing a program to find common friends with the use of array

Ejb container security?, EJB elements operate inside a container environmen...

EJB elements operate inside a container environment and rely heavily on the container to give security. The four key services needed for the security are: 1. Identification :

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