Dear fellow Struts users,
I am new in using Struts and I request your help.
Situation:
I am using Netbeans 6.0; Struts 1.2.9; Tomcat 6.0.14
I created an <html:select property="formatList"> in my jsp page, what is it
does is for sorting purposes.
here's the snippet:
<html:form action="sortList.do">
<html:select property="formatList">
<html:option value="format"/>
<html:option value="DVD+R"/>
<html:option value="DVD-R"/>
</html:select>
<html:submit value="Sort Now"/>
</html:form>
And for my SortListFormBean.java I have a property private String formatList
with Getter and Setter
Problem:
when I am debugging, I found out that formatList property
fromSortListFormBean.java is always equal to null.
I am doing something wrong?
Godbless,
Ryan Webb --Philippines