A
AllIsPossible
Hi,
Sorry if this is a basic, simple, question
I have a bean that retrieves data. I "set a property" for a field in
the bean that I would like to call ("the key") and it brings back the
data I want from the database - yippee!!
Now, I want to change what has been retrieved (using the bean) but it
looks as though before the .jsp is displayed *all* actions associated
with the use of the bean:
<jsp:useBean ...>
<bean:write ...
<jsp:setProperty name="....>
are executed BEFORE the display of the .jsp page (which really turns
into HTML). Is this the case? If so, then the only way that one can
change any data brought into the HTML page is when he/she hits the
SUBMIT button and the page goes to the server? Then, does that mean
that the bean is ONLY good for reading data INTO a page - in other
words, you can come in through the bean but you can't get out through
the bean?
That would be such a bummer :-|
TIA ..
Sorry if this is a basic, simple, question
I have a bean that retrieves data. I "set a property" for a field in
the bean that I would like to call ("the key") and it brings back the
data I want from the database - yippee!!
Now, I want to change what has been retrieved (using the bean) but it
looks as though before the .jsp is displayed *all* actions associated
with the use of the bean:
<jsp:useBean ...>
<bean:write ...
<jsp:setProperty name="....>
are executed BEFORE the display of the .jsp page (which really turns
into HTML). Is this the case? If so, then the only way that one can
change any data brought into the HTML page is when he/she hits the
SUBMIT button and the page goes to the server? Then, does that mean
that the bean is ONLY good for reading data INTO a page - in other
words, you can come in through the bean but you can't get out through
the bean?
That would be such a bummer :-|
TIA ..