Issue
It's old school JSP pages that I need to run via IIS using any application server.
I'm running windows 10 with latest IIS.
In those days if you request http://localhost/product.jsp
, the application server would compile it into a servlet and run it and if i update jsp It'd recompile and run again.
Although things have changed recently (war deployment etc.) but what can I do to make these pages run?
It doesn't have to be IIS, all I care is to be able to run plain vanilla JSP.
Thanks
Solution
As far as you are not insisting on using IIS, you can use tomcat.
You can download windows installler here.
In that case you could run tomcat as a service and easily stop and start it.
If you download zip version you should unpack it and run catalina start
from command line form inside bin
folder. (also catalina stop
to stop it).
By the way I am assuming that you have java
installed on your machine.
Jsp files go to a folder that you will create inside webapp folder (YourFolder).
Default port is 8080
So the url will be http://localhost:8080/YourFolder/product.jsp
Hope this helps.
Answered By - PKey
Answer Checked By - Marilyn (JavaFixing Volunteer)