Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSPs in non-java environment

 
Mangesh Tendulkar
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

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?

Regards,
Mangesh Tendulkar
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?

Regards,
Mangesh Tendulkar
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic