web.xml - servlet 1 Answer(s) 4 years and 8 months ago
Posted in : Java Beginners
View Answers
October 7, 2008 at 12:58 PM
Hi friend,
<load-on-startup>1</load-on-startup>
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:
web.xml 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
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
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
servlets
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
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
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
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
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
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
jsp question..
jsp question.. what should do in deployment descriptor after adding jstl jar files..
I am the the following message in console screen;
The absolute cannot be resolved in either web.xml or the jar files deployed
jsp question..
jsp question.. what should do in deployment descriptor after adding jstl jar files..
I am the the following message in console screen;
The absolute cannot be resolved in either web.xml or the jar files deployed
Struts - Struts
Struts Hi,
I m getting Error when runing struts application.
i have already define path in web.xml
i m sending --
ActionServlet... resolve this.
Hi friend,
Create the web.xml file like
MyEclipse - Struts
MyEclipse Hi,
I am using MyEclipse6.0. I have developed a struts based application. As part of that i have used struts-html tags. When i have written the following code in web.xml file it is giving error
web.xml
deployment error - XML web.xml entries to support spring and site mesh?? here is the error on my console and my web.xml .........
--------------------------------------
SEVERE: Error
struts - Struts
2. wht is the difference b/w the web.xml and struts-config.xml
3. what... & web.xmlweb.xml is used for the deployment descriptor for web applications...
where as web.xml is used for making connection between web container & web
XML load problem - XML
("Microsoft.XMLDOM");
loadXML.load("C:\JDEVPgm\Sample\public_html\WEB-INF\web.xml
servlets using weblogic server - Java Beginners
servlets using weblogic server [J2EE:160043]Missing deployment descriptor "WEB-INF/web.xml" at "C:\servlets\rgv.war"
im getting this error msg in weblogic server...rgv.war is wat i hav creaated.
can u pls send me
loginform giving 404 error
loginform giving 404 error Hi,
I am developing a login form code from roseindia.net. i will develop all the formbean class, action class, login.jsp, success.jsp, failure.jsp, web.xml, struts-config.xml. when Iam pressing
Reply Me - Struts
Reply Me Hi Friends,
I am new in struts please help me
How to arrange the folder using oracle 10g database where store web.xml file,jsp file,connection file....etc please let me know its very urgent
 
error404
error404 hi i am getting an error code 404 so that i placed it in web.xml as a Errorpage.jsp but where should i locate ErrorPage.jsp
plz help me out
hi vankat,
save your errorpage.jsp in your project