WEB-INF folder
Can we place all class files in the WEB-INF folder and all the JSP's outside?
Expert
The class files must place into WEB-INF/classes folder and JSP files must place within a distinct folder. Yes! Else the web server/ application server can’t access classes and jsp files. The java class files can be placed in WEB-INF/lib or WEB-INF/classes. However it is recommended to put the class files in WEB-INF/classes. The server will load files from the class path so it will not matter where the class exist. Yes, class files are private resources, so you may store class in WEB-INF/classes folder. JSP and HTML files must be placed outside. Class files inside the web-inf can’t be access by browsers, while the JSP files are meant for accessible by browsers so that it can be strictly place outside the web-inf only. A structure of web app is given below: web (this folder is reachable from www) Store all JSP and HTML files here WEB-INF (this folder is not reachable) classes (store classes here, classes you are using in jsp lib (store 3rd party jars) i.)Class files -: they must be in WEB-INFclasses directory or you can package the files as JAR and place in WEB-INFlib ii.) JSP files - : Depends how you design your arch. If you have controller who can forward requests to JSPs, can keep them under the WEB-INF directory also. If not, you have to put them outside the WEB-INF. The JMS API is a messaging standard which allows application components based on Java 2 Platform, Enterprise Edition (J2EE) to create, receive, send, and read messages. It allows distributed communication which is lightly coupled, asynchronous and reliable.
Illustrate JDBC abstraction and DAO module?
Illustrate the purpose of the wait(), notify(), and notifyAll() methods?
Describe the advantages of JMS?
hatcher also created the accompanying Level 1 data flow diagram for this process. Unfortunately, this DFD has numerous syntax and semantic errors. Identify the errors. Redraw the DFD to more correctly represent the receive supplier shipments process.
Explain Applet life cycle with suitable example.
Illustrate the method how multithreading take place on a computer with a single CPU?
Illustrate the Core container module?
Elaborate use of the volatile modifier?
What do you mean by a pointer and does Java support pointers?
I need each of these projects to be completed in Alice 2.2 1.Ra Row Your Boat Create a world with a boat, a person sitting in the boat, an island, and a pier located 25 meters from the island. In the world shown below, Ra (Egypt) is sitting in a rowboat (Vehicles). Create a method to make
18,76,764
1940853 Asked
3,689
Active Tutors
1414956
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!