First, some background:
I will need to work on the code for the JSP, which will require a lot of fixing and testing the code. This JSP will get the data structure of the objects and display them according to several rules.
What I would like to do is write "Test Server", which will read some data from the settings file, and mock these objects in the factory, which will be used by JSP in the question.
The target application server is WebSphere, and I would like to encode, modify, the code to test the appropriate HTML rendering. I did something similar in the past, but part of the JSP simply called the rendering object method, so I created a special HTTP Http server that would read the device’s files, parse it and display the HTML.
All I had to do was run it inside RAD, change the HTML code and press F5.
So the question largely comes down to the following: Is there a stand-alone library or a light server (I was thinking about Jetty) that will accept the JSP and set the right contexts (Request, Response, Session, etc.) to make the correct HTML?
source
share