There is also a predefined folder structure for a Web application.That structure is shown in Figure
The main aspects of a Web application are as follows:
It is worth commenting about the location of your class and JAR files at this point.You can put classes into the classes folder and JARs into the lib folder, as referred to earlier, but there are reasons for not putting them in those locations for certain specific situations. The benefit of putting them in those locations is that the Web application becomes self-contained, in that all the required classes and libraries are within the application. The reality is, however, that on some occasions they need to be placed within the classpath for the Web container itself.
The reasons for using these global locations for JAR files include
After an application has been built, a number of deployment methods exist
|
|
JSP Related Interview Questions |
|
---|---|
J2EE Interview Questions | Core Java Interview Questions |
JDBC Interview Questions | Java Servlets Interview Questions |
Hibernate Interview Questions | JavaServer Faces (JSF) Interview Questions |
JSTL(JSP Standard Tag Library) Interview Questions | JBOSS Interview Questions |
Log4j Interview Questions | NHibernate Interview Questions |
Apache Struts 2 Interview Questions |
All rights reserved © 2020 Wisdom IT Services India Pvt. Ltd
Wisdomjobs.com is one of the best job search sites in India.