s per ur answer

i cannot understand please explain in detail

3)Create web.xml and classes folder inside the WEB_INF folder of web application folder.

View Answers

January 18, 2011 at 4:39 PM

Hello Friend,

We were explaining you the directory structure for jsp and servlet applications.

A web application folder has to be created inside webapps folder of apache tomcat. It must be given an appropriate name like examples.

Directory structure

apache-tomcat-6.0.16
    |
    |
    webapps------>examples(web application folder)
                  |
                  |-----jsp          |-----classes(servlet classes)
                  |                  |
                  |-----WEB-INF------|-----web.xml
                                     |
                                     |-----lib

The directory structure should be just like above. Just create the above directory structure and place the files in their appropriate places.

We were explaining web.xml. If it was not there in your directory structure, then you need to create the web.xml. There is no complicated code in web.xml. It is used for servlet mapping.

For more information, visit the following link:

http://www.roseindia.net/servlets/introductiontoconfigrationservlet.shtml

Thanks


January 19, 2011 at 12:49 PM

thanks sir









Related Tutorials/Questions & Answers:
s per ur answer
s per ur answer  i cannot understand please explain in detail 3)Create web.xml and classes folder inside the WEB_INF folder of web application folder.   Hello Friend, We were explaining you the directory structure
create webpage with table sql database using netbeans 6.8 with struts complete tutorial.(include username and password) 0 Answer(s)
create webpage with table sql database using netbeans 6.8 with struts complete tutorial.(include username and password) 0 Answer(s)  create webpage with table sql database using netbeans 6.8 with struts complete tutorial.(include
Advertisements
ModuleNotFoundError: No module named 'ur'
ModuleNotFoundError: No module named 'ur'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'ur' How to remove the ModuleNotFoundError: No module named 'ur' error
Waiting for ur quick response
Waiting for ur quick response  Hi, I have two different java programs like sun and moon. In both of these two programs i have used same class name like A. For example, File name:sun.java Then the code is here: Class
ModuleNotFoundError: No module named 'nester-ur'
ModuleNotFoundError: No module named 'nester-ur'  Hi, My Python... 'nester-ur' How to remove the ModuleNotFoundError: No module named 'nester-ur' error? Thanks   Hi, In your python environment you
ModuleNotFoundError: No module named 'ur-rtde'
ModuleNotFoundError: No module named 'ur-rtde'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'ur-rtde' How to remove the ModuleNotFoundError: No module named 'ur-rtde
Hi and Thanks for ur response - Hibernate
Hi and Thanks for ur response  Hi, thanks for ur immediate response.Could anyone know abt the elements generated by generic DAO classes and pls let me know what is persistenceInstance with one good example. pls explain me
Reply to ur mail(Hibernate Error)
Reply to ur mail(Hibernate Error)  Hi! Im using Eclipse. Steps : 1. Downloaded the example code and library from rose india and extracted the content in a directory. 2. Downloaded file contains the Eclipse project. 3. Started
answer it soon
answer it soon  write a proggram to accept a number and check whether the sum of prime factors of a number is a prime number
java.please answer this...
java.please answer this...   Q1).How we can write a complete JAVA program that computes the following summation formulas..? â??_(i=1)^nâ??ã??i^2=ã?? (n^(2 ) ã??(n+1)ã??^2)/4
my answer
+"'"; // Statement s = null; // try { // s = con.createStatement... ignite_id='"+id+"'"; Statement s = null; s = (Statement
ModuleNotFoundError: No module named 'answer'
ModuleNotFoundError: No module named 'answer'  Hi, My Python... 'answer' How to remove the ModuleNotFoundError: No module named 'answer'... to install padas library. You can install answer python with following command
ModuleNotFoundError: No module named 'answer'
ModuleNotFoundError: No module named 'answer'  Hi, My Python... 'answer' How to remove the ModuleNotFoundError: No module named 'answer'... to install padas library. You can install answer python with following command
ModuleNotFoundError: No module named 'answer'
ModuleNotFoundError: No module named 'answer'  Hi, My Python... 'answer' How to remove the ModuleNotFoundError: No module named 'answer'... to install padas library. You can install answer python with following command
Answer for SCJP Module-1 Question-13
Answer for SCJP Module-1 Question-13  The Answer for SCJP Module-1 Question-13 is missing , I think the answer is option '1', Correct me if I am wrong
pls answer these question
pls answer these question  Write a program that prompts the user to input the length and width of a rectangle. Then calculate and prints the rectangleâ??s area and perimeter.   import java.io.*; class rectangle
pls answer the Trangle pattern
pls answer the Trangle pattern    a b c d e b c d e c d e d e e Please answer and give the code for above triangle
Urgent Answer Req
Urgent Answer Req  how to view the file content which is at client side from jsp in java
what is separate request processor per module in struts1
what is separate request processor per module in struts1  what is separae request processor per module in struts1.x
what is separate request processor per module in struts1
what is separate request processor per module in struts1  what is separae request processor per module in struts1.x
Kilometers per Liter to Miles per Gallon
Kilometers per Liter to Miles per Gallon          Kilometers per liter... in a kilometer.  Miles per Gallon: The distance traveled by a vehicle
please answer me
please answer me  iam using html in select tag.in this one option i selected and that option data will be display in table.And use servlet with html and how to retrieve the data from data base
Please give me the answer.
"int a=08 or 09" its giving compile time error why   "int a=08 or 09" its giving compile time error why ? can any one give me the answer of this please
ModuleNotFoundError: No module named 'nagios-load-per-core'
ModuleNotFoundError: No module named 'nagios-load-per-core'  Hi...: No module named 'nagios-load-per-core' How to remove the ModuleNotFoundError: No module named 'nagios-load-per-core' error? Thanks   Hi
ModuleNotFoundError: No module named 'odoo8-addon-pricelist-per-product'
ModuleNotFoundError: No module named 'odoo8-addon-pricelist-per-product' ...: ModuleNotFoundError: No module named 'odoo8-addon-pricelist-per-product' How to remove the ModuleNotFoundError: No module named 'odoo8-addon-pricelist-per-product'
ModuleNotFoundError: No module named 'odoo9-addon-pricelist-per-product'
ModuleNotFoundError: No module named 'odoo9-addon-pricelist-per-product' ...: ModuleNotFoundError: No module named 'odoo9-addon-pricelist-per-product' How to remove the ModuleNotFoundError: No module named 'odoo9-addon-pricelist-per-product'
ModuleNotFoundError: No module named 'pose-per-frame'
ModuleNotFoundError: No module named 'pose-per-frame'  Hi, My... named 'pose-per-frame' How to remove the ModuleNotFoundError: No module named 'pose-per-frame' error? Thanks   Hi, In your python
share your answer to this question
share your answer to this question  i need to know what is the TELERIK CONTROL? what is the map suite? what is dunda chart? Also i have to know what are the websites available which give infor regarding this. Let me know how
Is the answer 35, 35?
Is the answer 35, 35?  int a = 5; int b = 7; int num = 35; while (a < b) { System.out.println(?My age is ? + num); a = a + 1; }   Hello Friend, class Check{ public static void main(String[] args
Formatting number as per specific locale in java
Formatting number as per specific locale in java  Hi, I am trying to print the number as per locale. I tried below, but it still prints in English...(Locale.getDefault()); //returns zh. //format the number as per locale -->
answer me this program
answer me this program  Java Code to Maintain student record,Name, Age, Marks of 5 subjects for a Student,Display Student age and name,Calculate Average of all marks and display it   Java student record import
answer me this program
answer me this program  Java Code to Maintain student record,Name, Age, Marks of 5 subjects for a Student,Display Student age and name,Calculate Average of all marks and display it   Java student record import
plz give me answer plz
plz give me answer plz  writw a programme to find rank from an array using doubledimmensionalarray
please send me the answer - JDBC
please send me the answer -difference between DriverManager and DataDourse   what is Datasourse? What r the advantages? what is the difference between DriverManager and DataDourse
Java - How to read a string line per line
Java - How to read a string line per line  Java - How to read a string line per line I am trying to find the tutorial for reading the String line per line. I have a String data, which contains many lines. What is the best way
Please answer me - JSP-Servlet
Please answer me  Hello Guys, this is the third time I'm sending this question. But I've not got the right answer from you. The again is: I need java servlet or jsp codes that I can use to insert and retrieve image from MSSQL
How to parse an XML as per dtd in java
How to parse an XML as per dtd in java  Please help to tell me a logic to parse an xml as per mentioned dtd inside xml. I've used SAX and DOM both but that only check for well formed xml tags but don't validate as per DTD. please
ModuleNotFoundError: No module named 's'
ModuleNotFoundError: No module named 's'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 's' How to remove the ModuleNotFoundError: No module named 's' error
ModuleNotFoundError: No module named 's'
ModuleNotFoundError: No module named 's'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 's' How to remove the ModuleNotFoundError: No module named 's' error
Plz send me answer quckly
Plz send me answer quckly  Respected Sir, myself is pavan shrivastava.i want ask a question that is ( we can't create object of interface then how would possible to create object
what?s the value of $$b?
what?s the value of $$b?  If the variable $a is equal to 5 and variable $b is equal to character a, what?s the value of $$b
2's Complement
2's Complement  hi Can anyone plsss tell me the 2's complement java program... Thanks in advance
answer this qs in 5 mins plss
answer this qs in 5 mins plss  Create an Web Application, which allows a user to search a book as follows: Based on ISBN code, if he is aware of the code (or) Based on the Book Categories (adsbygoogle
JAVA S/W download
JAVA S/W download  Hi I'm new to JAVA, I want to download JAVA S/W from where I need to download. Please help me with the link. Thank you,   Hi ! (adsbygoogle = window.adsbygoogle || []).push({}); u can
s:textfield - Struts
s:textfield  I am using the s:textfield tag in an appication and need to display % after the field on the same line. How would I go about doing this?  Hi friend, Textfield Tag Example
How to display mysql database records as per clock timing?
How to display mysql database records as per clock timing?  I want to display database records as per clock timing
i cNT GET ANSWER FOR THIS QUESTION
i cNT GET ANSWER FOR THIS QUESTION  The roots of the quadratic equation ax2+bx+c=0, aïâ??¹0 are given by the following formula: x=(-bÃ?±âË?Å¡(b^2-4ac))/2a In this formula. The term b2-4ac is called
What is the answer and how the program work?
What is the answer and how the program work?  public class Threads2 implements Runnable { public void run() { System.out.println("run."); throw new RuntimeException("Problem"); } public static void main(String[] args
ModuleNotFoundError: No module named 'odoo8-addon-survey-one-choice-per-column'
ModuleNotFoundError: No module named 'odoo8-addon-survey-one-choice-per-column...: ModuleNotFoundError: No module named 'odoo8-addon-survey-one-choice-per-column' How...-choice-per-column' error? Thanks   Hi, In your python