First off, I think the notion of sighting wikipedia as the end all be
all of a definition is highly suspect.  After all, anyone can change the
Wikipedia at any time. For instance
http://en.wikipedia.org/wiki/The_Colbert_Report#_note-34

"On January 29, 2007, Colbert cited the case where Microsoft was alleged
to have hired someone [52] to tamper with Wikipedia..."

I like all the responses that Google has for define:servlet.  You may
want to quote one of them for your answer.

http://www.google.com/search?q=define:Servlet

This does sound a lot like a homework question or an interview question.

Hope I helped,

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of yitzle
Sent: Tuesday, May 29, 2007 4:29 PM
To: Struts Users Mailing List
Subject: Re: [OT] Re: [S2] Obtaining Session/Request Object

On 5/29/07, Dave Newton <[EMAIL PROTECTED]> wrote:
> I'm starting to feel like we're doing your
> homework for you.
I'm sorry you feel that way.
If you prefer not to reply, its your prerogative.
I am just trying to understand the technology.

> A "Struts project" is not a servlet. A Struts project
> might *have* a servlet (and in S1 is pretty much
> guaranteed to have at least one), but in S2 they might
> be considered an anomaly.
"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.
Granted, one can easily write the viewer component without JSP, but I
think its fair to guess that a large percentage of Struts projects
make use of JSP pages.

> A web application is any application that runs on the
> web, like a blog, or web email, or social site, or
> whatever.
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.
As far as I can tell, it meets all the requirements.
It sounds like, for any program (end point; excluding containers, such
as Tomcat, Struts, etc) accessed via a browser, if it is written in
Java, it is a servlet, otherwise its a web application.
How about a solid clear definition of a servlet?

[1] http://en.wikipedia.org/wiki/JavaServer_Pages

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to