Effect Show:
Click the Show Questions button
The details of the question are displayed in the modal box
2.ITestdao and Testdaoimpl
Here please write your own Itestvodao and Testvodaoimpl basic and the same as above is only the entity class Examtestvo (in the preamble has VO show)
3.controller
The main use of two methods the first is findalltest the other is Gettestabyid (view the details of the question is by returning an ID in the foreground after the background to query and then return to the last page of the foreground page and then show the data returned in the background)
Because the annotation @responsebody so in the data through the ID to find the time to use Examtestvo to look for if you use examtest words can not achieve function
4.jsp page
Iterate through a list of controller returns when displaying the list of questions via foreach
modal frames for displaying information:
After the front desk obtains the data after clicking the ID and passes the AJAX to the backstage controller through the line processing backstage and then returns the processed data to the foreground front desk and then displays the data
About TestID: The contents of the first sibling element of the parent element of the current manipulation element;
Over.
Use Hibernate to complete a list of question classes and view features