tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ben Bookey" <ben.boo...@gistec-online.de>
Subject global variables inside a Tomcat JSP-Servlet app.
Date Mon, 03 Jan 2005 12:01:30 GMT

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


Mime
View raw message