If we want to separate our web server and application server, do we need java on both machines? I had one employee who said to install jboss on both machines (this seems to defeat the goal if both machines have an installed application server) and the other says that just install jboss on one and apache on the other (application / web server -server).
I already have a web project setup and it uses servlets and JSP. JSPs display content while servlets perform an action. Servlets receive requests and redirect responses to the JSP. My question is: how to do this if the web server has only apache and therefore displays static content? I understand how to redirect requests from the web server to the application server, but what about saving the session state, is this done on the web server, and if so, how to do it?
If the login page is html and the content after html is logged in, then how can I prevent users from accessing the content if they are not logged in?
ravun source
share