I have a jsp application that I want the user to be able to customize by editing values in a text file. For example, changing names of image files and changing text that appear on various pages. I want these options to be read in and available to the jsp code every time the page is loaded. I've tried several approaches. The file contains java String variable declarations.
When I use "%@ include file=", changed options only get read in if I make a change to the jsp page that requires a recompilation of the page (I understand that's by design.)
When I use "jsp:include page=" I receive a servlet error saying that the variable is undefined when I try to reference one of the options stored in the file.
Can somebody tell me the best way to accomplish this simple task?
When I use "%@ include file=", changed options only get read in if I make a change to the jsp page that requires a recompilation of the page (I understand that's by design.)
When I use "jsp:include page=" I receive a servlet error saying that the variable is undefined when I try to reference one of the options stored in the file.
Can somebody tell me the best way to accomplish this simple task?