Footer on last page while pdf generation by flying saucer
问题 I'm using flaying saucer java library. I'm trying to add footers to my generated pdf. The goal is to have the same footer on each page and different content on the last page. html> <head> <style type="text/css"> @page { size: 8.5in 11in; margin-bottom: 1in; @bottom-left { content: element(footer_one); } @bottom-right{ content: element(footer_two); } @bottom-center{ content: element(footer_rights); } } #footer_two {position: running(footer_two); } #footer_one {position: running(footer_one); }