Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa JSP-Servlet s per ur answer
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


trutpi
s per ur answer
2 Answer(s)      4 years and 2 months ago
Posted in : JSP-Servlet


i cannot understand please explain in detail

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


Advertisement
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
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
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
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
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
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 -->
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
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 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
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 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
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
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
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
2's Complement
2's Complement  hi Can anyone plsss tell me the 2's complement java program... Thanks in advance
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
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
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
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 ! u can download JAVA from http://www.java.com/en/download/index.jsp
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
plz give me answer plz
plz give me answer plz  writw a programme to find rank from an array using doubledimmensionalarray
 

 

 

DMCA.com