Question: What is the directory structure of a web application?

By: Guru Singh  

Question: What is the directory structure of a web application?

Answer:  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 of
1. web.xml
2. classes directory
3. lib directory

 

 

 

 



Most Viewed Articles (in Interview )

Interview Question: How is the MVC design pattern used in Struts framework?

What is Deployment Descriptor?

Interview Question: What is EJB client JAR file?

Interview Question: If the framework doesn't do what I want, can I request that a feature be added?

Interview Question: How many EJB Objects are created for a Bean?

Question: Difference between forward and sendRedirect in JSP?

Interview Question: Do you have to credit Struts on your own website?

What is Collection API?

Interview Question: What is the difference between sessioncontext and entitycontext?

Question: How is the MVC design pattern used in Struts framework?

Interview Question: Why it is called Struts?

Interview Question: Who makes the Struts?

Interview Question: Write code of any Action Class?

Interview Question: What is Struts Validator Framework?

Interview Question: Why do we need Struts?

Latest Articles (in Interview)

Comment on this tutorial