I am working on a website that uses a database. I'd like to have the database variables stored somewhere that my classes, jsp pages and action servlets (struts) will be able to access. Currently I have the variables in an interface and am accessing it with my classes but cannot then with jsp pages.
I thought about storing the data in a flat file then having a class be the reader but didn't think that would be very good since everytime a page loads the file would be accessed.
I'm trying to get to the point where an end-user can make changes to the variables without the need for a compile.
Hope i'm making sense out of this.
thanks
I thought about storing the data in a flat file then having a class be the reader but didn't think that would be very good since everytime a page loads the file would be accessed.
I'm trying to get to the point where an end-user can make changes to the variables without the need for a compile.
Hope i'm making sense out of this.
thanks