You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Ben Bookey <be...@gistec-online.de> on 2005/01/03 13:01:30 UTC
global variables inside a Tomcat JSP-Servlet app.
Dear List,
I hope someone can give some hints to a none java/TC -specialist.
We have a jsp-servlet app, which has some important app variables inside
the web.xml. Because the validation for these parameters is quite complex
we have a single public class with public static setters and getters
available to the all servlets and jsp pages within the application.
We use a context listener to read the parameters, so we can initalise this
public object reading the web.xml
This works fine but I was wondering if there is a better way of doing this
? Would appreciate any
comment. We are using TC 4.0 and 5.0
regards,
Ben
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org