Stupid me...
it seems i was looking at the wrong api docs. Next time i avoid google...

There is a difference between the webworks documentation on opensymphony.com and struts.apache.org. set(string,object) is hopefully the solution of my problem. i'll try it tomorrow.

on the pro side, i solve my own problems. why can't i do that before i send a mail to the list?

Greetings,
Alexander

Alexander Baetz schrieb:
Hi,

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 #page).

Is anybody able to help me?

Greetings,
Alexander

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



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

Reply via email to