[Readings]
Modify the BetNBA application you developed in Homework 4 so that the game list and the bet list are shown in paged display. For example:
BetNBA - Admin | ||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||
Pages: [Previous] 1, 2, 3 [Next] | ||||||||||||||||||||||||||||||
Add Game |
For this assignment, you must use Displaytag (http://displaytag.sourceforge.net/) to create the paged display. You should have at least eleven games/bets in your database, and display five games/bets per page.
[EL Function] (20pt)
Sometimes we want to concatenate two strings in EL, but neither EL nor JSTL provides a string concatenation function. There is a workaround using <c:set>, but it is still inconvenient. For this assignment, implement an EL function concat() that concatenates two strings. Also create a ConcatTest.jsp to test the function with the following code:
${cs320:concat(param.a, param.b) > 'CS203'}
Note that this exercise is not part of the BetNBA application, so you need to provide an additional link in hw5.html that points to your ConcatTest.jsp page on the CS3 server. And when you upload the source code to CSNS, do not forget to upload the TLD file.