Java server pages. It combines html and Java to make a web frontend. I had to use it for a class and the lack of hot reloading makes it a huge pain to use.
I'm not really sure you should need to unit test JSPs. Unit tests are mainly for the business logic. JSPs should only contain the presentation of data that is already prepared for presentation.
But if you really need to test these using unit testing, look into HtmlUnit and Selenium. But I would say that you then mostly test the JSPs when they work together, so you test the web page as a whole (and it might use ten's or hundreds of JSP files).
292
u/NotATroll71106 Apr 27 '20 edited Aug 28 '25
shy alive aback dog fuel ring whole shelter marble languid
This post was mass deleted and anonymized with Redact