This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes JSP and the fly likes JSP and Servlet Container Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "JSP and Servlet Container" Watch "JSP and Servlet Container" New topic
Author

JSP and Servlet Container

Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8898

Hi All,
Can a JSP container exist without servlet container. What abt vice -versa.
Can I use JSP v 1.2 container with servlet container v2.2.
Thanks
Pradeep


Groovy
James Hobson
Ranch Hand

Joined: Aug 28, 2001
Posts: 140
A JSP is compiled to a servlet, so it can't work outside of a servlet engine.
You could presumably build a server that would run JSP but refuse to run Servlets that did not start out as JSPs, but why would you ever want to do that?
A Servlet container cannot run JSPs without a JSP translator (the thing that converts JSP to Servlet code) -- so in principle you can have a non-JSP Servlet container (it wont be J2EE spec complient tho).
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JSP and Servlet Container
 
Similar Threads
calling a servlets
benefits by integrating tomcat with jboss
How to execute a JSP file from command line?
include directive in JSP
HFSJ - directory name "htdocs" instead of "webapps"