You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Charlemagne L. Rey" <bo...@operamail.com> on 2001/04/11 01:31:52 UTC

your suggestion for my output presentation

hello everybody,

i have this situation:

1.) I have database for addresses.
2.) I have a class that manages this database using JDBC.
3.) I initializes the database manager thru the servlet.
4.) I would like to provide a search for nicknames in the database.

this is what I did:

1.) I have an ActionForm class that will get the nickname to be search.
2.) I have an Action class that will search the nickname from the database
    manager. In the perform() method, I could get all the entries having
    the nickname that I am looking.

my problem:
1.) I do not know how to publish the results.
2.) If I have to create a bean and set its value in the perform() method
    of my Action class, where shall I create the bean so that I could
    access it inside the said method?
3.) I would like to use the iterate taglib, how could I access the bean
    that I set in the #2?

Re: your suggestion for my output presentation

Posted by Levi Cook <lc...@gr.com>.
My documentation is not finished, but I have an application that performs
very similar functions to those you outline below.

If you interested, feel free to download the souce and check it out.. If you
have questions, feel free to contact me directly too.

http://www.papajo.com/struts

Regards,
Levi Cook


----- Original Message -----
From: "Charlemagne L. Rey" <bo...@operamail.com>
To: "Jakarta Struts Users" <st...@jakarta.apache.org>
Sent: Tuesday, April 10, 2001 6:31 PM
Subject: your suggestion for my output presentation


> hello everybody,
>
> i have this situation:
>
> 1.) I have database for addresses.
> 2.) I have a class that manages this database using JDBC.
> 3.) I initializes the database manager thru the servlet.
> 4.) I would like to provide a search for nicknames in the database.
>
> this is what I did:
>
> 1.) I have an ActionForm class that will get the nickname to be search.
> 2.) I have an Action class that will search the nickname from the database
>     manager. In the perform() method, I could get all the entries having
>     the nickname that I am looking.
>
> my problem:
> 1.) I do not know how to publish the results.
> 2.) If I have to create a bean and set its value in the perform() method
>     of my Action class, where shall I create the bean so that I could
>     access it inside the said method?
> 3.) I would like to use the iterate taglib, how could I access the bean
>     that I set in the #2?