Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CS506- Web Design and Development assignment no 3
#1
Assignment No. 03
SEMESTER Spring 2011
CS506- Web Design and Development

Question:

Explain tomcat directory structure and its importance correspondence to server side programming in no more than ten steps. This assignment is based on negative marking if any unnecessary information or too much detail is provided your marks will be deducted.

0300-9520262
Get solution in 24 hour
|cpmputer & internetConfusedmileys81:[SIZE="4"][SIZE="3"]....[/SIZE][/SIZE]
Reply
#2
What is Tomcat?

Tomcat is the official reference implementation of the Java Servlet 2.2 and JavaServer Pages 1.1 technologies. Developed under the Apache license in an open and participatory environment, it is intended to be a collaboration of the best-of-breed developers from around the world.
1:Tomcat is a container for servlets
2: Tomcat can act as a simple standalone server for Web applications that use HTML, servlets, and JSP
3:Apache is an industrial-strength, highly optimized server that can be extended with Tomcat
4:To create servlets, you really should have two directory structures:

1: A development directory, in which you can write and partially debug your code
2:A deployment directory, in which you put “live” code

5: Tomcat requires a particular set of directories for your web application

6: It is extremely picky about having everything in the right place!

7: Since your web application must typically co-exist with other web applications, you should use packages to avoid name conflicts
This further complicates the Tomcat directory structure

8:By default, Tomcat's configuration is determined by the contents of the server.xml file found in Tomcat's conf directory. This file specifies the sequence of modules (a.k.a. interceptors) that should participate in the operation of this instance of Tomcat.

9Tonguerior to reading the server.xml file, Tomcat reads the modules.xml file which is also found in the conf directory. This file specifies mappings between module names and the class that implements the module. This simplifies the syntax in servers.xml and allows you to update a module's class by updating just modules.xml. The server.xml, and possibly other files, do not have to change.

10:To allow for customization of Tomcat's configuration without requiring modification of modules.xml and server.xml, Tomcat will read additional files during startup. In addition to modules.xml, Tomcat will read any file in the conf directory that matches the pattern modules-*.xml. Likewise for server.xml, by default Tomcat will read additional files which match the pattern server-*.xml.

ITS JUST AN IDEA DONT COPY OR PASTE



0300-9520262
Get solution in 24 hour
|cpmputer & internetConfusedmileys81:[SIZE="4"][SIZE="3"]....[/SIZE][/SIZE]
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  CS301 Assignment # 4 Due Date: 02-Feb-2016 Vuhelper 0 2,319 02-03-2016, 05:38 PM
Last Post: Vuhelper
  CS703 – Advanced Operating Systems Assignment No.3 solution January 2016 Vuhelper 0 5,904 01-23-2016, 09:58 PM
Last Post: Vuhelper
  CS601 Data Communication Assignment No. 03 Solution 23rd January 2016 Vuhelper 1 1,924 01-23-2016, 06:09 PM
Last Post: Vuhelper
  CS403 Assignment No. 03 Solution 23rd January 2016 Vuhelper 2 1,159 01-23-2016, 03:18 PM
Last Post: Vuhelper
  CS506 Web Design and Development Assignment no 3 Solution 3rd January 2016 Vuhelper 0 2,237 01-23-2016, 03:16 PM
Last Post: Vuhelper
  CS724 Software Process Improvement Assignment No 01 Solution 20th January 2016 Vuhelper 0 1,962 01-20-2016, 06:26 PM
Last Post: Vuhelper
  CS711 Software Design Assignment No 01 Solution Due Date Feb 12, 2016 Vuhelper 0 1,658 01-20-2016, 06:24 PM
Last Post: Vuhelper
  CS709 Formal Methods for Software Engineering Assignment No 01 Solution January 2016 Vuhelper 0 1,792 01-20-2016, 06:22 PM
Last Post: Vuhelper
  cs703 assignment no 3 Solution 20th January 2016 Vuhelper 0 1,695 01-20-2016, 06:20 PM
Last Post: Vuhelper
  CS704 Assignment No. 01 Solution January 2016 Vuhelper 0 4,794 01-20-2016, 06:19 PM
Last Post: Vuhelper

Forum Jump:


Users browsing this thread: 1 Guest(s)