--- yitzle <[EMAIL PROTECTED]> wrote: > "JSPs are compiled into Java Servlets by a JSP > compiler. [1]" The way I see it, so long as the > result is a JSP page, the project contains a servlet.
Semantics. The developer rarely, if ever, needs to care that a JSP page is compiled into a servlet. > A blog, web mail or social site that was written in > Java and runs on or inside a standard server such as > Tomcat would be a servlet, though. You are incorrect. A blog, web mail, or social site *may* contain *one or more* servlets. Or it may not. As I said before. > It sounds like, for any program (end point; > excluding containers, such as Tomcat, Struts, etc) Struts is not a container. > if it is written in Java, it is a servlet, otherwise > its a web application. You are incorrect. A servlet may be a single component of a web application. Web applications do not *need* to use servlets. For example, Struts 2, a member of the Struts family this mailing list serves, does not use servlets. A Struts 2 web application *may* use a servlet. As I also said before, this is relatively unusual. > How about a solid clear definition of a servlet? Servlets are classes that implement the Servlet interface. http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/Servlet.html *Please* do basic JEE environment research somewhere more appropriate: there are a *ton* of resources available on the web that explain this in great detail. If you have Struts-related questions this is a great place to get them answered. Other forums are more appropriate for asking general JEE questions. d. ____________________________________________________________________________________ 8:00? 8:25? 8:40? Find a flick in no time with the Yahoo! Search movie showtime shortcut. http://tools.search.yahoo.com/shortcuts/#news --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]