This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
How apache server serves static related information , Usually we place all html ,css,js related files under web root folder of war or ear. This war or ear we place in app server. In this scenario how apache deals with static content.
Yes: You can always place all content in the web server and have Apache HTTPD redirect all requests to the web server.
No: You can always separate out the static content from the dynamic content and have Apache HTTPD server the static contents and redirect only dynamic content requests to the web server. Note that to do this you must carefully design your HTML pages (both the static ones and the ones generated by your servlets/JSPs/Struts/etc) to use the correct URLs because the static content cannot be accessed via relative paths - you now have to treat the static content as coming from a different web site.