2007/7/31, Diego Ezquerro <[EMAIL PROTECTED]>: > > 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.
>From the way you formulated the question, I suppose that you are a newbie in webapp development (at least in MVC development), so I suggest you to RTFM: http://struts.apache.org/primer.html http://struts.apache.org/2.0.9/docs/home.html (For Struts 2) http://struts.apache.org/1.3.8/userGuide/index.html (For Struts 1). Antonio