You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Michael P. Jones" <mi...@boxerlearning.com> on 2002/12/24 00:52:30 UTC

JSP: Getting a Bean

Hello-

I have been using Struts for about a year now, however I have only used it 
with Stxx. All of these taglibs are new to me.

I'm certain this is a very basic question but I have yet to figure it 
out...

I have an Object in a FormBean I want to pull the Object from the FormBean
and then get another object from that Object. Once I get the second object
I want to get values from it.


PageObject po = _formBean.getPageObject();

QuestionObject qo = po.getQuestionObject();

String questionText = qo.getText();

How do I do this with JSP? Can you point me in a direction that will
explain this or just post a code clip?

Thanks in advance-
Michael



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>