I believe tha confusion here is in the use of the word "application". In servlet-ese, 
an
application is a group of servlets sharing a common context.

--- Milt Epstein <[EMAIL PROTECTED]> wrote:
> On Tue, 10 Sep 2002, bin cai wrote:
>
> > Hi,
> > I have one web-based application in my computer which
> > is developed using servlet, mysql. It can be invoked
> > by Http://mycomputerip:8080/dir/servlet calss. now i
> > want to develope another application using servlet
> > too.These two application share same mysql and web
> > server. I am wondering if it is safe i still use port
> > number 8080 for my second applicaition. I am not sure
> > if two application use same port number for web server
> > and mysql server?
> > Any help will be appreciated very much
> > Thanks in advance
>
> Well, I don't believe you can have multiple applications/programs
> listening on one port.  But when you use servlets, you don't write
> applications that listen directly to a port.  That is the job of the
> web server, and based on the request it sees on that part, it will
> decide what to do with it, which may involve passing it on to
> (eventually) some particular web application/servlet.  And you can
> very well develop some new web application/servlet, and by putting
> appropriate directives in the appropriate configuration file(s), have
> the web server pass appropriate requests to it (you can see how
> important being appropriate is).
>
> Milt Epstein
> Research Programmer
> Integration and Software Engineering (ISE)
> Campus Information Technologies and Educational Services (CITES)
> University of Illinois at Urbana-Champaign (UIUC)
> [EMAIL PROTECTED]
>
> ___________________________________________________________________________
> 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
>


=====

Mark Zawadzki Performance Engineer/DBA/Programmer extraordinaire’ [EMAIL PROTECTED] 
[EMAIL PROTECTED]

 "Programming today is a race between software engineers striving to build bigger and 
better idiot-proof programs, and the universe trying to build bigger and better idiots.

So far, the universe is winning"

 Robert Cringle (columnist, author, host of "Triumph of the Nerds")


__________________________________________________
Yahoo! - We Remember
9-11: A tribute to the more than 3,000 lives lost
http://dir.remember.yahoo.com/tribute

___________________________________________________________________________
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