File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes JSPs in non-java environment Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "JSPs in non-java environment" Watch "JSPs in non-java environment" New topic
Author

JSPs in non-java environment

Mangesh Tendulkar
Greenhorn

Joined: Mar 20, 2010
Posts: 8
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


SCJP 6.0 (100%)
SCWCD 5.0 (100%)
SCBCD 5.0 (98%)
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

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
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

Joined: Sep 29, 2008
Posts: 12617

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://aspose.com/file-tools
 
subject: JSPs in non-java environment
 
Similar Threads
Always have to restart MyEclipse just to reflect changes in jsp
Server-Side JavaScript
Servlet on MS-IIS
URGENT---- running javasscript on server side
Questions regarding web servers