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

Advanced java info1414, This is a working program that shows election resul...

This is a working program that shows election results from the infamous 2000 presidential election involving a lot of Floridians and 'hanging chads'. The program as written reads a

Padovan series, write a program in java using array and scanner class to ge...

write a program in java using array and scanner class to generate padovan series

Threads, what is meant by thread

what is meant by thread

Zhtml requirements, In addition to your Java code requirements, you also ne...

In addition to your Java code requirements, you also need to enhance the ZHTML for your application. As before, you can continue working with the page(s) you used for the previous

Define the key weakness of the web, Define the key weakness of the web? ...

Define the key weakness of the web? the key weakness of the web is Initially web was designed only for humans to read not for computers to understand it.

Time date millis method, I neeed to create a basic code to do the following...

I neeed to create a basic code to do the following. the class is entry level and I would appreciate a brief explanation as to why you do each bit. Write a program that displays t

Explain labeled loops in details, Explain Labeled Loops in details ? Ge...

Explain Labeled Loops in details ? Generally inside nested loops break and continue exit the innermost enclosing loop. For instance consider the subsequent loops. for (int i=1

Design patterns which are used in struts , Struts is depend on m...

Struts is depend on model 2 MVC (Model-View-Controller) architecture. Struts controller uses the command design pattern and the action classes use the adapter design pattern. The p

Explain jsp technology?, Java Server Page is a standard Java extension that...

Java Server Page is a standard Java extension that is described on top of the servlet Extensions. The goal of JSP is the simplified formation and management of dynamic Web pages. J

What is struts framework, Struts framework is an open-source framework for ...

Struts framework is an open-source framework for producing the web applications in Java EE, based on MVC-2 architecture. It uses and extends the Java Servlet API. Struts are robust

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