You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Arnost Foo <av...@seznam.cz> on 2003/07/01 13:42:14 UTC

Display table contents

Hi everybody,

I'm trying struts, it works fine but I hava one problem:

*
Simply said: I want to se result of "select * from table1" in web
page.
*

I can do simple things like connectiong to server, selecting data,
displaying data, etc.

But I don't know how to make it in struts. 
What should be in
 JSP page  - how can I inlude result of select, maybe some iterator? 
 ActioClass - database code, insert data into some bean?
 any JavaBean - should it extend ActionForm? 


This is so simple, thousands of people had this question before. But
I can't find help in struts-user list archive. Goodle finds so much
pages about Struts, none helps.

If you have some link to archive or web page, please answer.


Thanks

Arnost

______________________________________________________________________
Reklama:
Dej volny den svym brylim a prozij leto naplno. Kup baleni cocek Focus DAILIES za akcni cenu a získej 10 cocek ZDARMA! http://ad2.seznam.cz/redir.cgi?instance=55767%26url=http://www.cz.cibavision.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


RE: Display table contents

Posted by Yuriy Zubarev <yu...@yahoo.ca>.
Take a look at http://sourceforge.net/projects/htmltable ("home page" link
will take you to examples).

Yuriy ZUbarev

-----Original Message-----
From: Arnost Foo [mailto:avml@seznam.cz]
Sent: July 1, 2003 4:42 AM
To: struts-user@jakarta.apache.org
Subject: Display table contents


Hi everybody,

I'm trying struts, it works fine but I hava one problem:

*
Simply said: I want to se result of "select * from table1" in web
page.
*

I can do simple things like connectiong to server, selecting data,
displaying data, etc.

But I don't know how to make it in struts.
What should be in
 JSP page  - how can I inlude result of select, maybe some iterator?
 ActioClass - database code, insert data into some bean?
 any JavaBean - should it extend ActionForm?


This is so simple, thousands of people had this question before. But
I can't find help in struts-user list archive. Goodle finds so much
pages about Struts, none helps.

If you have some link to archive or web page, please answer.


Thanks

Arnost

______________________________________________________________________
Reklama:
Dej volny den svym brylim a prozij leto naplno. Kup baleni cocek Focus
DAILIES za akcni cenu a získej 10 cocek ZDARMA!
http://ad2.seznam.cz/redir.cgi?instance=55767%26url=http://www.cz.cibavision
.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org