title: JSP Page Forwarding: Relative URL Issues?
body: <p>I have a bit of an issue for my JSP site.</p>
  
  <p>I have it divided into three sections: a main folder within which a "resources" and an "actions" folder are. I house the files which show the site in the main folder, and validaton and action files in the "actions" folder.</p>
  
  <p>Upon entering a site, a user must login. I validate whether a user is registered and their password is valid via a script in "actions". From this script, I <code>jsp:forward</code> the appropriate script for the user's login information, that is, the login screen if it is invalid, or the home page if it is valid.</p>
  
  <p>It startles me when, by <code>jsp:forward</code>ing the home page, it can't access the CSS as it thought it was still in the "actions" directory, whereas I know it is in the main folder and thus could access a file within the "resources" folder via "./resources/".</p>
  
  <p>My question is, can I use another mechanism to set the page to the home page, or am I limited to using <code>jsp:forward</code> and thus have to deal with the relative URLs thinking we are in "actions"?</p>
  
  <p>Thanks for any advice!</p>