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



Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


Vijay Kumar
servlet mapping
1 Answer(s)      3 years and 11 months ago
Posted in : Servlet Interview Questions


Defined servlet mapping in web.xml ?


Advertisement
View Answers

November 3, 2010 at 1:02 PM


<servlet>
  <servlet-name>Hello</servlet-name>
  <servlet-class>HelloWorld</servlet-class>
 </servlet>

 <servlet-mapping>
 <servlet-name>Hello</servlet-name>
 <url-pattern>/HelloWorld</url-pattern>
 </servlet-mapping>

Given above servlet mapping "HelloWorld" is class and "/HelloWorld" url pattern.

<servlet-class>HelloWorld</servlet-class>


Related Tutorials/Questions & Answers:
servlet mapping
servlet mapping  Defined servlet mapping in web.xml ?   <servlet> <servlet-name>Hello</servlet-name> <servlet...;/HelloWorld</url-pattern> </servlet-mapping> Given above servlet mapping
Servlet-JSP Mapping - JSP-Servlet
Servlet-JSP Mapping  Dear Sir, My Query were: How I use the issueData() in Jsp which define in Servlet_Two.java. If any mistake in my code please...\.wlnotdelete\extract\myserver_ProjDemo_ProjDemo\jsp_servlet\__issue.java' failed
Advertisements
Servlet-JSP Mapping - JSP-Servlet
Servlet-JSP Mapping  Dear Sir, My Query were: How I use the issueData() in Jsp which define in Servlet_Two.java. If any mistake in my code please...\.wlnotdelete\extract\myserver_ProjDemo_ProjDemo\jsp_servlet\__issue.java' failed
mapping - XML
can perform the servlet-mapping like the following: HelloServlet...mapping  how does the web.xml works and how does the mapping done... configuration and deployment information for the Web components(servlet parameters, servlet
Mapping Application
Mapping Application The mapping is done within an action file called..., their corresponding action class and results returned from the Action class. Before mapping... can also specify the name of the method of an action class in mapping as <
Hibernate Mapping
In this tutorial we will discuss Hibernate mapping
the Action Mapping specified
the Action Mapping specified  How is the Action Mapping specified
ActionMapping and is the Action Mapping specified
ActionMapping and is the Action Mapping specified  What is ActionMapping and is the Action Mapping specified
Hibernate Mapping
In this section, you will learn about Hibernate Mapping
What is component mapping in Hibernate?
What is component mapping in Hibernate?  Hi, What is component mapping in Hibernate? thanks
What is Light Object Mapping?
What is Light Object Mapping?  Hi, What is Light Object Mapping? Thanks
Hibernate XML Mapping
In this section, you will learn how to do XML mapping in Hibernate
view mapping - Hibernate
view mapping  How can we do mapping in hibernate
jsp one to one mapping
jsp one to one mapping  how to perform one to one mapping in jsp....code of one to one mapping with .xml file
hibernate mapping - Hibernate
hibernate mapping  when will we use one to one, one to many, many to many mapping... give a practical example
Mapping Technics - Hibernate
Mapping Technics  Hai i want some clarifications about one-to-many bidirectional relationship
Hibernate Mapping
Hibernate Mapping In this Hibernate Mapping tutorials series you will learn... the complex things easily.  This Hibernate Mapping tutorial is targeted... mapping in the applications. But programmers can also use annotations to define
Mapping objects in XML - Spring
Mapping objects in XML   Hello, I┬┤ve read that you can define an object in the configuration XML as follows: tom Ok, but, if I want to set a different value for "name" each time I create
Hibernate date mapping
In this section, you will learn about date mapping in Hibernate
XML to XML Mapping
XML to XML Mapping  Hi Dear Developer Team, I would like to know how does XML-to-XML and XML-to-database Mapping works? I do not want use any of the popular Software like Altova or sylusstudio .... i mean, i have to program
Set the mapping name
Set the mapping name        3. Set the mapping name to the action attribute of html... mappings. The attribute of the action mapping can be added or removed and a new
OR Edge Mapping Designer
OR Edge Mapping Designer       SQL Edge« not only allows you to see individual database records by executing SQL queries, but also provides a powerful way to visualize
Hibernate Many To Many Annotation Mapping
Hibernate Many To Many Annotation Mapping  How to use Many To Many Annotation Mapping in Hibernate?   Hibernate requires metadata like... to another.Hibernate annotation provides annotation-based mapping. Click here
Set the mapping name
; No need to use a separate hidden variable or a query string for mapping... to a method. This event-to-method  * mapping is removed...(this);  public ActionForward execute(ActionMapping mapping
Hibernate mapping annotations
In this section, you will learn about the annotations used for various mapping in Hibernate
Hibernate One to Many Indexed Mapping
In this section, you will learn to one to many indexed mapping in Hibernate to preserve mapping order
Hibernate Collection Mapping
Hibernate Collection Mapping In this tutorial you will learn about the collection mapping in Hibernate. Hibernate provides the facility to persist... classes to persist the objects. Then created mapping files to map class objects
Hibernate Mapping Many-to-Many Example
Hibernate Mapping Many-to-Many Example  How does many to many...-drop</property> <!-- Mapping files --> <mapping class="net.roseindia.table.Course" /> <mapping class
Hibernate One to many XML mapping array Example
In this section, you will learn how to do one to many mapping using array to retain mapping order in Hibernate
Hibernate One to Many XML Mapping list Example
In this section, you will learn how to do one to many mapping using List to retain mapping order in Hibernate
Hibernate O/R Mapping
Hibernate O/R Mapping In this tutorial you will learn about the Hibernate O/RM (Object/Relational Mapping). O/RM itself can be defined as a software... will be required to create a file with .hbm.xml extension into which the mapping
 

 

 

DMCA.com