tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ralph Einfeldt" <>
Subject AW: urgent help please!
Date Fri, 02 Aug 2002 09:02:58 GMT
I just can provide some suggestions that might 
help to identify the problem.

- compare the hashcode of the object that is stored as 
  attribute between your servlet and the jsp.
- allow the setting of iMaxBookmarks only through 
  an accessor. Log each access through the accessor.

How does the code look like when you store and 
retrieve the attribute? 

Ralph Einfeldt
Uptime Internet Solution Center GmbH
Hamburg, Germany
Hosting, Content Management, Java Consulting 

> -----Urspr√ľngliche Nachricht-----
> Von: Richard Diaz []
> Gesendet: Freitag, 2. August 2002 10:38
> An:
> Betreff: urgent help please!
> This servlet creates and sets the values for an
> application scope object called TwcMaxes. I have
> verified that my TwcMaxes object is created in the
> application scope and its values are set
> (TwcMaxes.iMaxBookmarks = 3). 
> However once TOMCAT is done booting and when I go to
> reference the value in a JSP page OR in another
> servlet the value for TwcMaxes.iMaxBookmarks is 0
> (zero). 

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message