Sponsored Links


Results 1 to 2 of 2

Thread: CS506- Web Design and Development assignment no 3

  1. #1
    Administrator Vuhelper's Avatar
    Join Date
    Apr 2011
    Posts
    9,578

    CS506- Web Design and Development assignment no 3

    Sponsored Links1


    Assignment No. 03
    SEMESTER Spring 2011
    CS506- Web Design and Development

    Sponsored Links

    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.
    Last edited by Vuhelper; 06-15-2011 at 06:41 PM.

  2. #2
    Administrator Vuhelper's Avatar
    Join Date
    Apr 2011
    Posts
    9,578
    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.

    9:Prior 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



Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 0
    Last Post: 12-03-2014, 04:28 PM
  2. CS506 - Web Design and Development Assignment No. 02 Close date May 23, 2014
    By vuassignments in forum Assignments & Solutions
    Replies: 1
    Last Post: 05-22-2014, 03:51 PM
  3. CS506 Web Design and Development Assignment No.2 Semester Fall 2012
    By Vuhelper in forum Assignments & Solutions
    Replies: 3
    Last Post: 11-27-2012, 11:44 PM
  4. Replies: 0
    Last Post: 04-11-2012, 07:10 PM
  5. Replies: 1
    Last Post: 11-24-2010, 12:00 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
-: Vuhelp Disclaimer :-
None of the files shown here are hosted or transmitted by this server. The links are provided solely by this site's users. The administrator's or staff of Vuhelp.net cannot be held responsible for what its users post, or any other actions of its users. You may not use this site to distribute or download any material when you do not have the legal rights to do so. It is your own responsibility to adhere to these terms. If you have any doubts about legality of content or you have any suspicions, feel free to contact us.
Online Education | JhelumSoft