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

By: Guru Singh Printer Friendly Format    


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: Who makes the Struts?

Interview Question: How does Struts work?

Interview Question: Where can I get a copy of Struts?

Interview Question: What is EJB container?

Interview Question: What is Local client view in EJB?

Interview Question: Can I invoke Runtime.gc() in an EJB?

Interview Question: What is re-entrant. Is session beans reentrant. Is entity beans reentrant?

Interview Question: What is abstract schema?

Interview Question: Is it possible to share an HttpSession between a JSP and EJB? What happens when I change a value in the HttpSession from inside an EJB?

Question: What is an Expression tag in JSP?

Question: What is an output comment in JSP?

What are the contents of web module?

Differentiate between .ear, .jar and .war files.

What is Deployment Descriptor?

What is difference between Java Bean and Enterprise Java Bean?

Latest Articles (in Interview)

Comment on this tutorial