RE: Session Attributes Lost!! (UPDATE)

2002-05-01 Thread KIRKLAND,BRIAN (HP-PaloAlto,ex1)

Ok. So I wanted to eliminate the user-error variable so I ported my web-app
to Tomcat. The issue is not there on Tomcat. Yet again, another BV bug.

Anyone out there use struts on BV? This is the 3rd bug I have had to face.
1. BV does not return correct info from getServletContext() = worked around
2. BV does not put the user's Locale preferences in the right header
(Accept-Language) = worked around.
3. This one! = hoping to work around.

I would if I could (answer to those people saying "get off BV!").

Thanks.

~Brian Kirkland 
Advanced Technologies Group 
Hewlett-Packard 
(858) 655-4657 

Disclaimer: Any errors in spelling, tact, or fact are transmission errors. 
 


-Original Message-
From: KIRKLAND,BRIAN (HP-PaloAlto,ex1) [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, May 01, 2002 9:36 AM
To: '[EMAIL PROTECTED]'
Subject: Session Attributes Lost!!


Hi,
 
I am using the latest version of struts and noticing a very weird issue.
Please let me know if you have any ideas or have seen this before
 
On the first JSP page I add click a link and initiate an action (A). This
action puts the user key into the session attributes. On success, the
response is forwarded to the second JSP page. The second JSP page has
another link that when clicked another action (B) is initiated. Action B
takes the User key from the session and performs some business logic. The
problem is that when I get to the Action B class, the user key is no longer
in the session. I verified that I am adding the item to the session itself
and not the request. I also verified that none of my code removes ANYTHING
from the attribute list. 
 
Any ideas? Is there some way to configure Struts or the servlet API to clear
out the session attributes? If there is, I need to make sure I am not doing
that!
 
I should say that I am forced to run my app in BroadVision's servlet
container. Hopefully this is not ANOTHER BV bug, but is user error.
 
Thanks.
 
brian kirkland
hp

Disclaimer: Any errors in spelling, tact, or fact are transmission errors.

 

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




Session Attributes Lost!!

2002-05-01 Thread KIRKLAND,BRIAN (HP-PaloAlto,ex1)

Hi,
 
I am using the latest version of struts and noticing a very weird issue.
Please let me know if you have any ideas or have seen this before
 
On the first JSP page I add click a link and initiate an action (A). This
action puts the user key into the session attributes. On success, the
response is forwarded to the second JSP page. The second JSP page has
another link that when clicked another action (B) is initiated. Action B
takes the User key from the session and performs some business logic. The
problem is that when I get to the Action B class, the user key is no longer
in the session. I verified that I am adding the item to the session itself
and not the request. I also verified that none of my code removes ANYTHING
from the attribute list. 
 
Any ideas? Is there some way to configure Struts or the servlet API to clear
out the session attributes? If there is, I need to make sure I am not doing
that!
 
I should say that I am forced to run my app in BroadVision's servlet
container. Hopefully this is not ANOTHER BV bug, but is user error.
 
Thanks.
 
brian kirkland
hp

Disclaimer: Any errors in spelling, tact, or fact are transmission errors.