• Post Reply Bookmark Topic Watch Topic
  • New Topic

SRV.3.6 Multiple Hosts and Servlet Contexts  RSS feed

 
Chithra Salam
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

In Servle 2.4 spec,Page 33 ,
[b]SRV.3.6 Multiple Hosts and Servlet Contexts[/b]
Web servers may support multiple logical hosts sharing one IP address on a server.
This capability is sometimes referred to as "virtual hosting". In this case, each
logical host must have its own servlet context or set of servlet contexts. Servlet
contexts can not be shared across virtual hosts.

What is virtual hosting/When is it used? Does the above statement says that In multiple hosting, There is more than one servlet context for a web application for each JVM.If so then how can we distinguish the attributes that we added/set on servletContext. ?

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!