Sounds like you might be interested in Arquillian and Shrinkwrap. It allows you to perform in-container testing easily.
Can we mock a web container in Java?
-
30-09-2022 - |
Frage
I want to run my JSP as a stand alone component. I want to mock a web container and run my jsp in it. I am curious if there is a way to mock a server's web container (Web Server)?
Lösung
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow