This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
Hi, Is it possible to put all the servlets in a jar file and then access them for throwing response to the client. If yes, how? If no, why not? Please let me know the details. Thanks and Regards, vishal.
Sun's recommended deployment scheme for servlets is a "war" - or "Web ARchive" file - which is simply a jar with the file extension changed to "war". Once it's on the server, some servers may unpack the jar, but that's really just an internal quirl of the server. Within the WAR file, the servlets classes are placed in the WEB-INF/classes directory. If they were already in a jar, the jar would be placed in the WEB-INF/lib directory.
Customer surveys are for companies who didn't pay proper attention to begin with.