Hi,
I have a bit of an issue for my JSP site.
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.
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 jsp:forward
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.
It startles me when, by jsp:forward
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/".
My question is, can I use another mechanism to set the page to the home page, or am I limited to using jsp:forward
and thus have to deal with the relative URLs thinking we are in "actions"?
Thanks for any advice!