posted 12 years ago
I have a sport database with country, sport, team and match tables. I'm developing a web application in Spring where users could discuss about match results, view statistics and so on.
Well, I'm stuck with head2head statistics. I have two dropdown boxes with teams. User selects host and guest. When he clicks on show, controller should fetch all the matches where the selected teams have played against each other. The results should display on the same page. Unfortunately, this isn't happening.
Here is my code.
Fetch method in HibernateDAO domacin = host, gost = guest
H2Hstat.java
h2Hstat.jsp
Is this actually possible to achieve on the same page? When I submit the form I get empty table.
Please help.