struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Baetz <>
Subject Accessing a bean on the value stack from within an action
Date Mon, 22 Sep 2008 22:59:21 GMT

i want to save some special settings inside a bean and use them to 
change things on my jsp pages. for that i created a singleton 
usersettingsbean. I know i can create the bean with the help of a 
struts-tag. but how can i access/create the bean from within the execute 
method of an action?

i can access the value stack with the help of the actioncontext, but it 
seems as if i cant add a name to the object i push on the stack (like 

Is anybody able to help me?


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

View raw message