Home Answers Viewqa Servlet-Interview-Questions servlets why do we need web-inf directory in web application

 
 


vikas ohlyan
servlets why do we need web-inf directory in web application
0 Answer(s)      a year and 3 months ago
Posted in : Servlet Interview Questions

why do we need web-inf directory in web application? means what's the benefits of doing so?

View Answers









Related Pages:
why to create directory structure as web-inf & classes & lib - Java Beginners
why to create directory structure as web-inf & classes & lib    we... e)providing deployment descriptor (web.xml) as part of WEB-INF directory... with the exact name WEB-INF under webroot b)createing two direcories with name
why to create directory structure as web-inf & classes & lib - Java Beginners
why to create directory structure as web-inf & classes & lib    we... e)providing deployment descriptor (web.xml) as part of WEB-INF directory... with the exact name WEB-INF under webroot b)createing two direcories with name
servlets
servlets why do we need web-inf directory in web application  why do we need web-inf directory in web application? means what's the benefits of doing so
Creating configuration files
;   For the application, we need two files in WEB-INF folder of the application in Tomcat. web.xml and  faces-config.xml file   Make sure you have these two otherwise you need to create them. 1
Directory structure of a web application
structure of a web application.    The directory structure of a web application consists of two parts. A private directory called WEB-INF. A public resource directory which contains public resource folder. WEB-INF folder consists
I want to put user guide in pdf and word in side WEB-INF and need to give link on the home page
I want to put user guide in pdf and word in side WEB-INF and need to give link... in side WEB-INF (for security reasons, I want these documents visible after user logged in) and need to give link on the home page. These user guide documents url
the servlets
with the servlet container. There is only one ServletContext for the entire web application and the components of the web application can share it. It gives... Application.Using this interface servlet can access raw input streams to Web Application
Installation, Configuration and running Servlets
to the classes folder in order to run the servlet that we created. All you need to do... successfully. Step 2 ? Create your Web application folder The next step is to create your web application folder. The name
what is java and why do i need it?
what is java and why do i need it?  Hi, Please tell me what is Java and why do i need it? Is it free to download? Also explain me how to write and test my first Java Application? What is the configuration or system requirement
Why Struts in web Application - Struts
Why Struts in web Application  Hi Friends, why struts introduced in to web application. Plz dont send any links . Need main reason for implementing struts. Thanks Prakash
Web Application Directory Structure:
Web Application Directory Structure:       To develop an application using  servlet or jsp make the directory structure like... to this directory structure:  Roseindia/    WEB
servlets and jsp - JSP-Servlet
:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\WEB-INF we will have upto webapps folder in web apps folder we need to creat web-inf folder and in that(web-inf) folder again we have to creat two folders like "CLASSES
java web application - Ant
a directory structure for a Web application. a)Create a WEB-INF directory. b)Create a classes directory in the WEB-INF directory. c)Create a web.xml deployment descriptor in the WEB-INF directory for the Web application. 5
Why would we want a Database?
Part-3 : Why would we want a Database? Most of the beginners are asking this question why do we need database in our application or program. They don't know...; : With the help of PHP and MySQL, we can develop thousands of forum on the internet
the servlets
how do we define an application level scope for servlet  how do we define an application level scope for servlet   Application scope uses... not to duplicate the names of application scope objects or change the values when they're
Servlets
\myproject\WEB-INF\classes>javac InsertServlet.java InsertServlet.java:3... { ^ 6 errors   Do you have servlet-api.jar in your apache
servlets
'. 2)Go to the webapps folder of your apache tomcat and create a web application folder but it should having an appropriate name like examples. 3)Create web.xml and classes folder inside the WEB_INF folder of web application folder. 4
servlets
why it is declared as abstract class? what benifits we can get by declaring... programmers would be forced to implement methods that they don't need. Therefore... the methods they need. But actually using the HttpServlet class itself make no sense
Open Source Directory
Directory is maintained by Steve Mallett, creator of OSDir.com. We welcome... on the Web-based desktop applications that come with the Red Hat Directory...? You can do so here.  Need to update a product entry you previously
Why do we use ORM?
Why do we use ORM?  Why do we use ORM?   ORM is technology... programming. In ORM we define the way of mapping of classes to table and also define the mapping of which property for which column. In ORM we can use plain java
What do we need in PHP Database
Part-4 : What do we Need ? Before making any application or program, we need few software that is essential to run PHP and MySQL code. We need three things... that is called the MySQL YOG. Finally, we will need to installed the PHP
servlets - Java Beginners
engine DO? why we convert jsp to servlet engine code in web server?  ... code. Servlets are serverside programs, we can execute servlets with in web or application servers only.Using servlets we can't generate presentation very
servlets
servlets  why we are using servlets
Fashion Trends: Why do we follow them?
Fashion Trends: Why do we follow them? We all hear about the new fashion trends and we always wonder, why do some people follow these trends so strictly... to wear strange outfits that were neither good looking nor comfortable. So, why
servlets - JSP-Servlet
an application using Servlets or jsp make the directory structure given below link http://www.roseindia.net/servlets/directory-structure.shtml Now visit... Folder(f) /Student /WeB-INF(f) /Classes(f) /AddStudent.java /lib(If any jar
Why spring?
Why spring?  Why do we need to learn Spring? and where can we use it thanks
servlets
servlets  How do you communicate between the servlets?   We can communicate between servlets by using RequestDespatcher interface and servlet chaining
Building Web Application With Ant and Deploying on Jboss 3.0
there is a special directory 'Web-inf' which contains the web deployment... directory. Jboss application server automatically deploys the application. Open web... Building Web Application With Ant and Deploying on Jboss 3.0
Why do I need Dedicated IP?
the customer to upload content and other files to their own personal, secure web space. These types of web hosting accounts are ideal for larger businesses or for e-commerce websites. Dedicated IP web hosting is also ideal for individuals those
servlets
servlets  why we require wrappers in servlets? what are its uses? Please explain   These wrappers classes help you to modify request...://www.roseindia.net/servlets/response-filte.shtml
web application
web application  Develop a web application to print back the inputs... which accepts the userâ??s name and sent to Servlets which puts the name...://localhost:8080 user : admin/password : admin We are keen on coding standards
Fashion Accessories: Why do you need them?
Fashion Accessories: Why do you need them? It is pretty obvious why you would..., but the need for all sorts of fashion accessories doesn't come as a simple idea... features or to hide others, and generally improve the looks of the entire outfit. We
Compiling and testing the application
;    In this application we will compile and deploy... go to the project\WEB-INF\src of your poject and then use ant tool to compile...-tomcat-5.5.12\webapps\project\WEB-INF\src C:\tomcat\apache
Why Web Services?
Why Web Services? In this section of WebServices tutorials series we will understand why Web Services are developed and what are the benefits of using Web Services for  the development of  Enterprise applications. Why
Accessing Database from servlets through JDBC!
java servlets. In this article we will use Java Web Server, whose... side of web application. Earlier CGI was developed to provide server side... processing.    With Java servlets web developers can
Servlet Tutorials Links
. This means that you do not need to configure and run a separate web server (like... WEB-INF/lib directory. b) define servlet in your web.xml file.  <... technology of choice for extending and enhancing Web servers. Servlets provide
error in web application
error in web application  In your application when i am trying...; We are providing you another application. Check it. 1)application.jsp... for your help but i need in servlet form as there is lots of other
servlets
how do we share data using getservletcontext servlets  how do we share data using getservletcontext
servlets
the filters should extend javax.servlet.Filter. Every request in a web application... functionality to the servlets apart from processing request and response paradigm of servlet processing. Filters manipulate the request and response in a web
How to read text file in Servlets
in servlets program. You can use this code in your application to read some information from a file. Create a file message.properties in the /WEB-INF/ directory... file in servlets. In this example we will use the input stream to read the text
how do i provide down a pdf document fecility on my web page using jsp and servlets?
how do i provide down a pdf document fecility on my web page using jsp and servlets?  Hai, I need a program to provide download option for pdf file on my web page,the pdf file contains retrieved data from mysql table. I need
Simple JSF Hello Application
;SimpleHelloByEnteringName". This is the root directory of the application. Now create WEB-INF... in WEB-INF directory. This JSF application contains: Three JSP pages... application. In this example we will explain all you need, to develop this application
servlets - Servlet Interview Questions
servlets  when we develop web application with folder name as Myservlet and i kept this in web-apps of tomcat and executed. can we kept Myservlet folder in another directory like server,common,root............, of tomcat
Downloading MyFaces and creating web application
we will learn how to create web application for our login and registration... image shows the directory structure of our web application.   Now follow...;myfaces-example-simple-1.1.6\WEB-INF\lib" directory to "lib"
servlets - Servlet Interview Questions
servlets  when we develop web application with folder name as Myservlet and i kept this in web-apps of tomcat and executed. can we kept Myservlet folder in another directory like server,common,root............, of tomcat
History of web application
History of web application     ... the user navigate through the content, but a web application provides a more... dynamically to expand the functionality of a server. Servlets are used with web servers
Struts 2 Hello World Application Example, Learn how to develop Hello World application in struts 2.
the struts2tutorial\WEB-INF\ then you copy latest Servlets api jar (in our.... The directory struts2tutorial\WEB-INF\src\java will be used to put all the java sources file and directory struts2tutorial\WEB-INF\src\classes
Servlets Books
to program dynamic Web content using Java Servlets, with a fine introduction... what they need to do in order to achieve the effects and behaviors they desire... that any Java web developer who uses JavaServer Pages or servlets will use every day
Why application server is important?
Why application server is important?  Hi, I have to select the good application server for running my Java based web applications. Which application server or tomcat container is good to run the application. On my website
The Advantages of Servlets
. So servlets are write once, run anywhere (WORA) program. Powerful We can do several things with the servlets which were difficult or even impossible to do with CGI, for example the servlets can talk directly to the web server while the CGI

Ask Questions?

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.

Ask your questions, our development team will try to give answers to your questions.