Is classes folder is compulsory in web-inf/ even though u r
deploying ur application with war file?

Answers were Sorted based on User's Feedback



Is classes folder is compulsory in web-inf/ even though u r deploying ur application with war file..

Answer / raju aet

Yes ,classes folder is compulsory in web-inf folder
irrespective of the archive file(.war/.ear files).

Is This Answer Correct ?    5 Yes 0 No

Is classes folder is compulsory in web-inf/ even though u r deploying ur application with war file..

Answer / ravikiran

yes every rule remains the same except there is manifest.mf
file inside META-INF folder which is just under the web
application context root

Is This Answer Correct ?    2 Yes 1 No

Is classes folder is compulsory in web-inf/ even though u r deploying ur application with war file..

Answer / azeem

yes its a mandatory folder. when you create your java files
and compile classes folder will be automatically created in
the web-inf folder.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Servlets Interview Questions

can we override service method in my servlet class..?? if yes or no why ??

7 Answers   IBM,


Can filter be used as request or response?

0 Answers  


difference between forward and sendredirect

6 Answers   Accenture,


Explain the differences between jsp and servlet.

0 Answers  


What are Servlets?

0 Answers  






What is servlet and its life cycle?

0 Answers  


What is context switching?

6 Answers  


What is the difference between ExecuteUpdate and ExecuteQuery?

4 Answers  


What is the use of welcome-file-list?

0 Answers  


My Question is that i am using <image> tag in my servlet and after compilation after that calling by url in my browser then images are not showing. Sometime images are showing and sometime is not showing. I am using Tomcat to run my servlets. Tell me if there any specification for image in servlets or what is solution for this ??

2 Answers  


How do u authorize and authenticate without <auth> of web.xml

1 Answers   Bosch,


How do we translate jsp?

0 Answers  


Categories