Currently while studying for SCWCD I came across a fundamental on JSP which states "Using JspContext, JSPs can be used to execute in non-Java environment thereby making then cross platform portable". However when I searched on internet for the same, opinion is that to execute JSP in non-java environment say on IIS, a Tomcat plugin fo IIS is required. My question is if this is the case then why do we say that JSPs do execute in non-java environment and if they do then how?
Can you QuoteYourSources? From a technical standpoint, JSP is just a template language, and as long as you can duplicate the functionality, there's no problem. From a practical standpoint, it would be a pain. Perhaps they meant in a non-servlet-container environment?
Mangesh Tendulkar
Greenhorn
Joined: Mar 20, 2010
Posts: 8
posted
0
I am referring to SCWCD Study Companion by Charles Lyons. As correctly mentioned by you, author says that JSP can execute in non-servlet container. But then what does this imply?
Exactly what it says--that as long as you can construct the environment needed by a JSP, you can use it as a non-servlet-container-based template language. This might be useful, say, for testing the output of a JSP fragment, custom tag, etc.
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.