Hi everyone,

Does anybody know how to configure tomcat for different domains? For
example, domain1's /servlet path will be different from domain2's
/servlet path. 
Thanks in advance,

Zgur .


-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED] On Behalf Of
Jayson Falkner
Sent: Thursday, May 29, 2003 3:39 AM
To: [EMAIL PROTECTED]
Subject: Re: JSP vs Servlets


Both technologies are very similar, and JSP primarily extends the
Servlet API. Servlets are a pure Java method of generating/manipulating
HTTP requests and responses. JSP is a more markup friendly method of
generating HTTP responses. You tend to see JSP used for generating
HTML/XHTML/etc pages, and Servlets (more specifically servlet filters)
tend to be used for building more Java-intensive, low level
functionality, such as auto-compressing HTTP responses or tracking what
pages are most visited.

In general, you should not think that it is desirable to choose only one
of the two technologies to use. If you want to build a web application
with Java you will likely want to know both, especially since you'll
want to use things such as servlet filters to aid the markup generated
by JSP.

Cheers,

Jayson Falkner
[EMAIL PROTECTED]



On Wed, 2003-05-28 at 21:43, Leviaguirre Queral Jos� Luis wrote:
> What are the differences, advantages and disadvantages on programming 
> Servlets vs JSP.
>
> In other words: What are Servlets and JSP mostly used.
>
> Thanks in advanced,
>
> Jose.-
>
> Jose Luis Leviaguirre Queral
> Programador Zentrum ZiztemaZ
> Of. 5223-8476
>
>
> "De todas las flores de la vida, la venganza es la que m�s pronto se
>                 marchita." (Mika Waltari, escritor.)
>

________________________________________________________________________
___
To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to