The current version of Jaspersoft Studio/JasperReports supports "report books", which include table of contents functionality. If you can upgrade, that would be recommended.
If not, that question has been discussed (in 2011) here:
Yes I know, but I have .jrxml files on Servers Jasper, and when I try in JasperSoft Studio used I can not create BookReport because Server not contains .jasper extensions and BookReports.
I mean in Repository Explorer -> Servers on JasperSoft Studio.
I can use this only in Project Explorer but not in Repository Explorer when I created Servers files.