Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts 2 »

Populate jsp form from a DB

Diego Ezquerro

2007-07-31

Replies:

Hi to everyone.

I need to populate a dropdown list in a Jsp page taking the data from a MySQL database.
Is there any other way (more elegant) to do this than writing a bean that stores information and then use it from the JSP page? using struts tags or something like this?
I have red that is a better way using custom tags than use JavaBeans within a JSP.

Thanks for the answers.



__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis!
Regístrate ya - http://correo.espanol.yahoo.com/
©2008 junlu.com - Jax Systems, LLC, U.S.A.