Hi everybody,
I have to use in a
JSP page a form with 2 select tags.
The select tags should get their values from 2 different queries.These queries ask the same table of database but 2 different fields.The first query should work like:
"SELECT DISTINCT(field1) FROM table)".
The second query should work like:
"SELECT DISTINCT(field2) FROM table".
How can I make this?Should I use 2 different
struts Action?Does anybody know some example?
Of course,I already wrote the getter and setter methods in the Action Form class.I also need to know if I have to write something special in struts-config.xml file.
I need some example before Tuesday if it is possible.
Thanks in advance,
Mattia