web.xml - servlet



Share on Google+Share on Google+

web.xml - servlet
1 Answer(s)      9 years ago
Posted in : Java Beginners
View Answers

October 7, 2008 at 12:58 PM

Hi friend,


Is it indicate order of servlet to be loaded or number of instances

Tha't the order in which the Servlet will be loaded by the container.

1 will be the first
2 will be the second

The <load-on-startup> element of a deployment descriptor is used to load a servlet file
when the server starts instead of waiting for the first request.
It is also used to specify the order in which the files are to be loaded.
The <load-on-startup> element is written in the deployment descriptor as follows:




Related Tutorials/Questions & Answers:
web.xml  what is web.xml file..? explain its types..?   The web.xml file is important file for j2ee application. this file is also called the deployment descriptor. When you web application started the web server reads
web xml  which url address is given in web.xml?   When using prefixes in XML, a so-called namespace for the prefix must be defined. The namespace is defined by the xmlns attribute in the start tag of an element
Access web.xml init parameters
Access web.xml init parameters  How to access web.xml init parameters from java code
What are the elements in the deployment descriptor(web.xml)?
What are the elements in the deployment descriptor(web.xml)?  What do the following elements in the deployment descriptor(web.xml)are: ??.. ?.. ??? ?
Assembling web.xml from fragments
This section contains detailed description on assembling web.xml from web fragments with an example
loacation of errorpage in web.xml for 404 error
loacation of errorpage in web.xml for 404 error   The webpage cannot be found HTTP 404 Most likely causes: ?There might be a typing error in the address. ?If you clicked on a link, it may be out of date. What you
web.xml - XML
web.xml  Can you please help me to create web.xml I tried.... Is there any thing wrong with this web.xml otherwise please help me... Thanks...; Hi friend, Servlet and JSP Examples
Configure Js request in Web.xml
Configure Js request in Web.xml  Hi all, I have 1 basic doubt,suppose i have 2 jsp,1 servlet,1 web.xml file.i need to redirect 1 page via servlet with help of web.xml file.Here just i need to redirect to mainCtrl.java
How to Configure Spring in web.xml file ?
How to Configure Spring in web.xml file ?  How to Configure Spring in web.xml file ?   Hi you need to map the DispatcherServlet in web.xml as <servlet> <servlet-name>dispatcherServlet<
jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed with this application
/core cannot be resolved in either web.xml or the jar files deployed... be resolved in either web.xml or the jar files deployed with this application"... be resolved in either web.xml or the jar files deployed with this application
Getting Context Parameter Names
. In web.xml, do the following: <servlet> <servlet-name>... in the web.xml file. ServletContext is a interface which helps us to communicate with the servlet container. There is only one Servlet Context for the entire web
Getting Init Parameter Names
values which we have given in the web.xml file. Whenever the container makes a servlet it always reads it deployment descriptor file i.e. web.xml.... GettingInitParameterNames. The container calls the servlet's service
servlets  which url address is given in web.xml
wexml for jsp
wexml for jsp  an exaample for web.xml for sample jsp program
Question  which url address should be given in web.xml
struts.xml - Struts
struts.xml  I have tried again and again, but somehow, my web.xml is not able to find struts.xml. Where should I be placing struts.xml?? The filter tags in web.xml are correct. Thanx
xml  how to creatte html file and validate using java and finally i need get web.xml file
The server encountered internal error() - Struts
the problem in struts application. Here is my web.xml MYAPP... in either web.xml or the jar files deployed with this application In my index.jsp... in web.xml since the error said it's in web.xml? In the jar files, I've already pu
saritha project - Struts
in the web.xml
saritha project - Struts
in the web.xml
Struts 2.0- Deployment - Struts
1.5 Tomcat 6.0  Hi friend, Check your config of Web.xml.../struts/struts2/ Thanks   I placed correct web.xml only. For first time I
To Develope an Website
, please help me. What I did is I had created two XML files, web.xml and sampleproject.xml, I put that web.xml file under the webinf folder another
Session Timeout
Session Timeout  Hi, we are using JBoss 4.0.2 I have edited the jboss-4.0.2/server/default/deploy/jbossweb-tomcat55.sar/conf/web.xml I...... the below is the snip from my web.xml file <session-config> <session
Exception handling through Struts - Struts
tag to my web.xml file but still I am getting errors on the screen. It is not showing me that error page whatever I have entered in my web.xml My web.xml
session management - JSP-Servlet
think i am not using session management properly. and also in my web.xml file i... u my code. WEB.XML:- 1 like this i specified in web.xml and in my signout.jsp file:- signout page
Problem in integration struts+ spring - Framework
Problem in integration struts+ spring  Problem in integration struts+ spring hi, i am facing problem in integration struts+ spring. I am also using jstl tag. web.xml Test action org.apache.struts.action.ActionServlet config /WEB
Open a .doc file by click on the link using struts - Struts
Open a .doc file by click on the link using struts   I want to open a doc extension file when i click a link on jsp page .I know only about which is write in web.xml but not exactly know how i do this.Plz any one can help me
deploymnet problem - Struts
deploymnet problem  I am shifting from struts1 to strus2 , what all required for it? When I changed my web.xml I am not able start my application in tomcat server? Why? Error:Fail-Application at context path /myproject
Cohabitation struts 1 and 2 - Struts
Cohabitation struts 1 and 2  Hi, I have a problem with the cohabitation of struts 1 and 2. I work on a web application which used struts 1. But i must add some functionality in struts 2. When i modify my web.xml file
jsp   <% out.println("hello");%> i have writtn this program .but i am not getting way to deploy it.As in ma weblogic at the time of installation web.xml descriptor problem was there so i am doin exploded deployment.so
how to use jstl tags?
in either web.xml or the jar files deployed with this application


Advertisement null