En l'instant précis du 08/03/07 15:05, Alicia Sánchez-Mora s'exprimait en ces termes: > > > I have the class Window to initialize the GUI and I call (locally) an > instance of this class from my service class. The problem, or at least > what I think the problem is, is that every time I make a call the service > container unloads my class and nothing (related to my window) is > initiallized. The idea is to run my window only one time, when tomcat > starts. To do that I should specify somehow on the web.xml file to do > this: > write a jsp class, put it somewhere and call the initialization of the > window.. Shouldn't the GUI be on the *client* side instead of the *server* side? If you want to initialize something at webapp startup, you have 2 solutions 1) a servlet with load on startup 2) a context listener > > Any more concrete suguestion or solutions? > > Thanks in advance, > > Alicia >
--------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]