struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael P. Jones" <micha...@boxerlearning.com>
Subject JSP: Getting a Bean
Date Mon, 23 Dec 2002 23:52:30 GMT
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:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message